Get Document

GET /api/v1.0/docs/{document_id}

This endpoint fetch a particular document based on document id.

Path parameters

Responses

GET /api/v1.0/docs/{document_id}
curl \
 -X GET https://openapi.niftypm.com/api/v1.0/docs/{document_id} \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "id": "string",
  "name": "string",
  "access_type": "string",
  "type": "string",
  "subtype": "string",
  "external_id": "string",
  "content": {},
  "author": "string",
  "project_id": "string",
  "tasks": [
    "string"
  ],
  "archived": true,
  "members": [
    {
      "id": "string",
      "permission": "string",
      "is_author": true,
      "active": true,
      "last_seen": "2023-05-04T09:42:00+00:00",
      "last_edited": "2023-05-04T09:42:00+00:00"
    }
  ],
  "discussion_keys": [
    "string"
  ],
  "public_token": "string",
  "share_token": "string",
  "created_at": "2023-05-04T09:42:00+00:00",
  "comments": 42.0,
  "hasAccess": true,
  "labels": [
    "string"
  ],
  "folder": "string",
  "order": 42.0,
  "multipage": true,
  "parent_doc_id": "string"
}