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

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

REST: site

Обновлено

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

listPublicChannels

GET /api/v1/tools/public-channels — List and check the public channel of each messenger

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

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

removePublicChannel

DELETE /api/v1/tools/public-channels/{channel} — Unbind the public channel of one messenger

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

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

setPublicChannel

POST /api/v1/tools/public-channels/{channel} — Bind the public channel of one messenger

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

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

listSiteAccessRules

GET /api/v1/tools/site/access-rules — List the access rules of the site

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

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

setSiteAccessRule

PUT /api/v1/tools/site/access-rules — Open a page or a block of a page only to part of the audience

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

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

getSiteAccessTree

GET /api/v1/tools/site/access-rules/tree — Show the access rules on the published pages of a host

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

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

removeSiteAccessRule

DELETE /api/v1/tools/site/access-rules/{id} — Delete one access rule

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

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

issueSiteCheckoutKey

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

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

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

listSiteEgressOrigins

GET /api/v1/tools/site/egress-origins — List the exact origins form destinations may be sent to

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

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

setSiteEgressOrigins

PUT /api/v1/tools/site/egress-origins — Replace the exact origins form destinations may be sent to

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/{id} — Withdraw one page from the deployed site

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

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

getSitePageNudge

GET /api/v1/tools/site/pages/{id}/nudge — Read the nudge setting of one site page

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

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

setSitePageNudge

PUT /api/v1/tools/site/pages/{id}/nudge — Replace the nudge setting of one site page

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

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

getSitePageNudgeStats

GET /api/v1/tools/site/pages/{id}/nudge/stats — Read the nudge funnel of one site page

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

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

createSitePagePreview

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

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

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

listSitePasswords

GET /api/v1/tools/site/passwords — List the passwords of the site

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

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

setSitePassword

PUT /api/v1/tools/site/passwords — Create or change a named password for closed sections of the site

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

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

removeSitePassword

DELETE /api/v1/tools/site/passwords/{id} — Delete one password

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

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

revealSitePassword

POST /api/v1/tools/site/passwords/{id}/reveal — Show the value of one password

Scopes (ALL): ["site:read"]. 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":[]}].

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