Assigns a report to a table of a project. The report is added at the end of the table's reports.
Required role: ORG_EDITOR, and the current user must have the MODIFY permission on the project.
Fields
| Field | Required | Description |
|---|---|---|
reportId | Yes | The id of a report of the table's data source. |
Response
201 with the report id in result. Its URL is also in the Location header.
When it fails
400 if reportId is missing or empty, if the report isn't a report of the table's data source in your organization, or if the report is already assigned to the table.
Report assignments
Reports are created on a data source (POST .../datasources/{datasource}/reports). Assigning a report to a table makes it available on the table's rows in the project. A table can have several reports, in a display order.
- The report must be a report of the table'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 table removes the assignment. Copying a project copies its tables, without their report assignments.
Organization and project
organization must be the organization of the access token, and the project must belong to it. The table must belong to the project; otherwise the request returns 404.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||