Create ApiTokens
Changed onPOST request to create a new object. The request must contain the resource record as data with the attributes of the new object.To add relationships, a relationships object can be added with the resource records of the relations that are part of this object.
Request
- Base URLhttps://docs.hashtopolis.org
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
successful operation
Example response
{
"data": {
"id": 1,
"relationships": {
"user": {
"data": {
"id": 1
}
}
}
},
"included": [
{
"id": 1
}
]
}Changes
- breaking
the
///request property type changed fromintegertostring
- breaking
- breaking
added the new required request property
// - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - info
added the required property
//to the response with the status
- breaking