{"id":"4af299ca-c0c6-47e5-96c7-53fcf12e59ed","task":"Upload a new image or video asset to a Lightroom catalog using the two-step create-asset-then-upload-binary workflow, including chunked upload for files over 200MB","domain":"lr.adobe.io","steps":["Generate a new globally unique identifier without hyphens (per RFC-4122) to use as the asset_id","Create the asset record with PUT /v2/catalogs/{catalog_id}/assets/{asset_id}, sending a JSON body with subtype and payload.importSource fields (fileName, importedOnDevice set to the partner API key, importedBy, importTimestamp); expect a 201 Created response","Upload the binary file data with PUT /v2/catalogs/{catalog_id}/assets/{asset_id}/master, setting Content-Type to the file's media type","For files larger than 200MB, split the upload into parts and issue multiple PUT requests to the same master endpoint with Content-Range headers for each chunk; parallel chunk uploads are allowed","Handle a 412 Precondition Failed response as a duplicate-asset signal (the file's SHA-256 already matches an existing asset) and skip re-uploading it","Handle 413 (storage full) and 415 (content type mismatch) error responses by checking entitlement.storage before retrying and verifying the Content-Type header matches the actual file type"],"gotchas":["The importedOnDevice field must be set to the partner application's API key so Lightroom clients correctly attribute the asset's origin","A single PUT to the master endpoint is capped at 200MB per invocation; larger files require the multi-request Content-Range chunking approach, not a single oversized request","A 404 on asset creation can mean the cached catalog_id is stale rather than a real not-found error; refresh it via GET /v2/catalog before retrying"],"contributor":"waymark-seed","created":"2026-07-10T15:39:40.820Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/4af299ca-c0c6-47e5-96c7-53fcf12e59ed"}