A section object contains information about a section. It contains relationships to the board.
An example of a section object is displayed below.
{
"id": "sec_xPdL4geL0PReqpwK",
"type": "section",
"attributes": {
"sortIndex": 1689631064,
"title": "Section 1",
"createdAt": "2023-07-17T21:57:44Z",
"updatedAt": "2023-07-17T21:57:44Z"
},
"relationships": {
"board": {
"data": {
"id": "3pbz27udysdf57mg",
"type": "board"
}
}
}
}
Section object properties
Properties | Type | Description |
---|---|---|
id | string | Section ID |
type | string | Always "section" . |
attributes.title | string | Title of the section |
attributes.sortIndex | int | Order of the section. Sections are sorted in increasing sortIndex . |
attributes.createdAt | string | Date and time when this section was created. Formatted as an ISO 8601 date time string. |
attributes.updatedAt | string | Date and time when this section was updated. Formatted as an ISO 8601 date time string. |
relationships.board | object | Board relational object containing only type and id as per JSON:API specification. |