Athento has a REST API, so responses are equivalent to standard HTTP response codes.
The types of responses are those found at the following link https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
Each response has a content depending on the call that has been made, for example, the response of error 500, contains in json format, a field "msg" with the error message.
The following is an example of a response for the creation of a document
{
"uid": "75796ed0-41c8-43ec-bbd7-e7ca2d19e463",
"repository": "default",
"isCheckedOut": true,
"parentRef": "",
"path": "",
"isProxy": false,
"changeToken": "1556609127418",
"title": "Titulo doc",
"lastModified": "2019-06-12T23:19:57.883232Z",
"facets": [],
"entity-type": "document",
"state": "project",
"isVersion": false,
"type": "File"
}
Comments
0 comments
Please sign in to leave a comment.