POST /api/v1/document/document-field-categories/
Changed onCreate DocumentFieldCategory
Params:
- document_type: uid
- name: str - Verbose name for field category, max 100 symbols
- order: int
- fields: array of field uids
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "name",
"id": 0,
"fields": [
"fields",
"fields"
],
"fields_number": 1,
"document_type": "document_type",
"order": 441289069
}Response
Example response
{
"name": "name",
"id": 0,
"fields": [
"fields",
"fields"
],
"fields_number": 1,
"document_type": "document_type",
"order": 441289069
}Changes
- breaking
the
/request property type changed from no type tostring(media type: application/json) - breaking
the response property
became nullable for the status - breaking
the
/response's property type changed from no type tostringfor status - info
the request property
became nullable (media type: application/json) - info
the request property
became nullable (media type: application/x-www-form-urlencoded) - info
the request property
became nullable (media type: multipart/form-data) - info
the
/request property type was generalized from no type tostring(media type: application/x-www-form-urlencoded) - info
the
/request property type was generalized from no type tostring(media type: multipart/form-data)
- breaking
- breaking
the request property
became not nullable (media type: application/json) - breaking
the request property
became not nullable (media type: application/x-www-form-urlencoded) - breaking
the request property
became not nullable (media type: multipart/form-data) - breaking
the
/request property type changed fromstringto no type (media type: application/json) - breaking
the
/response's property type changed fromstringto no type for status - info
the
/request property type was generalized fromstringto no type (media type: application/x-www-form-urlencoded) - info
the
/request property type was generalized fromstringto no type (media type: multipart/form-data)
- breaking