Skip to main content

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

Absolute wallpaper URL plus content id and filename