Palbase IAP · API
GET
/iap/paywalls/{paywall_id}/versionsList a paywall's versions
The paywall's published versions, newest first, a page at a time, without their definitions.
Called by your server, with the project's secret key.
Path
paywall_idstring (uuid) · requiredThe paywall's id.Query
limitinteger · optionalHow many versions a page holds (20 unless said).cursorstring · optionalThe `next_cursor` of the page before.curl
curl -X GET "https://<your-ref>.palbase.studio/iap/paywalls/<paywall_id>/versions" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200A page of versions
400The request is malformed, or a field breaks a rule (the error names which)
401No key, not a key of this project, or a token that is not valid (the edge's answer)
403Not the project's secret key (`secret_key_required`)
404No such paywall (`paywall_not_found`)
429Over the project's request limit; Retry-After says when to try again
503Temporarily unavailable; retrying is safe after Retry-After
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation ListPaywallVersions of iap's contract.