API Documentation
|
where {organisationId}
is the ID of an organisation.
POST
- exports/downloads a list of information for all API-based requests made to the Cocoon Data Platform's Access Service, within the scope of an organisation (specified by organisationId
).This API endpoint exports/downloads a list of field information for all API-based requests made to the Cocoon Data Platform's Access Service, within the scope of an organisation (specified by organisationId
).
This API endpoint supports requests utilizing Cocoon Data user accounts with the following roles (as described in the Organisation Administrator's Guide) and conditions:
{organisationId}
of the request's URL.The Cocoon Data Platform's resources available to a Cocoon Data user meeting the criteria above is determined by the access token submitted in the header of requests to this endpoint.
The appropriate access token as the Bearer
token:
Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE0NjcwMTY2NjYsInVzZXJfbmFtZSI6ImFsZXgub...
The following header is required if the body of the request has form URL-encoded data in the body:
Content-Type: application/x-www-form-urlencoded
The following optional parameters can be sent in the body of the request (as form URL-encoded data):
DD/MM/YYYY
, where each '/
' sign is escaped (%2F
). CREATED
- for API-based POST
method requests, RETRIEVED
- for API-based GET
method requests, UPDATED
- for API-based PUT
method requests, DELETED
- for API-based DELETE
method requests. AUTH
- for API-based requests relating to authentication and authorization, COLLABORATIONS
- for API-based requests relating to collaborators, COLLECTIONS
- for API-based requests relating to folders, CONTACTS
- for API-based requests relating to contacts, KEYS
- for API-based requests relating to keys, NOTIFICATIONS
- for API-based requests relating to email notifications, OBJECTS
- for API-based requests relating to file objects, USERS
- for API-based requests relating to users. exportFormat - Specify the enumeration (enum) value of csv
to export/download the report in CSV format or pdf
to export/download the report in PDF format. If this parameter is omitted, then its value is csv
by default.
{organisationId}
in this request's URL) returned in the response. This value works similarly to the offset parameter, utilized when retrieving API-request reports in JSON format (via request to the <access-service>/api/v1/organisations/{organisationId}/audit API endpoint). If the request succeeded, then an HTTP response status 200 OK
is returned.