Sync Headless Assets
Changed onResolves a content-addressed asset manifest for a code-first paywall: returns the hosted URL for every asset and a short-lived presigned upload for the ones not yet stored. Runs as the assets step of superwall push/publish before the version push. Identical content is never uploaded twice. Requires paywalls:write scope.
Request
- Base URLhttps://api.superwall.com
- URLhttps://api.superwall.com/v2/paywalls/{id}/assets
- Auth
- HTTP bearer
- or API key in cookie accounts_superwall_token
- or HTTP bearer
Path parameters
Request body
Response
Success
Changes
- warning
added the new
credentials_missingenum value to the/response property for the response status - warning
added the new
credentials_missingenum value to the/response property for the response status - warning
added the new
credentials_missingenum value to the/response property for the response status - warning
added the new
credentials_missingenum value to the/response property for the response status - warning
added the new
credentials_missingenum value to the/response property for the response status - warning
added the new
credentials_missingenum value to the/response property for the response status - info
added
subschema #1subschema #2subschema #3subschema #4subschema #5to the response bodyanyOflist for the response status - info
removed
subschema #1subschema #2subschema #3subschema #4subschema #5from the response bodyanyOflist for the response status
- warning
- info
removed the pattern
^[a-f0-9]{64}$from the request property// - info
removed the pattern
^[a-f0-9]{64}\.[a-z0-9]{2,6}$from the request property//
- info