Manage GraphQL schema cost decorations to support advanced query cost-based rate limiting.
API Base URL
Manage GraphQL schema cost decorations to support advanced query cost-based rate limiting.
ID or name of the service.
List of cost decorations
{
"data": [
{
"id": "id",
"type_path": "type_path",
"add_constant": 1,
"add_arguments": [
"[]"
],
"mul_constant": 1,
"mul_arguments": [
"[]"
],
"service": "service"
}
]
}
ID or name of the service.
Path to node to decorate, e.g. Query.allPeople
Default:1
Default:[]
Default:1
Default:[]
Cost decoration added
Path to node to decorate, e.g. Query.allPeople
Cost added to the node
Default:1
List of arguments that add cost
Default:[]
Cost multiplier
Default:1
List of arguments that multiply cost
Default:[]
Associated service (null if global)
{
"id": "id",
"type_path": "type_path",
"add_constant": 1,
"add_arguments": [
"[]"
],
"mul_constant": 1,
"mul_arguments": [
"[]"
],
"service": "service"
}