Skip to main content

GET /columns

Description

Gets data on all columns and returns a json object with an array of objects with columns data

The route handles the HTTP GET request made to the /columns path.

Payload

No payload is required.

Response

The route returns a json object with an array of objects with columns data.

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, go to columns.

The HTTP status code shows whether the request succeeds (response.status == 200) or fails (response.status == 500).


Related articles: