GET user/…/catalogs
Retrieves all catalogs that the user may access.
Resource URL
https://www.drillster.com/api/2.1.1/user/{user_id}/catalogs
Parameters
Field | Type | Description |
---|---|---|
user_id required |
String | The user ID to retrieve the available catalogs for. Only the own user ID or the word self are supported. |
query optional |
String | An optional query to filter the results. |
resultFrom optional |
String | The id of the last element from the previous page. Use this parameter, in combination with resultSize , to apply pagination of the result; it will limit the number of tests included in the result. If it is not specified, the first page will be displayed. |
resultSize optional |
Integer | The maximum number of tests to include in the result. If not specified, a maximum of 10 tests are returned. |
Response
A 2.1.1 Catalogs object.
Error responses
The following error situations are possible:
ID | Response code | Description |
---|---|---|
user_id_missing |
400 (Bad request) | No user ID was provided |
not_authorized |
403 (Forbidden) | Only own catalog tokens are accessible |
Last updated on