Sections

Create a section

Changed on

Create a new section.

post/api/v2/sections

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/sections
  • Auth
    none declared

Request body

Example request

{
  "data": {
    "type": "sections",
    "attributes": {
      "name": "Design Phase",
      "position": 1
    },
    "relationships": {
      "deal": {
        "data": {
          "type": "deals",
          "id": "89"
        }
      }
    }
  }
}

Response

Single section

Example response

{
  "data": {
    "id": "45",
    "type": "sections",
    "attributes": {
      "name": "Design Phase",
      "position": 1,
      "preferences": {},
      "editor_config": {}
    },
    "relationships": {
      "deal": {
        "data": {
          "type": "deals",
          "id": "89"
        }
      }
    }
  },
  "included": []
}

Changes

    • warning

      added the new bad_decimal_format enum value to the // response property for the response status

    • warning

      added the new non_finite_number enum value to the // response property for the response status

    • warning

      added the new null_bytes_in_params enum value to the // response property for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      the // response's property type changed from object to no type for status

    • breaking

      the // response's property type changed from object to no type for status

    • warning

      deleted the header request parameter X-Organization-Id

    This list may be incomplete.