Create a document
Create a new document or directory within a project.
Documentation Index
Fetch the complete documentation index at: https://docs.gorules.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Personal access token is obtained through your profile
Path Parameters
Project unique identifier
Body
Document name
"Sample document"
Document type (file or directory)
f, d, e Content MIME type for files
Initial document content
Default test event context
Parent directory key path
Allow duplicate names
Document metadata
Source document key to copy content from
Response
Newly created document
Newly created document
Document unique identifier
Materialized lowercase path based on the name
Materialized path based on the name
Document name
Document type (file, directory, or external file)
f, d, e Project ID
Document metadata
Content MIME type
Document size in bytes
Parent document ID
Currently published version ID
Publication timestamp
User who published the document
Published version details
Document versions
Pending change requests
Document view configuration
Last update timestamp
Deletion timestamp if soft deleted