К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/api-site.mdиндекс документации — /llms.txt

REST: site

Обновлено

Выберите операцию: полный контракт доступен по ссылке. Scopes: ALL; auth alternatives: OR.

issueSiteCheckoutKey

POST /api/v1/tools/site/checkout-key — Issue or rotate a browser checkout key

Scopes (ALL): ["site:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

declareSiteForm

POST /api/v1/tools/site/forms — Declare or redeclare a site form

Scopes (ALL): ["site:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

listSitePages

GET /api/v1/tools/site/pages — List publishable hosts and registered site pages

Scopes (ALL): ["site:read"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

setSitePagesVisibility

POST /api/v1/tools/site/pages/visibility — Show or hide existing site pages

Scopes (ALL): ["site:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

deleteSitePage

DELETE /api/v1/tools/site/pages/{seqNum} — Withdraw one page from the deployed site

Scopes (ALL): ["site:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

createSitePagePreview

POST /api/v1/tools/site/pages/{seqNum}/preview — Open a private preview of one site page

Scopes (ALL): ["site:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

publishSite

POST /api/v1/tools/site/publish — Publish a staged site bundle

Scopes (ALL): ["site:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

requestSiteUpload

POST /api/v1/tools/site/request-upload — Request staged bundle upload URLs

Scopes (ALL): ["site:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

listSiteSecrets

GET /api/v1/tools/site/secrets — List stored secret names

Scopes (ALL): ["site:read"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

putSiteSecret

POST /api/v1/tools/site/secrets — Request approval or store a new secret

Scopes (ALL): ["site:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

removeSiteSecret

DELETE /api/v1/tools/site/secrets/{name} — Request approval or delete a stored secret

Scopes (ALL): ["site:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права

rotateSiteSecret

PUT /api/v1/tools/site/secrets/{name} — Request approval or rotate a stored secret

Scopes (ALL): ["site:write"]. Auth (OR): [{"hubApiKey":[]},{"hubBearer":[]}].

Параметры, ответы и права