Skip to Content
REST APITool Middleware Releases API

Tool Middleware Releases API

List tool_middleware releases owned by an account

PathMethodProtected
/v1/accounts/{account_id}/tool-middleware-releasesGETYes

Example Response JSON

{ "values": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "ownerAccountId": "2936251c-eefb-44ec-9d94-a810fc3cf72b", "name": "string", "version": "string", "source": { "kind": "component", "componentId": "616ccd92-d666-4180-8349-8d125b269fac", "componentRevision": 0, "componentName": "string" }, "definition": { "name": "string", "version": "string", "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "scope": { "kind": "monomorphic", "value": { "presented": { "version": "string", "requires_filesystem": true, "commands": { "nodes": [ { "name": "string", "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "globals": { "options": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ null ] }, "value_name": "string", "shape": { "kind": "scalar", "value": { "value": {} } }, "default": { "kind": "bool", "value": true }, "required": true, "env_var": "string" } ], "flags": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ null ] }, "shape": { "kind": "bool-flag", "value": {} }, "env_var": "string" } ] }, "subcommands": [ 0 ], "body": { "positionals": { "fixed": [ { "name": "string", "doc": { "examples": [] }, "value_name": "string", "type_": { "value": {} }, "default": {}, "required": true, "accepts_stdio": true } ], "tail": { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ null ] }, "value_name": "string", "item_type": { "kind": "ref", "value": {} }, "min": 0, "max": 0, "separator": "string", "verbatim": true, "accepts_stdio": true } }, "options": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ null ] }, "value_name": "string", "shape": { "kind": "scalar", "value": { "value": {} } }, "default": { "kind": "bool", "value": true }, "required": true, "env_var": "string" } ], "flags": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ null ] }, "shape": { "kind": "bool-flag", "value": {} }, "env_var": "string" } ], "constraints": [ { "kind": "requires-all", "value": [ {} ] } ], "stdin": { "doc": { "summary": "string", "description": "string", "examples": [ {} ] }, "mime": [ "string" ], "required": true }, "stdout": { "doc": { "summary": "string", "description": "string", "examples": [ {} ] }, "mime": [ "string" ], "required": true }, "stderr": { "doc": { "summary": "string", "description": "string", "examples": [ {} ] }, "mime": [ "string" ], "required": true }, "result": { "type_": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } }, "doc": { "summary": "string", "description": "string", "examples": [ {} ] }, "formatters": [ { "name": "string", "doc": { "examples": [] } } ], "default_formatter": "string" }, "errors": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ null ] }, "kind": "usage-error", "exit_code": 0, "payload": { "kind": "ref", "value": {} } } ], "annotations": { "read_only": true, "destructive": true, "idempotent": true, "open_world": true } } } ] }, "schema": { "defs": [ { "id": "string", "name": "string", "body": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } ], "root": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } }, "expected": { "version": "string", "requires_filesystem": true, "commands": { "nodes": [ { "name": "string", "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "globals": { "options": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ null ] }, "value_name": "string", "shape": { "kind": "scalar", "value": { "value": {} } }, "default": { "kind": "bool", "value": true }, "required": true, "env_var": "string" } ], "flags": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ null ] }, "shape": { "kind": "bool-flag", "value": {} }, "env_var": "string" } ] }, "subcommands": [ 0 ], "body": { "positionals": { "fixed": [ { "name": "string", "doc": { "examples": [] }, "value_name": "string", "type_": { "value": {} }, "default": {}, "required": true, "accepts_stdio": true } ], "tail": { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ null ] }, "value_name": "string", "item_type": { "kind": "ref", "value": {} }, "min": 0, "max": 0, "separator": "string", "verbatim": true, "accepts_stdio": true } }, "options": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ null ] }, "value_name": "string", "shape": { "kind": "scalar", "value": { "value": {} } }, "default": { "kind": "bool", "value": true }, "required": true, "env_var": "string" } ], "flags": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ null ] }, "shape": { "kind": "bool-flag", "value": {} }, "env_var": "string" } ], "constraints": [ { "kind": "requires-all", "value": [ {} ] } ], "stdin": { "doc": { "summary": "string", "description": "string", "examples": [ {} ] }, "mime": [ "string" ], "required": true }, "stdout": { "doc": { "summary": "string", "description": "string", "examples": [ {} ] }, "mime": [ "string" ], "required": true }, "stderr": { "doc": { "summary": "string", "description": "string", "examples": [ {} ] }, "mime": [ "string" ], "required": true }, "result": { "type_": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } }, "doc": { "summary": "string", "description": "string", "examples": [ {} ] }, "formatters": [ { "name": "string", "doc": { "examples": [] } } ], "default_formatter": "string" }, "errors": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ null ] }, "kind": "usage-error", "exit_code": 0, "payload": { "kind": "ref", "value": {} } } ], "annotations": { "read_only": true, "destructive": true, "idempotent": true, "open_world": true } } } ] }, "schema": { "defs": [ { "id": "string", "name": "string", "body": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } ], "root": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } } } }, "parameter_schema": { "defs": [ { "id": "string", "name": "string", "body": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } ], "root": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } }, "metadataVersion": "string", "metadataDigest": "string", "immutable": true, "lifecycle": "published", "origin": "ordinary", "createdAt": "2019-08-24T14:15:22Z", "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e", "stateChangedAt": "2019-08-24T14:15:22Z", "stateChangedBy": "2b961163-2f23-4eaa-a259-05736f8f6815" } ] }

Get an account-owned tool_middleware release by ID

PathMethodProtected
/v1/tool-middleware-releases/{release_id}GETYes

Example Response JSON

{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "ownerAccountId": "2936251c-eefb-44ec-9d94-a810fc3cf72b", "name": "string", "version": "string", "source": { "kind": "component", "componentId": "616ccd92-d666-4180-8349-8d125b269fac", "componentRevision": 0, "componentName": "string" }, "definition": { "name": "string", "version": "string", "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "scope": { "kind": "monomorphic", "value": { "presented": { "version": "string", "requires_filesystem": true, "commands": { "nodes": [ { "name": "string", "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "globals": { "options": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "value_name": "string", "shape": { "kind": "scalar", "value": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } } }, "default": { "kind": "bool", "value": true }, "required": true, "env_var": "string" } ], "flags": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "shape": { "kind": "bool-flag", "value": { "default": true, "negatable": true } }, "env_var": "string" } ] }, "subcommands": [ 0 ], "body": { "positionals": { "fixed": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ {} ] }, "value_name": "string", "type_": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } }, "default": { "kind": "bool", "value": true }, "required": true, "accepts_stdio": true } ], "tail": { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "value_name": "string", "item_type": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ null ], "examples": [ null ], "deprecated": "string", "role": {} } } }, "min": 0, "max": 0, "separator": "string", "verbatim": true, "accepts_stdio": true } }, "options": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "value_name": "string", "shape": { "kind": "scalar", "value": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } } }, "default": { "kind": "bool", "value": true }, "required": true, "env_var": "string" } ], "flags": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "shape": { "kind": "bool-flag", "value": { "default": true, "negatable": true } }, "env_var": "string" } ], "constraints": [ { "kind": "requires-all", "value": [ { "kind": "present", "value": "string" } ] } ], "stdin": { "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "mime": [ "string" ], "required": true }, "stdout": { "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "mime": [ "string" ], "required": true }, "stderr": { "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "mime": [ "string" ], "required": true }, "result": { "type_": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } }, "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "formatters": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ {} ] } } ], "default_formatter": "string" }, "errors": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "kind": "usage-error", "exit_code": 0, "payload": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ null ], "examples": [ null ], "deprecated": "string", "role": {} } } } } ], "annotations": { "read_only": true, "destructive": true, "idempotent": true, "open_world": true } } } ] }, "schema": { "defs": [ { "id": "string", "name": "string", "body": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } ], "root": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } }, "expected": { "version": "string", "requires_filesystem": true, "commands": { "nodes": [ { "name": "string", "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "globals": { "options": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "value_name": "string", "shape": { "kind": "scalar", "value": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } } }, "default": { "kind": "bool", "value": true }, "required": true, "env_var": "string" } ], "flags": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "shape": { "kind": "bool-flag", "value": { "default": true, "negatable": true } }, "env_var": "string" } ] }, "subcommands": [ 0 ], "body": { "positionals": { "fixed": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ {} ] }, "value_name": "string", "type_": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } }, "default": { "kind": "bool", "value": true }, "required": true, "accepts_stdio": true } ], "tail": { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "value_name": "string", "item_type": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ null ], "examples": [ null ], "deprecated": "string", "role": {} } } }, "min": 0, "max": 0, "separator": "string", "verbatim": true, "accepts_stdio": true } }, "options": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "value_name": "string", "shape": { "kind": "scalar", "value": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } } }, "default": { "kind": "bool", "value": true }, "required": true, "env_var": "string" } ], "flags": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "shape": { "kind": "bool-flag", "value": { "default": true, "negatable": true } }, "env_var": "string" } ], "constraints": [ { "kind": "requires-all", "value": [ { "kind": "present", "value": "string" } ] } ], "stdin": { "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "mime": [ "string" ], "required": true }, "stdout": { "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "mime": [ "string" ], "required": true }, "stderr": { "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "mime": [ "string" ], "required": true }, "result": { "type_": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } }, "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "formatters": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ {} ] } } ], "default_formatter": "string" }, "errors": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "kind": "usage-error", "exit_code": 0, "payload": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ null ], "examples": [ null ], "deprecated": "string", "role": {} } } } } ], "annotations": { "read_only": true, "destructive": true, "idempotent": true, "open_world": true } } } ] }, "schema": { "defs": [ { "id": "string", "name": "string", "body": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } ], "root": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } } } }, "parameter_schema": { "defs": [ { "id": "string", "name": "string", "body": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } ], "root": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } }, "metadataVersion": "string", "metadataDigest": "string", "immutable": true, "lifecycle": "published", "origin": "ordinary", "createdAt": "2019-08-24T14:15:22Z", "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e", "stateChangedAt": "2019-08-24T14:15:22Z", "stateChangedBy": "2b961163-2f23-4eaa-a259-05736f8f6815" }

De-publish an account-owned tool_middleware release

PathMethodProtected
/v1/tool-middleware-releases/{release_id}DELETEYes

Example Response JSON

{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "ownerAccountId": "2936251c-eefb-44ec-9d94-a810fc3cf72b", "name": "string", "version": "string", "source": { "kind": "component", "componentId": "616ccd92-d666-4180-8349-8d125b269fac", "componentRevision": 0, "componentName": "string" }, "definition": { "name": "string", "version": "string", "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "scope": { "kind": "monomorphic", "value": { "presented": { "version": "string", "requires_filesystem": true, "commands": { "nodes": [ { "name": "string", "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "globals": { "options": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "value_name": "string", "shape": { "kind": "scalar", "value": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } } }, "default": { "kind": "bool", "value": true }, "required": true, "env_var": "string" } ], "flags": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "shape": { "kind": "bool-flag", "value": { "default": true, "negatable": true } }, "env_var": "string" } ] }, "subcommands": [ 0 ], "body": { "positionals": { "fixed": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ {} ] }, "value_name": "string", "type_": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } }, "default": { "kind": "bool", "value": true }, "required": true, "accepts_stdio": true } ], "tail": { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "value_name": "string", "item_type": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ null ], "examples": [ null ], "deprecated": "string", "role": {} } } }, "min": 0, "max": 0, "separator": "string", "verbatim": true, "accepts_stdio": true } }, "options": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "value_name": "string", "shape": { "kind": "scalar", "value": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } } }, "default": { "kind": "bool", "value": true }, "required": true, "env_var": "string" } ], "flags": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "shape": { "kind": "bool-flag", "value": { "default": true, "negatable": true } }, "env_var": "string" } ], "constraints": [ { "kind": "requires-all", "value": [ { "kind": "present", "value": "string" } ] } ], "stdin": { "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "mime": [ "string" ], "required": true }, "stdout": { "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "mime": [ "string" ], "required": true }, "stderr": { "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "mime": [ "string" ], "required": true }, "result": { "type_": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } }, "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "formatters": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ {} ] } } ], "default_formatter": "string" }, "errors": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "kind": "usage-error", "exit_code": 0, "payload": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ null ], "examples": [ null ], "deprecated": "string", "role": {} } } } } ], "annotations": { "read_only": true, "destructive": true, "idempotent": true, "open_world": true } } } ] }, "schema": { "defs": [ { "id": "string", "name": "string", "body": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } ], "root": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } }, "expected": { "version": "string", "requires_filesystem": true, "commands": { "nodes": [ { "name": "string", "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "globals": { "options": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "value_name": "string", "shape": { "kind": "scalar", "value": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } } }, "default": { "kind": "bool", "value": true }, "required": true, "env_var": "string" } ], "flags": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "shape": { "kind": "bool-flag", "value": { "default": true, "negatable": true } }, "env_var": "string" } ] }, "subcommands": [ 0 ], "body": { "positionals": { "fixed": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ {} ] }, "value_name": "string", "type_": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } }, "default": { "kind": "bool", "value": true }, "required": true, "accepts_stdio": true } ], "tail": { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "value_name": "string", "item_type": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ null ], "examples": [ null ], "deprecated": "string", "role": {} } } }, "min": 0, "max": 0, "separator": "string", "verbatim": true, "accepts_stdio": true } }, "options": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "value_name": "string", "shape": { "kind": "scalar", "value": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } } }, "default": { "kind": "bool", "value": true }, "required": true, "env_var": "string" } ], "flags": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "shape": { "kind": "bool-flag", "value": { "default": true, "negatable": true } }, "env_var": "string" } ], "constraints": [ { "kind": "requires-all", "value": [ { "kind": "present", "value": "string" } ] } ], "stdin": { "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "mime": [ "string" ], "required": true }, "stdout": { "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "mime": [ "string" ], "required": true }, "stderr": { "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "mime": [ "string" ], "required": true }, "result": { "type_": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } }, "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "formatters": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ {} ] } } ], "default_formatter": "string" }, "errors": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "kind": "usage-error", "exit_code": 0, "payload": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ null ], "examples": [ null ], "deprecated": "string", "role": {} } } } } ], "annotations": { "read_only": true, "destructive": true, "idempotent": true, "open_world": true } } } ] }, "schema": { "defs": [ { "id": "string", "name": "string", "body": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } ], "root": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } } } }, "parameter_schema": { "defs": [ { "id": "string", "name": "string", "body": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } ], "root": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } }, "metadataVersion": "string", "metadataDigest": "string", "immutable": true, "lifecycle": "published", "origin": "ordinary", "createdAt": "2019-08-24T14:15:22Z", "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e", "stateChangedAt": "2019-08-24T14:15:22Z", "stateChangedBy": "2b961163-2f23-4eaa-a259-05736f8f6815" }

Restore a de-published account-owned tool_middleware release

PathMethodProtected
/v1/tool-middleware-releases/{release_id}/restorePOSTYes

Example Response JSON

{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "ownerAccountId": "2936251c-eefb-44ec-9d94-a810fc3cf72b", "name": "string", "version": "string", "source": { "kind": "component", "componentId": "616ccd92-d666-4180-8349-8d125b269fac", "componentRevision": 0, "componentName": "string" }, "definition": { "name": "string", "version": "string", "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "scope": { "kind": "monomorphic", "value": { "presented": { "version": "string", "requires_filesystem": true, "commands": { "nodes": [ { "name": "string", "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "globals": { "options": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "value_name": "string", "shape": { "kind": "scalar", "value": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } } }, "default": { "kind": "bool", "value": true }, "required": true, "env_var": "string" } ], "flags": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "shape": { "kind": "bool-flag", "value": { "default": true, "negatable": true } }, "env_var": "string" } ] }, "subcommands": [ 0 ], "body": { "positionals": { "fixed": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ {} ] }, "value_name": "string", "type_": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } }, "default": { "kind": "bool", "value": true }, "required": true, "accepts_stdio": true } ], "tail": { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "value_name": "string", "item_type": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ null ], "examples": [ null ], "deprecated": "string", "role": {} } } }, "min": 0, "max": 0, "separator": "string", "verbatim": true, "accepts_stdio": true } }, "options": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "value_name": "string", "shape": { "kind": "scalar", "value": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } } }, "default": { "kind": "bool", "value": true }, "required": true, "env_var": "string" } ], "flags": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "shape": { "kind": "bool-flag", "value": { "default": true, "negatable": true } }, "env_var": "string" } ], "constraints": [ { "kind": "requires-all", "value": [ { "kind": "present", "value": "string" } ] } ], "stdin": { "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "mime": [ "string" ], "required": true }, "stdout": { "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "mime": [ "string" ], "required": true }, "stderr": { "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "mime": [ "string" ], "required": true }, "result": { "type_": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } }, "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "formatters": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ {} ] } } ], "default_formatter": "string" }, "errors": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "kind": "usage-error", "exit_code": 0, "payload": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ null ], "examples": [ null ], "deprecated": "string", "role": {} } } } } ], "annotations": { "read_only": true, "destructive": true, "idempotent": true, "open_world": true } } } ] }, "schema": { "defs": [ { "id": "string", "name": "string", "body": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } ], "root": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } }, "expected": { "version": "string", "requires_filesystem": true, "commands": { "nodes": [ { "name": "string", "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "globals": { "options": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "value_name": "string", "shape": { "kind": "scalar", "value": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } } }, "default": { "kind": "bool", "value": true }, "required": true, "env_var": "string" } ], "flags": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "shape": { "kind": "bool-flag", "value": { "default": true, "negatable": true } }, "env_var": "string" } ] }, "subcommands": [ 0 ], "body": { "positionals": { "fixed": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ {} ] }, "value_name": "string", "type_": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } }, "default": { "kind": "bool", "value": true }, "required": true, "accepts_stdio": true } ], "tail": { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "value_name": "string", "item_type": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ null ], "examples": [ null ], "deprecated": "string", "role": {} } } }, "min": 0, "max": 0, "separator": "string", "verbatim": true, "accepts_stdio": true } }, "options": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "value_name": "string", "shape": { "kind": "scalar", "value": { "kind": "ref", "value": { "id": "string", "metadata": { "aliases": [], "examples": [] } } } }, "default": { "kind": "bool", "value": true }, "required": true, "env_var": "string" } ], "flags": [ { "long": "string", "short": null, "aliases": [ "string" ], "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "shape": { "kind": "bool-flag", "value": { "default": true, "negatable": true } }, "env_var": "string" } ], "constraints": [ { "kind": "requires-all", "value": [ { "kind": "present", "value": "string" } ] } ], "stdin": { "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "mime": [ "string" ], "required": true }, "stdout": { "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "mime": [ "string" ], "required": true }, "stderr": { "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "mime": [ "string" ], "required": true }, "result": { "type_": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } }, "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "formatters": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ {} ] } } ], "default_formatter": "string" }, "errors": [ { "name": "string", "doc": { "summary": "string", "description": "string", "examples": [ { "title": "string", "body": "string" } ] }, "kind": "usage-error", "exit_code": 0, "payload": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ null ], "examples": [ null ], "deprecated": "string", "role": {} } } } } ], "annotations": { "read_only": true, "destructive": true, "idempotent": true, "open_world": true } } } ] }, "schema": { "defs": [ { "id": "string", "name": "string", "body": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } ], "root": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } } } }, "parameter_schema": { "defs": [ { "id": "string", "name": "string", "body": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } ], "root": { "kind": "ref", "value": { "id": "string", "metadata": { "doc": "string", "aliases": [ "string" ], "examples": [ "string" ], "deprecated": "string", "role": { "tag": "multimodal" } } } } } }, "metadataVersion": "string", "metadataDigest": "string", "immutable": true, "lifecycle": "published", "origin": "ordinary", "createdAt": "2019-08-24T14:15:22Z", "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e", "stateChangedAt": "2019-08-24T14:15:22Z", "stateChangedBy": "2b961163-2f23-4eaa-a259-05736f8f6815" }

Tool Middleware Releases API Errors

Status CodeDescriptionBody
400Invalid request, returning with a list of issues detected in the request{"code":"string","errors":["string"]}
401Unauthorized request{"code":"string","error":"string"}
403Forbidden Request{"code":"string","error":"string"}
404Entity not found{"code":"string","error":"string"}
409{"code":"string","error":"string"}
422Limits of the plan exceeded{"code":"string","error":"string"}
500Internal server error{"code":"string","error":"string"}