{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Initiates a video upload using the TUS protocol. On success, the server responds with a status code 201 (created) and includes a `location` header to indicate where the content should be uploaded. Refer to https://tus.io for protocol details.","properties":{"headers":{"type":"object","properties":{"Tus-Resumable":{"$ref":"#/definitions/stream_tus_resumable"},"Upload-Creator":{"$ref":"#/definitions/stream_creator"},"Upload-Length":{"$ref":"#/definitions/stream_upload_length"},"Upload-Metadata":{"$ref":"#/definitions/stream_upload_metadata"}},"required":["Tus-Resumable","Upload-Length"],"additionalProperties":false},"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/stream_account_identifier"}},"required":["account_id"],"additionalProperties":false},"query":{"type":"object","properties":{"direct_user":{"$ref":"#/definitions/stream_direct_user"}},"required":[],"additionalProperties":false}},"required":["headers","path"],"additionalProperties":false,"definitions":{"stream_tus_resumable":{"description":"Specifies the TUS protocol version. This value must be included in every upload request.\nNotes: The only supported version of TUS protocol is 1.0.0.","type":"string","enum":["1.0.0"],"examples":["1.0.0"]},"stream_creator":{"description":"A user-defined identifier for the media creator.","type":"string","maxLength":64,"examples":["creator-id_abcde12345"]},"stream_upload_length":{"description":"Indicates the size of the entire upload in bytes. The value must be a non-negative integer.","type":"integer","minimum":0},"stream_upload_metadata":{"description":"Comma-separated key-value pairs following the TUS protocol specification. Values are Base-64 encoded.\nSupported keys: `name`, `requiresignedurls`, `allowedorigins`, `thumbnailtimestamppct`, `watermark`, `scheduleddeletion`, `maxdurationseconds`.","type":"string","examples":["name aGVsbG8gd29ybGQ=, requiresignedurls, allowedorigins ZXhhbXBsZS5jb20sdGVzdC5jb20="]},"stream_account_identifier":{"description":"The account identifier tag.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"stream_direct_user":{"description":"Provisions a URL to let your end users upload videos directly to Cloudflare Stream without exposing your API token to clients.","type":"boolean","default":false,"examples":[true]}}},"name":"Initiate video uploads using TUS","id":"cloudflare.stream-videos-initiate-video-uploads-using-tus","example":{"headers":{"Tus-Resumable":"1.0.0","Upload-Length":1},"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"}},"maxRequests":1,"summary":false}}