Query
query WebhookVersions {
webhookVersions {
edges {
cursor
node {
version
isDeprecated
isLatest
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"webhookVersions": {
"edges": [
{
"cursor": "string",
"node": {
"version": "string",
"isDeprecated": true,
"isLatest": true
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Queries
webhookVersions
List all available webhook schema versions. Use this to discover which versions you can pin a webhook target to, and to check whether a version you are already using has been deprecated. Requires the webhookTarget:read permission.
QUERY
webhookVersions(first: Int, after: String, last: Int, before: String): WebhookVersionConnection!Arguments
first
Int
after
String
last
Int
before
String
Returns
edges
pageInfo
Query
query WebhookVersions {
webhookVersions {
edges {
cursor
node {
version
isDeprecated
isLatest
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"webhookVersions": {
"edges": [
{
"cursor": "string",
"node": {
"version": "string",
"isDeprecated": true,
"isLatest": true
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Was this page helpful?

