Media2URL Developer Platform REST API
    • Media2URL Developer Platform - Overview & API Documentation
    • Retrieve Account & API Usage
      GET
    • Request Direct R2 Upload URL
      POST
    • Finalize Upload & Promote Asset
      POST
    • Check for Duplicate Asset
      POST
    • List Assets
      GET
    • Get Asset Details
      GET
    • Delete Asset
      DELETE
    • Presign Replacement Upload
      POST
    • Finalize Asset Replacement
      POST
    • List Asset Version History
      GET
    • List Folders
      GET
    • Create Folder
      POST
    • Import Remote URL
      POST
    • Get Job Status
      GET
    • Schemas
      • CredentialSurface
      • ProblemDetails
      • UsageResponse
      • AutomationAccountCapabilities
      • PresignUploadRequest
      • PresignUploadResponse
      • FinalizeUploadRequest
      • ReplacePresignRequest
      • AssetResource
      • CheckDuplicateRequest
      • CheckDuplicateResponse
      • PaginatedAssetList
      • VersionHistoryResponse
      • FolderResource
      • FolderListResponse
      • CreateFolderRequest
      • ImportRequest
      • ImportResponse
      • JobResource

    CheckDuplicateResponse

    {
        "duplicate": true,
        "asset": {
            "id": "asset_01HXYZ...",
            "status": "active",
            "filename": "hero.png",
            "content_type": "image/png",
            "size": 245817,
            "checksum_sha256": "string",
            "privacy": "public",
            "direct_url": "https://files.media2url.com/media/hero.png",
            "share_url": "https://media2url.com/m/hero",
            "temporary": true,
            "expires_at": "2019-08-24T14:15:22.123Z",
            "trial_remaining": 0,
            "embeds": {
                "markdown": "string",
                "html": "string",
                "css": "string"
            },
            "created_at": "2019-08-24T14:15:22.123Z"
        }
    }
    Built with