{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Start uploading a collection of assets for use in a Workers for Platforms script version. To learn more about the direct uploads of assets, see https://developers.cloudflare.com/workers/static-assets/direct-upload/.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/workers_identifier"},"dispatch_namespace":{"$ref":"#/definitions/workers_dispatch_namespace_name"},"script_name":{"$ref":"#/definitions/workers_script_name"}},"required":["account_id","dispatch_namespace","script_name"],"additionalProperties":false},"body":{"$ref":"#/definitions/workers_create-assets-upload-session-object"}},"required":["path","body"],"additionalProperties":false,"definitions":{"workers_identifier":{"description":"Identifier.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"workers_dispatch_namespace_name":{"description":"Name of the Workers for Platforms dispatch namespace.","type":"string","pattern":"^.+$","examples":["my-dispatch-namespace"]},"workers_script_name":{"description":"Name of the script.","type":"string","pattern":"^[a-z0-9_][a-z0-9-_]*$","examples":["this-is_my_script-01"]},"workers_create-assets-upload-session-object":{"type":"object","properties":{"manifest":{"description":"A manifest ([path]: {hash, size}) map of files to upload. As an example, `/blog/hello-world.html` would be a valid path key.","type":"object","additionalProperties":{"$ref":"#/definitions/workers_manifest-value"}}},"required":["manifest"]},"workers_manifest-value":{"type":"object","properties":{"hash":{"description":"The hash of the file.","type":"string"},"size":{"description":"The size of the file in bytes.","type":"integer"}},"required":["hash","size"]}}},"name":"Create Workers for Platforms Assets Upload Session","id":"cloudflare.namespace-worker-script-update-create-assets-upload-session","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","dispatch_namespace":"my-dispatch-namespace","script_name":"this-is_my_script-01"},"body":{"manifest":{}}},"maxRequests":1,"summary":false}}