InvocationResponse

APIs.ioEngineeringPlatform

Properties

Name Type Description
StatusCode object
Payload object
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-invocationresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/InvocationResponse",
  "title": "InvocationResponse",
  "type": "object",
  "properties": {
    "StatusCode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Integer"
        },
        {
          "description": "The HTTP status code is in the 200 range for a successful request. For the <code>RequestResponse</code> invocation type, this status code is 200. For the <code>Event</code> invocation type, this status code is 202. For the <code>DryRun</code> invocation type, the status code is 204."
        }
      ]
    },
    "Payload": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Blob"
        },
        {
          "description": "The response from the function, or an error object."
        }
      ]
    }
  }
}