Genter
genterPut documentation into Genter Book and publish it: sites, Markdown pages, translations, publishing, members, invitations, and agents.
Acciones disponibles (29)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create Book InvitationGENTER_BOOK_CREATE_INVITEAcciónCreate a reader invitation link for a Genter Book site. Requires readers.manage. Treat the returned URL and token as secrets.
GENTER_BOOK_CREATE_INVITEAcciónCreate a reader invitation link for a Genter Book site. Requires readers.manage. Treat the returned URL and token as secrets.
Parámetros de entrada
emailstringOptional email address allowed to accept the reader invitation.
siteIdstringObligatorioSite ID or slug whose readers may accept the invitation.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Book: Create SiteGENTER_BOOK_CREATE_SITEAcciónCreate a Genter Book site, optionally with starter pages and initial config.
GENTER_BOOK_CREATE_SITEAcciónCreate a Genter Book site, optionally with starter pages and initial config.
Parámetros de entrada
namestringObligatorioName of the new Book site.
slugstringOptional site slug.
configobjectOptional initial site config. Arbitrary config keys are supported.
starterbooleanWhether to add starter pages. Defaults to true.
visibilitystringenumOptional initial site visibility.
publiclinkprivatedescriptionstringOptional site description.
default_languagestringOptional initial default language code.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Book: Get Current IdentityGENTER_BOOK_GET_CURRENT_IDENTITYAcciónReturn the authenticated Genter Book principal and current organization.
GENTER_BOOK_GET_CURRENT_IDENTITYAcciónReturn the authenticated Genter Book principal and current organization.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Book: Get SiteGENTER_BOOK_GET_SITEAcciónGet one Genter Book site by ID or slug.
GENTER_BOOK_GET_SITEAcciónGet one Genter Book site by ID or slug.
Parámetros de entrada
sitestringObligatorioSite ID or slug.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Book: Get Site ConfigGENTER_BOOK_GET_SITE_CONFIGAcciónGet the effective and stored config for a Genter Book site.
GENTER_BOOK_GET_SITE_CONFIGAcciónGet the effective and stored config for a Genter Book site.
Parámetros de entrada
sitestringObligatorioSite ID or slug.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Book AgentsGENTER_BOOK_LIST_AGENTSAcciónList Genter Book agents and non-secret key metadata. Secret keys are never returned.
GENTER_BOOK_LIST_AGENTSAcciónList Genter Book agents and non-secret key metadata. Secret keys are never returned.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Book InvitationsGENTER_BOOK_LIST_INVITESAcciónList pending Genter Book invitations. Sensitive token and URL fields appear only when the caller may revoke the invitation.
GENTER_BOOK_LIST_INVITESAcciónList pending Genter Book invitations. Sensitive token and URL fields appear only when the caller may revoke the invitation.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Book MembersGENTER_BOOK_LIST_MEMBERSAcciónList members of the Genter Book organization available to the connected gdk_ agent.
GENTER_BOOK_LIST_MEMBERSAcciónList members of the Genter Book organization available to the connected gdk_ agent.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Book: List SitesGENTER_BOOK_LIST_SITESAcciónList Genter Book sites visible in the current organization.
GENTER_BOOK_LIST_SITESAcciónList Genter Book sites visible in the current organization.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Book: Merge Site ConfigGENTER_BOOK_MERGE_SITE_CONFIGAcciónDeep-merge an object into a Genter Book site's stored config.
GENTER_BOOK_MERGE_SITE_CONFIGAcciónDeep-merge an object into a Genter Book site's stored config.
Parámetros de entrada
sitestringObligatorioSite ID or slug.
configobjectObligatorioConfig object to deep-merge into the stored config. Arbitrary keys are supported.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Book: Replace Site ConfigGENTER_BOOK_REPLACE_SITE_CONFIGAcciónReplace all stored config for a Genter Book site with the supplied object.
GENTER_BOOK_REPLACE_SITE_CONFIGAcciónReplace all stored config for a Genter Book site with the supplied object.
Parámetros de entrada
sitestringObligatorioSite ID or slug.
configobjectObligatorioComplete replacement stored config. Arbitrary keys are supported.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Book: Update SiteGENTER_BOOK_UPDATE_SITEAcciónWith the agent write role, update a Genter Book site's name, description, default language, languages, or config. Omitted fields remain unchanged; config values are deep-merged. Owner-only slug, visibility, and custom-domain changes are not supported.
GENTER_BOOK_UPDATE_SITEAcciónWith the agent write role, update a Genter Book site's name, description, default language, languages, or config. Omitted fields remain unchanged; config values are deep-merged. Owner-only slug, visibility, and custom-domain changes are not supported.
Parámetros de entrada
namestringNew site name.
sitestringObligatorioSite ID or slug.
configobjectConfig values to deep-merge into the stored site config.
languagesstring[]New site language list.
descriptionstringNew site description. Requires the agent write role.
default_languagestringNew default language code.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Bulk Upsert Book PagesGENTER_BULK_UPSERT_BOOK_PAGESAcciónCreate or update multiple Genter Book pages without deleting omitted pages.
GENTER_BULK_UPSERT_BOOK_PAGESAcciónCreate or update multiple Genter Book pages without deleting omitted pages.
Parámetros de entrada
langstringDefault language for entries without lang.
sitestringObligatorioSite ID or slug.
pagesobject[]ObligatorioPages to create or update. The API documents no batch-size limit.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Fact Approval LinkGENTER_CREATE_FACT_APPROVAL_LINKAcciónCreate a sensitive one-time link that lets its recipient approve a fact without signing in. The link expires after seven days and requires write permission.
GENTER_CREATE_FACT_APPROVAL_LINKAcciónCreate a sensitive one-time link that lets its recipient approve a fact without signing in. The link expires after seven days and requires write permission.
Parámetros de entrada
keystringObligatorioFact key to request approval for.
sitestringObligatorioSite ID or slug containing the fact.
recipientstringPerson receiving the link; Genter records this with the approval.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Book PageGENTER_GET_BOOK_PAGEAcciónRead one Genter Book page by path and optional language.
GENTER_GET_BOOK_PAGEAcciónRead one Genter Book page by path and optional language.
Parámetros de entrada
langstringLanguage code; defaults to the site's default language.
pathstringObligatorioPage path, including slashes; use `index` for the home page.
sitestringObligatorioSite ID or slug.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Book Translation StatusGENTER_GET_BOOK_TRANSLATION_STATUSAcciónGet complete, unpaginated translation status for one language of a Genter Book site.
GENTER_GET_BOOK_TRANSLATION_STATUSAcciónGet complete, unpaginated translation status for one language of a Genter Book site.
Parámetros de entrada
langstringObligatorioTranslation language code.
sitestringObligatorioSite ID or slug.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Site DomainGENTER_GET_SITE_DOMAINAcciónGet a Genter Book site's custom-domain status on Vercel and the DNS records that need to be configured.
GENTER_GET_SITE_DOMAINAcciónGet a Genter Book site's custom-domain status on Vercel and the DNS records that need to be configured.
Parámetros de entrada
sitestringObligatorioSite ID or slug whose domain status to get.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Book ActivityGENTER_LIST_BOOK_ACTIVITYAcciónReturn the Genter Book activity feed, optionally for one site. The response contains sensitive actor and resource activity data.
GENTER_LIST_BOOK_ACTIVITYAcciónReturn the Genter Book activity feed, optionally for one site. The response contains sensitive actor and resource activity data.
Parámetros de entrada
sitestringOptional site ID or slug to filter the activity feed.
limitintegerMaximum activity entries to return, from 1 through 200; defaults to 50.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Book PagesGENTER_LIST_BOOK_PAGESAcciónList all pages for a Genter Book site and language. This endpoint is unpaginated and returns the complete matching list.
GENTER_LIST_BOOK_PAGESAcciónList all pages for a Genter Book site and language. This endpoint is unpaginated and returns the complete matching list.
Parámetros de entrada
bodystringSet to `1` to include Markdown page bodies.
langstringLanguage code, or `all` for every language.
sitestringObligatorioSite ID or slug.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Site BuildsGENTER_LIST_SITE_BUILDSAcciónReturn the last 10 builds for a Genter Book site.
GENTER_LIST_SITE_BUILDSAcciónReturn the last 10 builds for a Genter Book site.
Parámetros de entrada
sitestringObligatorioSite ID or slug whose builds to list.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Site ReadersGENTER_LIST_SITE_READERSAcciónList the people who can access a private Genter Book site. The response contains sensitive identity and email data.
GENTER_LIST_SITE_READERSAcciónList the people who can access a private Genter Book site. The response contains sensitive identity and email data.
Parámetros de entrada
sitestringObligatorioPrivate site ID or slug whose readers to list.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Move Book PageGENTER_MOVE_BOOK_PAGEAcciónMove a Genter Book page and all language variants to another path, optionally retaining the old address as a redirect.
GENTER_MOVE_BOOK_PAGEAcciónMove a Genter Book page and all language variants to another path, optionally retaining the old address as a redirect.
Parámetros de entrada
sitestringObligatorioSite ID or slug.
to_pathstringObligatorioDestination page path.
redirectbooleanKeep the old address as a redirect. Defaults to true.
from_pathstringObligatorioCurrent page path. Every language is moved.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Publish SiteGENTER_PUBLISH_SITEAcciónBuild and publish a Genter Book site. This changes the live site and requires the publish permission.
GENTER_PUBLISH_SITEAcciónBuild and publish a Genter Book site. This changes the live site and requires the publish permission.
Parámetros de entrada
sitestringObligatorioSite ID or slug to publish.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Reorder Book PagesGENTER_REORDER_BOOK_PAGESAcciónSet a Genter Book language's complete sidebar order and sections.
GENTER_REORDER_BOOK_PAGESAcciónSet a Genter Book language's complete sidebar order and sections.
Parámetros de entrada
langstringLanguage whose sidebar order is being set.
sitestringObligatorioSite ID or slug.
orderarrayObligatorioComplete sidebar order as page-path strings or objects with path and optional section. The API documents no batch-size limit.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Rollback Site BuildGENTER_ROLLBACK_SITE_BUILDAcciónMake an earlier Genter Book build live. This changes the live site and requires the publish permission.
GENTER_ROLLBACK_SITE_BUILDAcciónMake an earlier Genter Book build live. This changes the live site and requires the publish permission.
Parámetros de entrada
idstringObligatorioBuild ID to make live.
sitestringObligatorioSite ID or slug to roll back.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search Book PagesGENTER_SEARCH_BOOK_PAGESAcciónSearch a Genter Book site's draft and visible pages. Hidden pages are excluded; the endpoint is unpaginated and returns at most limit results.
GENTER_SEARCH_BOOK_PAGESAcciónSearch a Genter Book site's draft and visible pages. Hidden pages are excluded; the endpoint is unpaginated and returns at most limit results.
Parámetros de entrada
langstringLanguage code; defaults to the site's default language.
sitestringObligatorioSite ID or slug.
limitintegerMaximum results to return (1-50).
querystringObligatorioText to search for.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Unpublish SiteGENTER_UNPUBLISH_SITEAcciónTake a published Genter Book site offline. This changes the live site and requires the publish permission.
GENTER_UNPUBLISH_SITEAcciónTake a published Genter Book site offline. This changes the live site and requires the publish permission.
Parámetros de entrada
sitestringObligatorioSite ID or slug to take offline.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upsert Book PageGENTER_UPSERT_BOOK_PAGEAcciónCreate or update one Genter Book page at a path.
GENTER_UPSERT_BOOK_PAGEAcciónCreate or update one Genter Book page at a path.
Parámetros de entrada
bodystringMarkdown page body.
iconstringPage icon.
langstringLanguage code; defaults to the site's default language.
pathstringObligatorioPage path, including slashes; use `index` for the home page.
sitestringObligatorioSite ID or slug.
titlestringPage title; required by Genter when creating a page.
sectionstringSidebar section.
positionintegerSidebar position.
source_revintegerSource revision followed by this translation.
visibilitystringenumPage visibility.
publicunlistedhiddendescriptionstringPage description.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Verify Site DomainGENTER_VERIFY_SITE_DOMAINAcciónAsk Vercel to verify a Genter Book site's custom domain now. This changes the domain verification state and requires write permission.
GENTER_VERIFY_SITE_DOMAINAcciónAsk Vercel to verify a Genter Book site's custom domain now. This changes the domain verification state and requires write permission.
Parámetros de entrada
sitestringObligatorioSite ID or slug whose domain to verify.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not