SDK reference / Models / Network

ApiTestResult

Kind: class

Namespace: Egulu.Sdk.Models.Network

What the gateway would do with a test request.

Properties

NameTypeJSON nameDescription
AllowList<string>?allowFor METHOD_NOT_ALLOWED: the methods the path has.
Authstring?authFor a forward: how the request must authenticate (NONE, KEY, JWT, KEY_AND_JWT).
AuthenticationModels.Network.ApiTestAuthentication?authenticationWhat the gateway decided about the key, the plan and the usage; present when the request needs a key.
BackendModels.Network.ApiTestBackend?backendFor a forward: the backend.
MaxBodyBytesint?maxBodyBytesThe request body cap of the operation.
Methodstring?methodFor a forward: its method.
Operationstring?operationFor a forward: the operation's ID.
Outcomestring?outcomeFORWARD, NO_HOST, BAD_PATH, NOT_FOUND, UNKNOWN_VERSION, METHOD_NOT_ALLOWED, UNAUTHENTICATED (401), FORBIDDEN (403) or RATE_LIMITED (429).
ParametersModels.Network.ApiTestResult_parameters?parametersThe path parameters' values.
PathTemplatestring?pathTemplateFor a forward: its path template.
RequestHeadersRemovedList<string>?requestHeadersRemovedHeaders taken off the request to the backend.
RequestHeadersSetModels.Network.ApiTestResult_requestHeadersSet?requestHeadersSetHeaders set on the request to the backend.
ResponseHeadersRemovedList<string>?responseHeadersRemovedHeaders taken off the answer.
ResponseHeadersSetModels.Network.ApiTestResult_responseHeadersSet?responseHeadersSetHeaders set on the answer.
Statusint?statusThe status the client gets when the request is not forwarded.
TimeoutSecondsint?timeoutSecondsThe timeout of the operation.
TraceList<string>?traceEvery decision in order, in words.
UpstreamPathstring?upstreamPathFor a forward: the path the backend sees.
Versionstring?versionThe version the request is for.