PUT
/
documents
/
{documentId}
curl --request PUT \
  --url https://api.conteudo.rdstationmentoria.com.br/rest/documents/{documentId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "stats": {
    "words": 0,
    "paragraphs": 0,
    "sentences": 0,
    "characters": 0
  },
  "link": "<string>",
  "kbs": [],
  "content": "<string>"
}'
"<any>"

Authorizations

Authorization
string
header
required

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

Path Parameters

documentId
string
required

Body

application/json

Response

200
application/json

Successful response

The response is of type any.

PUT
/
documents
/
{documentId}
curl --request PUT \
  --url https://api.conteudo.rdstationmentoria.com.br/rest/documents/{documentId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "stats": {
    "words": 0,
    "paragraphs": 0,
    "sentences": 0,
    "characters": 0
  },
  "link": "<string>",
  "kbs": [],
  "content": "<string>"
}'
"<any>"

Authorizations

Authorization
string
header
required

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

Path Parameters

documentId
string
required

Body

application/json

Response

200
application/json

Successful response

The response is of type any.