Upload a branding asset (Basic+)
Stores an encrypted auxiliary image for the file and returns its assetId, which viewerSettings.logo.assetId, viewerSettings.background.assetId and viewerSettings.gate.imageAssetId then reference - the settings PUT rejects an assetId that does not belong to the same file, so upload before you configure. logo, background and gate-image are singletons: a second upload of the same kind replaces and deletes the first. PNG/JPEG/WebP up to 5MB (hotspot-audio accepts MP3 up to 10MB); max 10 per file. A gate-image (the sign-in card's logo or banner, Pro) is the one asset readers can fetch before passing the password and email gates, while the owner is Pro.
Request
- Base URL: https://everypage.co
- URL: https://everypage.co/api/v1/files/{uuid}/assets
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://everypage.co/oauth/authorize, token URL https://everypage.co/oauth/token, scopes: files:write)
Query parameters
What the asset is for. logo, background and gate-image are singletons (a new upload replaces the previous one); hotspot kinds accumulate up to the per-file cap.
Response
Stored
Changes
No recorded changes to this operation across all 1 revision of this API.