GET /columns
Description
Retrieves data for all columns and returns a JSON object containing an array of column data objects.
This route responds to an HTTP GET request sent to the /columns endpoint.
Payload
No payload needs to be sent.
Response
The response is a JSON object that includes 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
}
]
For another example of the returned object, check out columns.
The HTTP status code indicates whether the request was successful (response.status == 200) or encountered an error (response.status == 500).
Related articles: