Back to Content Management API
pageUpdateBulk
Allows you to bulk update collection pages.
Arguments
- Name
ids
- Type
- [ID!]
- Description
Array of collection page IDs that you want to update.
- Name
input
- Type
- [CollectionPageUpdateInput!]!
- Description
Array of objects for each corresponding page ID to update.
title
:String
firstPublishedAt
:DateTime
firstPublishedAtTimezone
:String
description
:String
template
:String
sectionIds
:[ID!]
Returns
- Name
Job
- Type
- Job
- Description
Any requested field from the Job object.
Request
POST
/graphqlimport ApiClient from '@example/protocol-api'
const client = new ApiClient(token)
await client.contacts.list()
Response
{
"has_more": false,
"data": [
{
"id": "WAz8eIbvDR60rouK",
"username": "FrankMcCallister",
"phone_number": "1-800-759-3000",
"avatar_url": "https://assets.protocol.chat/avatars/frank.jpg",
"display_name": null,
"conversation_id": "xgQQXg3hrtjh7AvZ",
"last_active_at": 705103200,
"created_at": 692233200
},
{
"id": "hSIhXBhNe8X1d8Et"
// ...
}
]
}