Supertasks

Create Supertasks

Changed on

POST 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/supertasks

Request

Request body

Response

successful operation

Example response

{
  "data": {
    "id": 1,
    "relationships": {
      "pretasks": {
        "data": [
          {
            "id": 1
          }
        ]
      }
    }
  },
  "included": [
    {
      "id": 1
    }
  ]
}

Changes

    • breaking

      added the new required request property //

    • info

      added the required property // to the response with the status