Skip to main content

PUT /rows

Description

Updates data for a specific row (swimlane) and returns an empty JSON object.

This route processes an HTTP PUT request sent to the /rows/{id} endpoint.

Path parameters

The following parameter is included in the request URL:

NameTypeDescription
idnumberRequired. The ID of the row (swimlane) that needs to be updated.

Payload

The server expects a JSON object containing all properties of the row, including both unchanged and updated fields.

NameTypeDescription
labelstringRequired. The name of the row to update.
collapsedbooleanOptional. Indicates whether the row is collapsed initially (true) or expanded (false, which is the default).

Example:

{
"row": {
"label": "Row 1",
"collapsed": false,
}
}

For another example of the row object, see the rows section.

Response

Upon a successful update, the server responds with an empty JSON object.

The HTTP status code reflects the outcome: a status of 200 means the request was successful, while 500 indicates a failure.


Related articles: Working with server