-
Notifications
You must be signed in to change notification settings - Fork 1
get paginated templates
Pongstr edited this page Mar 24, 2022
·
1 revision
title: 'Get Paginated Templates' description: '' updated: '2022-03-13T01:11:05.372Z' group: 'API Gateways' breadcrumb: ['API Gateways', 'Templates'] author: 'RapidAPI'
Request Headers
X-RapidAPI-Key: 6176a4b1b7msh79f63eb622dd69cp1284cdjsn762fc4839b13
X-RapidAPI-Host: rAPIdAPI-graphqlAPI.p.rAPIdAPI.xyz
Content-Type: application/json; charset=utf-8
Cookie: jwt_auth=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Mzc5MTc0NSwibWFzaGFwZUlkIjoiNWY0NGM5YzMwOGNiMDIxMjNhODc3MWMzIiwib3JpZ2luX3NpdGUiOiJwbGF0Zm9ybS1hcGkiLCJpc05ld1VzZXIiOmZhbHNlLCJpc0F1dGhlbnRpY2F0ZWRCeVNTTyI6ZmFsc2UsImVtYWlsIjpudWxsLCJpYXQiOjE2NDcxMDQ2ODQsImV4cCI6MTY3ODY0MDY4NH0.0O6WT0z5x5CWbnDExjdca3UTWhrANZTyR3AnMS-sdyw; connect.sid=s%3AFRLLS9Tl-mDqOnaR4gsW17uQxc24CJHs.Wd2tZlhb9%2BFnZOHwsjcVQsgNJb%2F1NG6P0Ax0E3HiX8I
Request URL Parameters
Empty URL Parameters
GraphQL: Variables
{
"where": {
"status": "ACTIVE"
},
"sorting": {
"sortingFields": [
{
"fieldName": "ID",
"order": "ASC"
}
]
},
"pagination": {}
}
GraphQL: Query
query getGwTemplates(
$where: GatewayTemplateWhereInput
$sorting: GatewayTemplateSortingInput
$pagination: PaginationArgs
) {
gatewayTemplates(where: $where, order: $sorting, pagination: $pagination) {
edges {
node {
id
name
description
urlPattern
status
isCanBeDeleted
createdAt
updatedAt
templateParams {
id
codeTemplateId
paramName
paramValue
paramDescription
status
createdAt
updatedAt
}
}
cursor
}
nodes {
id
name
description
urlPattern
status
isCanBeDeleted
createdAt
updatedAt
templateParams {
id
codeTemplateId
paramName
paramValue
paramDescription
status
createdAt
updatedAt
}
}
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}