Authorizations
Bearer token via Authorization header
Query Parameters
Required range:
x >= 1Required range:
1 <= x <= 100Available options:
asc, desc import DroidrunCloud from 'droidrun-cloud';
const client = new DroidrunCloud({
apiKey: 'My API Key',
});
const hooks = await client.hooks.list();
console.log(hooks.items);{
"items": [
{
"createdAt": "2023-11-07T05:31:56Z",
"events": [
"created"
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"service": "other",
"state": "disabled",
"updatedAt": "2023-11-07T05:31:56Z",
"url": "<string>",
"userId": "<string>"
}
],
"pagination": {
"hasNext": true,
"hasPrev": true,
"page": 123,
"pageSize": 123,
"pages": 123,
"total": 123
}
}List hooks belonging to the requesting user (paginated).
import DroidrunCloud from 'droidrun-cloud';
const client = new DroidrunCloud({
apiKey: 'My API Key',
});
const hooks = await client.hooks.list();
console.log(hooks.items);{
"items": [
{
"createdAt": "2023-11-07T05:31:56Z",
"events": [
"created"
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"service": "other",
"state": "disabled",
"updatedAt": "2023-11-07T05:31:56Z",
"url": "<string>",
"userId": "<string>"
}
],
"pagination": {
"hasNext": true,
"hasPrev": true,
"page": 123,
"pageSize": 123,
"pages": 123,
"total": 123
}
}Bearer token via Authorization header
x >= 11 <= x <= 100asc, desc Was this page helpful?