List the reports of a layer

Returns the reports assigned to a layer of a project, in their display order.

Required role: ORG_VIEWER, and the current user must have the VIEW permission on the project.

Each item has the report's id, name, type (SIMPLE or MULTIPLE) and mapComponent (size of the map frame, absent when the report has no map). Use GET .../datasources/{datasource}/reports/{report} for the whole report.

Locale (locale)

Without locale, name is an object by locale. With locale (en, fr, es), name is a single string in that locale, or in the project's default language when it has no text in that locale. A code that isn't a known language returns 400.

Report assignments

Reports are created on a data source (POST .../datasources/{datasource}/reports). Assigning a report to a layer makes it available on the layer's features in the project. A layer can have several reports, in a display order.

  • Only vector layers (VECTOR, OGC_API_FEATURES) can have reports.
  • The report must be a report of the layer's data source, owned by your organization. The reports of a data source shared by another organization can't be assigned.
  • Deleting the report or the layer removes the assignment. Copying a layer ("action": "clone") copies its assignments, in the same order.
  • A referenced layer has its own assignments: it doesn't use those of its source layer.

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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Id of your organization (must match the access token)

uuid
required

Id of the project

uuid
required

Id of the layer (a layer of the project)

Query Params
string

Language of the texts, such as en, fr or es. Without it, name is returned for all locales.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json