List
List
Query Parameters
cursor string
The cursor
limit integer
Default value: 10
The maximum number of results
Responses
- 200
- 401
Found.
application/json
Schema
Example (from schema)
Schema
first string nullable required
The link to the first page.
items object[] required
last string nullable required
The link to the last page.
next string nullable required
The link to the next page or null
if there's no page.
prev string nullable required
The link to the previous page or null
if there's no page.
self string nullable required
The link to the current page.
{
"first": "string",
"items": [
{
"body": "string",
"id": 0,
"label": "string"
}
],
"last": "string",
"next": "string",
"prev": "string",
"self": "string"
}
Authentication Failure
GET /graphql-query-presets
Authorization
name: security_oauth2type: oauth2flows: {
"authorizationCode": {
"authorizationUrl": "https://s.wordlift.io/oauth/authorize/",
"scopes": {
"basic": "basic scope"
},
"tokenUrl": "https://s.wordlift.io/oauth/token/"
}
}
Request
Request
curl / cURL
curl -L -X GET 'https://api.wordlift.io/graphql-query-presets' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
python / requests
curl -L -X GET 'https://api.wordlift.io/graphql-query-presets' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
nodejs / axios
curl -L -X GET 'https://api.wordlift.io/graphql-query-presets' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
php / cURL
curl -L -X GET 'https://api.wordlift.io/graphql-query-presets' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'