API 参考

pbs-library

该区域中有 19 个端点。每个端点都有自己的页面,其中包含其参数、响应以及您可以运行的请求。

所有开发者文档 →

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