GET https://api.cronhooks.io/groups?skip=0&limit=10
Name | Required |
---|---|
skip
Number of records to skip.
|
Required |
limit
Number of records to return in response.
|
Required |
curl "https://api.cronhooks.io/groups?skip=0&limit=10" \
-H "Authorization: Bearer <YOUR_API_TOKEN>"
{
"totalCount": 2,
"items": [
{
"id": "3a012d1f-fe83-4855-2860-84f8a85e154c",
"name": "Group #1",
"environmentVariables": [{
"key": "BASE_URL",
"value": " https://example.com",
"protected": false
}],
"creationTime": "2019-02-01T09:35:27.568Z",
"lastModificationTime": "2019-02-01T09:35:27.568Z"
},
{
"id": "3a013346-7e3d-eaa5-feee-371f5f8614ad",
"name": "Group #2",
"environmentVariables": [],
"creationTime": "2019-02-01T09:35:27.568Z",
"lastModificationTime": "2019-02-01T09:35:27.568Z"
}
]
}