Sorry, no results found for "".

Show examples in:
Javascript HTTP
Endpoint info
Available examples

Content Management API > Deploy activity

List all deploy events

Query parameters

page object

Parameters to control offset-based pagination

offset integer

The (zero-based) offset of the first entity returned in the collection (defaults to 0)

limit integer

The maximum number of entities to return (defaults to 30, maximum is 500)

filter object

Attributes to filter

ids string

IDs to fetch, comma separated

Example: "42,554"
fields object
build_trigger_id object
eq string
event_type object
eq enum

The type of activity

Example: "response_success"
request_success

Build requested successfully

request_failure

Build request failed

response_success

Successful build notification

response_failure

Failed build notification

request_aborted

Build request aborted by user

response_unprocessable

Received notification is not valid

indexing_started

Site indexing started

indexing_success

Site indexing completed successfully

indexing_failure

Site indexing failed

created_at object
gt date-time
lt date-time
order_by enum

Fields used to order results

Example: "created_at_desc"
build_trigger_id_asc
build_trigger_id_desc
created_at_asc
created_at_desc
event_type_asc
event_type_desc

Returns

Returns an array of resource objects of type build_event

Examples

import { buildClient } from "@datocms/cma-client-node";
async function run() {
const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });
// iterates over every page of results
for await (const buildEvent of client.buildEvents.listPagedIterator()) {
// Check the 'Returned output' tab for the result ☝️
console.log(buildEvent);
}
}
run();