Document

Create a new document

Create a new document in a specified space

post/api/v1/document/space/{space_id}

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Path parameters

space_idstring required

Path parameter: SpaceId

Request body

parent_idstring

Response

Successful response

Example response

{
  "Document": {
    "content": [
      {
        "props": {
          "boolean_key": true,
          "number_key": 42,
          "string_key": "string_value"
        }
      }
    ],
    "metadata": {
      "boolean_key": true,
      "number_key": 42,
      "string_key": "string_value"
    }
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.