APIs.io Engineering Platform · Schema
TestInvokeAuthorizerRequest
Make a request to simulate the invocation of an Authorizer.
APIs.ioEngineeringPlatform
Properties
| Name | Type | Description |
|---|---|---|
| headers | object | |
| multiValueHeaders | object | |
| pathWithQueryString | object | |
| body | object | |
| stageVariables | object | |
| additionalContext | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/TestInvokeAuthorizerRequest",
"title": "TestInvokeAuthorizerRequest",
"type": "object",
"properties": {
"headers": {
"allOf": [
{
"$ref": "#/components/schemas/MapOfStringToString"
},
{
"description": "A key-value map of headers to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, should be specified."
}
]
},
"multiValueHeaders": {
"allOf": [
{
"$ref": "#/components/schemas/MapOfStringToList"
},
{
"description": "The headers as a map from string to list of values to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, may be specified."
}
]
},
"pathWithQueryString": {
"allOf": [
{
"$ref": "#/components/schemas/String"
},
{
"description": "The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters."
}
]
},
"body": {
"allOf": [
{
"$ref": "#/components/schemas/String"
},
{
"description": "The simulated request body of an incoming invocation request."
}
]
},
"stageVariables": {
"allOf": [
{
"$ref": "#/components/schemas/MapOfStringToString"
},
{
"description": "A key-value map of stage variables to simulate an invocation on a deployed Stage."
}
]
},
"additionalContext": {
"allOf": [
{
"$ref": "#/components/schemas/MapOfStringToString"
},
{
"description": "A key-value map of additional context variables."
}
]
}
},
"description": "Make a request to simulate the invocation of an Authorizer."
}