Skip to main content

PUT /rows

Description

Updates data on a specified row (swimlane) and returns an empty json object

The route handles the HTTP PUT request made to the /rows/{id} path.

Query parameters

The next parameter is sent in the request line:

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

Payload

The server needs to receive a json object with all row properties (both unchanged and new/modified).

NameTypeDescription
labelstringRequired. The name of the row to be updated.
collapsedbooleanOptional. The state of the row: true if the row is collapsed initially and false for the expanded state (default).

Example:

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

You can find another example of the row object in the rows section.

Response

In case of the success status, an empty json object is returned back.

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


Related articles: Working with server