put
https://api.jmapcloud.io/api/mcs/rest/v1/organizations//projects//layers//reports-order
Sets the display order of the reports assigned to a layer.
Required role: ORG_EDITOR, and the current user must have the MODIFY permission on the project.
ids is the complete list of the report ids of the layer (the id of each item returned by GET .../layers/{layer}/reports), in the new order. Each id must appear exactly once: a missing, unknown or repeated id returns 400. A layer without reports can't be ordered (ids can't be empty).
Response
result is the list of the report ids, in the new order.
Organization
organization must be the organization of the access token, and the project must belong to it; otherwise the request returns 404.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…