API リファレンス
pbs-library
この領域には 19 個のエンドポイントがあります。それぞれに専用のページがあり、パラメータ、レスポンス、実行可能なリクエストが含まれています。
| メソッド | パス | 機能 | 権限 |
|---|---|---|---|
| GET | /v1/pbs-library/account | This site's library plan, quota and usage. | 独自のトークン |
| POST | /v1/pbs-library/images | Upload 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/items | List saved designs (the private library, or a team's with team). | 独自のトークン |
| POST | /v1/pbs-library/items | Save 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/kits | List 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/session | Disconnect this site from the cloud library. | 独自のトークン |
| POST | /v1/pbs-library/sessions | Start a cloud-library session for a licensed site. | API キーがありません |
| POST | /v1/pbs-library/team-sessions | Redeem a team invite code for a team session (no licence needed on this site). | API キーがありません |
| GET | /v1/pbs-library/teams | The Agency's team libraries (a team session sees its own team). | 独自のトークン |
| POST | /v1/pbs-library/teams | Create 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}/invites | Create a single-use invite code for a team member or client site. | 独自のトークン |
| GET | /v1/pbs-library/teams/{teamId}/members | The sites that joined a team. | 独自のトークン |
| DELETE | /v1/pbs-library/teams/{teamId}/members/{memberId} | Remove a site from a team (its session stops at once). | 独自のトークン |