Page Lemon Pages API
The pages API from Page Lemon — 30 operation(s) for pages.
Operations 42
GET
/v2/sites/{site}/ab-tests
A site's A/B tests with their numbers: running first, then the last 20 ended
#
POST
/v2/sites/{site}/ab-tests
Start an A/B test on a page: its own file is A, files under _variants/ in the…
#
GET
/v2/sites/{site}/ab-tests/{test}
One A/B test: seen, goals and rate per variant, the confidence against A and…
#
DELETE
/v2/sites/{site}/ab-tests/{test}
Remove an ended A/B test (its counts stay in the daily totals until they…
#
POST
/v2/sites/{site}/ab-tests/{test}:end
End an A/B test; a winner B to D publishes that variant's file over the page as…
#
GET
/v2/sites/{site}/approvals/{approval}
A publish sent for approval: its status and the files it changes
#
GET
/v2/sites/{site}/card-picture
The picture on the site's card in the Dashboard (a WebP), or 404 when there is…
#
PUT
/v2/sites/{site}/card-picture
Set the picture on the site's card in the Dashboard (the raw PNG, JPEG or WebP…
#
DELETE
/v2/sites/{site}/card-picture
Remove the picture on the site's card (the card goes back to the drawn one…
#
DELETE
/v2/sites/{site}/domains/{domain}
Disconnect a domain (If-Match: the domain's etag from list_domains)
#
POST
/v2/sites/{site}/domains/{domain}/cloudflare:start
Start Connect Cloudflare: a link to sign in at Cloudflare and allow Page Lemon…
#
GET
/v2/sites/{site}/domains/{domain}/connect
The steps to add a domain’s records at its DNS host, in that host’s own words
#
PUT
/v2/sites/{site}/github
Link the site to a repository branch (relinking ends the old link’s previews…
#
DELETE
/v2/sites/{site}/github
Remove the site’s GitHub link (its previews close, pending changes stop)
#
POST
/v2/sites/{site}/previews
Save a draft (preview link): kept 14 days on its own address, never live
#
POST
/v2/sites/{site}/previews/{preview}:publish
Make a draft (preview link) live as a new version, with its spec change if it…
#
PATCH
/v2/sites/{site}/search
Change the AI-robot switches, the main domain and its redirect, the review link…
#
POST
/v2/sites/{site}/upload-links
A link a person opens to add photos and files, or to replace the site with a zip
#
DELETE
/v2/sites/{site}/upload-links
End every upload link of the site now (or every one of a kind)
#
GET
/v2/sites/{site}/versions
The site’s versions, newest first (`live_at`: only the one live at that time…
#
GET
/v2/sites/{site}/versions/{version}/files
The files of a version (`live` for the live one), by path
#
GET
/v2/sites/{site}/versions/{version}/files/{file}
One file of a version (`{file}` percent-encoded; text as UTF-8, else base64, up…
#
GET
/v2/sites/{site}/versions/{version}/zip
Every file of a version (`live` for the live one) as one zip, or in parts…
#
POST
/v2/sites/{site}/versions/{version}:restore
Make an earlier version live again (as a new version); with files, only those…
#