Mark content as a wallpaper and return its device-reachable URL
GET/content/:id/wallpaper-url
Sets metadata.is_wallpaper=true on the content row and returns the absolute, tokenless URL of the public wallpaper route. Calling this is what opens that public route; without it the route 404s. The returned URL is stored verbatim in a policy at companion_app.wallpaper_url. Refused with 400 unless the uploaded bytes are a PNG, JPEG or WebP image.
Request
Responses
- 200
- 400
- 401
- 404
- 500
Absolute wallpaper URL plus content id and filename
Invalid content ID, or the uploaded file is not a PNG, JPEG or WebP image
Enterprise ID not found in context
Content not found
Failed to build wallpaper URL