GET
/
documents
/
{documentId}
curl --request GET \
  --url https://api.conteudo.rdstationmentoria.com.br/rest/documents/{documentId} \
  --header 'Authorization: Bearer <token>'
{
  "documentId": "<string>",
  "userId": "<string>",
  "workspaceId": "<string>",
  "status": "draft",
  "name": "<string>",
  "search": "<string>",
  "link": "<string>",
  "stats": {
    "words": 0,
    "paragraphs": 0,
    "sentences": 0,
    "characters": 0
  },
  "kbs": [],
  "createdAt": 123,
  "updatedAt": 123,
  "content": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

documentId
string
required

Response

200
application/json

Successful response

The response is of type object.

GET
/
documents
/
{documentId}
curl --request GET \
  --url https://api.conteudo.rdstationmentoria.com.br/rest/documents/{documentId} \
  --header 'Authorization: Bearer <token>'
{
  "documentId": "<string>",
  "userId": "<string>",
  "workspaceId": "<string>",
  "status": "draft",
  "name": "<string>",
  "search": "<string>",
  "link": "<string>",
  "stats": {
    "words": 0,
    "paragraphs": 0,
    "sentences": 0,
    "characters": 0
  },
  "kbs": [],
  "createdAt": 123,
  "updatedAt": 123,
  "content": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

documentId
string
required

Response

200
application/json

Successful response

The response is of type object.