Для 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":[]}].