GET
/
documents
curl --request GET \
  --url https://api.conteudo.rdstationmentoria.com.br/rest/documents \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "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
    }
  ],
  "cursor": "<string>"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

limit
cursor
all
status
enum<string>
default:draft
Available options:
draft,
completed

Response

200
application/json

Successful response

The response is of type object.

GET
/
documents
curl --request GET \
  --url https://api.conteudo.rdstationmentoria.com.br/rest/documents \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "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
    }
  ],
  "cursor": "<string>"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

limit
cursor
all
status
enum<string>
default:draft
Available options:
draft,
completed

Response

200
application/json

Successful response

The response is of type object.