Référence de l’API

pbs-library

19 points de terminaison dans cette zone. Chacun dispose de sa propre page avec ses paramètres, sa réponse et une requête que vous pouvez exécuter.

Toute la documentation pour les développeurs →

MéthodeCheminSon rôleAutorisation
GET/v1/pbs-library/accountThis site's library plan, quota and usage.Son propre jeton
POST/v1/pbs-library/imagesUpload one image for a saved design (raw body, deduplicated by content).Son propre jeton
GET/v1/pbs-library/images/{sha256}Download one image (or, with meta=1, check that it is already stored).Son propre jeton
GET/v1/pbs-library/itemsList saved designs (the private library, or a team's with team).Son propre jeton
POST/v1/pbs-library/itemsSave a section, page or style.Son propre jeton
DELETE/v1/pbs-library/items/{itemId}Delete a saved design (its images are freed when nothing else uses them).Son propre jeton
GET/v1/pbs-library/items/{itemId}Load one saved design with its content.Son propre jeton
PATCH/v1/pbs-library/items/{itemId}Rename, re-tag or replace a saved design.Son propre jeton
GET/v1/pbs-library/kitsList the Page Builder Sandwich website kits.Son propre jeton
GET/v1/pbs-library/kits/{slug}One website kit with its page content (pbs-kit/1).Son propre jeton
DELETE/v1/pbs-library/sessionDisconnect this site from the cloud library.Son propre jeton
POST/v1/pbs-library/sessionsStart a cloud-library session for a licensed site.Aucune clé API
POST/v1/pbs-library/team-sessionsRedeem a team invite code for a team session (no licence needed on this site).Aucune clé API
GET/v1/pbs-library/teamsThe Agency's team libraries (a team session sees its own team).Son propre jeton
POST/v1/pbs-library/teamsCreate a team library (Agency plan, feature pbs-c4).Son propre jeton
DELETE/v1/pbs-library/teams/{teamId}Delete a team library and every design in it.Son propre jeton
POST/v1/pbs-library/teams/{teamId}/invitesCreate a single-use invite code for a team member or client site.Son propre jeton
GET/v1/pbs-library/teams/{teamId}/membersThe sites that joined a team.Son propre jeton
DELETE/v1/pbs-library/teams/{teamId}/members/{memberId}Remove a site from a team (its session stops at once).Son propre jeton