URSY.DEVPART OF THE URSY NETWORKSign inBuild with URSY

Every contract sourcedEvery check datedGaps shown, never filledBuild with URSY

Capabilities

cancel_upload

Discard only uncommitted staging chunks. Completed saved versions are preserved.

How this capability is exposed

Stable ID
ursy.cloud:cancel_upload
Owning service
URSY.cloud
Runtime
See the source declaration

Capability declarations describe what the service exposes. They are not a guarantee of availability or permission to execute an operation.

Accepted contract

REGISTRY JSON
{
    "id": "ursy.cloud:cancel_upload",
    "name": "cancel_upload",
    "description": "Discard only uncommitted staging chunks. Completed saved versions are preserved.",
    "method": "POST",
    "path": "/v1/uploads/{upload_id}/cancel",
    "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
            "upload_id": {
                "type": "string",
                "pattern": "^upl_[a-f0-9]{32}$"
            },
            "idempotency_key": {
                "type": "string",
                "minLength": 8,
                "maxLength": 128,
                "pattern": "^[A-Za-z0-9._:-]+$"
            }
        },
        "required": [
            "upload_id",
            "idempotency_key"
        ]
    },
    "outputSchema": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
            "upload": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                    "id": {
                        "type": "string",
                        "pattern": "^upl_[a-f0-9]{32}$"
                    },
                    "state": {
                        "type": "string",
                        "enum": [
                            "pending",
                            "completed",
                            "cancelled"
                        ]
                    },
                    "name": {
                        "type": "string"
                    },
                    "mime": {
                        "type": "string"
                    },
                    "size": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "sha256": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                    },
                    "chunk_bytes": {
                        "const": 1048576
                    },
                    "chunk_count": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "received_bytes": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "next_chunk_index": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "expires_at": {
                        "type": "string"
                    },
                    "file_id": {
                        "oneOf": [
                            {
                                "type": "string",
                                "pattern": "^file_[1-9][0-9]{0,14}$"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "version_id": {
                        "oneOf": [
                            {
                                "type": "string",
                                "pattern": "^ver_[1-9][0-9]*$"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "chunk_url_template": {
                        "type": "string"
                    },
                    "chunk_method": {
                        "type": "string",
                        "enum": [
                            "PUT"
                        ]
                    },
                    "authorization": {
                        "type": "string"
                    }
                },
                "required": [
                    "id",
                    "state",
                    "name",
                    "mime",
                    "size",
                    "sha256",
                    "chunk_bytes",
                    "chunk_count",
                    "received_bytes",
                    "next_chunk_index",
                    "expires_at",
                    "file_id",
                    "version_id",
                    "chunk_url_template",
                    "chunk_method",
                    "authorization"
                ]
            },
            "request_id": {
                "type": "string"
            },
            "replayed": {
                "type": "boolean"
            }
        },
        "required": [
            "upload"
        ]
    },
    "auth_required": true,
    "scope": "cloud.upload",
    "read_only": false,
    "service_id": "ursy-cloud",
    "parent_id": "",
    "summary": "Discard only uncommitted staging chunks. Completed saved versions are preserved.",
    "source_url": "https://api.ursy.cloud/v1/registry-capabilities",
    "source_type": "capability_manifest",
    "verified_at": "2026-10-14 03:31:28",
    "revision": "b15fdedd74d87731244ee0074630b1b648575fd30b1964f03d4c11978636f644",
    "type": "capabilities",
    "source": {
        "url": "https://api.ursy.cloud/v1/registry-capabilities",
        "type": "capability_manifest"
    },
    "last_verified_at": "2026-10-14 03:31:28",
    "stale": false
}