P_apiCallbacks
Returns the list of API callbacks.
Supported arguments
The query does not support arguments.
Return type
The query returns the collection of theP_API_Callback
type.
Example usage
Query
In the following query we are querying for a collection of API callbacks we have provided with the
P_registerCallback
mutation.
query {
P_apiCallbacks {
id
type
url
authorization
}
}
Result
Here we have got the response with a list of currently registered API callbacks.
{
"data": {
"P_apiCallbacks": [
{
"id": "a7f79572-0416-11ec-941d-2604d273c21d",
"type": "DECLARED_STOCK_RESERVATION",
"url": "https://8125-213-197-146-81.ngrok.io",
"authorization": "eW91ci1hdXRob3JpemF0aW9uLWhlYWRlcg=="
}
]
}
}