GET /columns
Description
Retrieves information about all columns and returns a JSON object containing an array of column data.
This route processes HTTP GET requests sent to the /columns
endpoint.
Payload
No payload needs to be sent.
Response
The response includes a JSON object with an array of column data objects.
Example:
[
{
"id": 1,
"label": "Backlog",
"collapsed": false
},
{
"id": 2,
"label": "In Progress",
"collapsed": false
},
{
"id": 3,
"label": "Testing",
"collapsed": false
},
{
"id": 4,
"label": "Done",
"collapsed": false
}
]
A different example of the returned object can be found in columns.
The HTTP status code indicates if the request was successful (response.status == 200) or if it failed (response.status == 500).
Related articles: