Document

Get document by ID

Retrieve a specific document by its ID

get/api/v1/document/space/{space_id}/{identifier}

Request

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

Path parameters

space_idstring required

Path parameter: SpaceId

identifierstring required

Path parameter: Identifier

Response

Successful response

created_atTime
documentstring
metadataobject
namestring
parent_idstring
publicboolean
slugstring
space_idstring
updated_atTime

Example response

{
  "content": [
    {
      "props": {
        "boolean_key": true,
        "number_key": 42,
        "string_key": "string_value"
      }
    }
  ],
  "metadata": {
    "boolean_key": true,
    "number_key": 42,
    "string_key": "string_value"
  },
  "parent": {
    "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.