API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola

POST /v1/dms/documents/{id}/comments

POST/v1/dms/documents/{id}/comments

Create a comment on a DMS document

Cuerpo de la solicitud

NombreTipoDescripción
bodyobligatoriostring
parentCommentIdstring
annotationIdstring
mentionsstring[]

Parámetros de ruta

NombreTipoDescripción
idobligatoriostring

Ejemplo

curl -X POST https://api.codemeta-os.de/v1/dms/documents/{id}/comments \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "body": "string",
  "parentCommentId": "string",
  "annotationId": "string",
  "mentions": []
}'
const result = await cm.dms.post({
  "body": "string",
  "parentCommentId": "string",
  "annotationId": "string",
  "mentions": []
});

Códigos de respuesta

HTTP Significado
200 Default Response

Búsqueda