Tasks
Create Tasks
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.
post/api/v2/ui/tasks
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": {
"assignedAgents": {
"data": [
{
"id": 1
}
]
},
"crackerBinary": {
"data": {
"id": 1
}
},
"crackerBinaryType": {
"data": {
"id": 1
}
},
"files": {
"data": [
{
"id": 1
}
]
},
"hashlist": {
"data": {
"id": 1
}
},
"speeds": {
"data": [
{
"id": 1
}
]
}
}
},
"included": [
{
"id": 1
}
]
}Changes
- breaking
the response property
////became nullable for the status - info
added the required property
////to the response with the status - info
added the required property
////to the response with the status
- breaking