Appearance
List Training Configs
List training configs within an organization or tenant. The authenticated user requires ADMIN permissions for the target path.
This endpoint supports pagination of results using the offset and limit parameters.
Parameters
| name * are required parameters | data type | description |
|---|---|---|
limit | number | The maximum number of results to retrieve |
offset | number | Offset from the first index in the collection |
Return Value
An object containing and array of training configs and a status code of 200.
json
{
"statusCode": 200,
"message": "search completed",
"data": [TrainingConfig, TrainingConfig, ...]
}Error Codes
400 Bad Request: Returned when parameters are invalid.401 Unauthorized: Returned when permissions are insufficient.
Examples
bash
curl "https://app.wombat.software/api/{targetPath}/training?limit=10&offset=20"\
-H "Content-Type: application/json" \
-H "Authentication: Bearer ..."ENDPOINTS
get
/api/{targetPath}/training