workers_deployments-list-response

APIs.ioEngineeringPlatform
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-workers-deployments-list-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/workers_deployments-list-response",
  "title": "workers_deployments-list-response",
  "allOf": [
    {
      "$ref": "#/components/schemas/workers_api-response-common"
    },
    {
      "properties": {
        "result": {
          "properties": {
            "items": {
              "example": [
                {
                  "id": "bcf48806-b317-4351-9ee7-36e7d557d4de",
                  "metadata": {
                    "author_email": "[email protected]",
                    "author_id": "408cbcdfd4dda4617efef40b04d168a1",
                    "created_on": "2022-11-15T18:25:44.442097Z",
                    "modified_on": "2022-11-15T18:25:44.442097Z",
                    "source": "api"
                  },
                  "number": 2
                },
                {
                  "id": "18f97339-c287-4872-9bdd-e2135c07ec12",
                  "metadata": {
                    "author_email": "[email protected]",
                    "author_id": "408cbcdfd4dda4617efef40b04d168a1",
                    "created_on": "2022-11-08T17:30:56.968096Z",
                    "modified_on": "2022-11-08T17:30:56.968096Z",
                    "source": "api"
                  },
                  "number": 1
                }
              ],
              "items": {
                "$ref": "#/components/schemas/workers_version-item-short"
              },
              "type": "array"
            },
            "latest": {
              "example": {
                "id": "bcf48806-b317-4351-9ee7-36e7d557d4de",
                "metadata": {
                  "author_email": "[email protected]",
                  "author_id": "408cbcdfd4dda4617efef40b04d168a1",
                  "created_on": "2022-11-15T18:25:44.442097Z",
                  "modified_on": "2022-11-15T18:25:44.442097Z",
                  "source": "api"
                },
                "number": 2,
                "resources": {
                  "bindings": [
                    {
                      "json": "example_binding",
                      "name": "JSON_VAR",
                      "type": "json"
                    }
                  ],
                  "script": {
                    "etag": "13a3240e8fb414561b0366813b0b8f42b3e6cfa0d9e70e99835dae83d0d8a794",
                    "handlers": [
                      "fetch"
                    ],
                    "last_deployed_from": "api"
                  },
                  "script_runtime": {
                    "usage_model": "bundled"
                  }
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        }
      }
    }
  ]
}