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). | ਇਸਦਾ ਆਪਣਾ ਟੋਕਨ |