Volver al catálogo

Genter

genter

Put documentation into Genter Book and publish it: sites, Markdown pages, translations, publishing, members, invitations, and agents.

Acciones
29
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Create a reader invitation link for a Genter Book site. Requires readers.manage. Treat the returned URL and token as secrets.

Parámetros de entrada

  • emailstring

    Optional email address allowed to accept the reader invitation.

  • siteIdstringObligatorio

    Site ID or slug whose readers may accept the invitation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Book: Create SiteGENTER_BOOK_CREATE_SITEAcción

Create a Genter Book site, optionally with starter pages and initial config.

Parámetros de entrada

  • namestringObligatorio

    Name of the new Book site.

  • slugstring

    Optional site slug.

  • configobject

    Optional initial site config. Arbitrary config keys are supported.

  • starterboolean

    Whether to add starter pages. Defaults to true.

  • visibilitystringenum

    Optional initial site visibility.

    publiclinkprivate
  • descriptionstring

    Optional site description.

  • default_languagestring

    Optional initial default language code.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Book: Get Current IdentityGENTER_BOOK_GET_CURRENT_IDENTITYAcción

Return the authenticated Genter Book principal and current organization.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Book: Get SiteGENTER_BOOK_GET_SITEAcción

Get one Genter Book site by ID or slug.

Parámetros de entrada

  • sitestringObligatorio

    Site ID or slug.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Book: Get Site ConfigGENTER_BOOK_GET_SITE_CONFIGAcción

Get the effective and stored config for a Genter Book site.

Parámetros de entrada

  • sitestringObligatorio

    Site ID or slug.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Book AgentsGENTER_BOOK_LIST_AGENTSAcción

List Genter Book agents and non-secret key metadata. Secret keys are never returned.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Book InvitationsGENTER_BOOK_LIST_INVITESAcción

List 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Book MembersGENTER_BOOK_LIST_MEMBERSAcción

List members of the Genter Book organization available to the connected gdk_ agent.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Book: List SitesGENTER_BOOK_LIST_SITESAcción

List Genter Book sites visible in the current organization.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Book: Merge Site ConfigGENTER_BOOK_MERGE_SITE_CONFIGAcción

Deep-merge an object into a Genter Book site's stored config.

Parámetros de entrada

  • sitestringObligatorio

    Site ID or slug.

  • configobjectObligatorio

    Config object to deep-merge into the stored config. Arbitrary keys are supported.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Book: Replace Site ConfigGENTER_BOOK_REPLACE_SITE_CONFIGAcción

Replace all stored config for a Genter Book site with the supplied object.

Parámetros de entrada

  • sitestringObligatorio

    Site ID or slug.

  • configobjectObligatorio

    Complete replacement stored config. Arbitrary keys are supported.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Book: Update SiteGENTER_BOOK_UPDATE_SITEAcción

With 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

  • namestring

    New site name.

  • sitestringObligatorio

    Site ID or slug.

  • configobject

    Config values to deep-merge into the stored site config.

  • languagesstring[]

    New site language list.

  • descriptionstring

    New site description. Requires the agent write role.

  • default_languagestring

    New default language code.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Bulk Upsert Book PagesGENTER_BULK_UPSERT_BOOK_PAGESAcción

Create or update multiple Genter Book pages without deleting omitted pages.

Parámetros de entrada

  • langstring

    Default language for entries without lang.

  • sitestringObligatorio

    Site ID or slug.

  • pagesobject[]Obligatorio

    Pages to create or update. The API documents no batch-size limit.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Fact Approval LinkGENTER_CREATE_FACT_APPROVAL_LINKAcción

Create 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

  • keystringObligatorio

    Fact key to request approval for.

  • sitestringObligatorio

    Site ID or slug containing the fact.

  • recipientstring

    Person receiving the link; Genter records this with the approval.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Book PageGENTER_GET_BOOK_PAGEAcción

Read one Genter Book page by path and optional language.

Parámetros de entrada

  • langstring

    Language code; defaults to the site's default language.

  • pathstringObligatorio

    Page path, including slashes; use `index` for the home page.

  • sitestringObligatorio

    Site ID or slug.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Book Translation StatusGENTER_GET_BOOK_TRANSLATION_STATUSAcción

Get complete, unpaginated translation status for one language of a Genter Book site.

Parámetros de entrada

  • langstringObligatorio

    Translation language code.

  • sitestringObligatorio

    Site ID or slug.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Site DomainGENTER_GET_SITE_DOMAINAcción

Get a Genter Book site's custom-domain status on Vercel and the DNS records that need to be configured.

Parámetros de entrada

  • sitestringObligatorio

    Site ID or slug whose domain status to get.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Book ActivityGENTER_LIST_BOOK_ACTIVITYAcción

Return the Genter Book activity feed, optionally for one site. The response contains sensitive actor and resource activity data.

Parámetros de entrada

  • sitestring

    Optional site ID or slug to filter the activity feed.

  • limitinteger

    Maximum activity entries to return, from 1 through 200; defaults to 50.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Book PagesGENTER_LIST_BOOK_PAGESAcción

List all pages for a Genter Book site and language. This endpoint is unpaginated and returns the complete matching list.

Parámetros de entrada

  • bodystring

    Set to `1` to include Markdown page bodies.

  • langstring

    Language code, or `all` for every language.

  • sitestringObligatorio

    Site ID or slug.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Site BuildsGENTER_LIST_SITE_BUILDSAcción

Return the last 10 builds for a Genter Book site.

Parámetros de entrada

  • sitestringObligatorio

    Site ID or slug whose builds to list.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Site ReadersGENTER_LIST_SITE_READERSAcción

List the people who can access a private Genter Book site. The response contains sensitive identity and email data.

Parámetros de entrada

  • sitestringObligatorio

    Private site ID or slug whose readers to list.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Move Book PageGENTER_MOVE_BOOK_PAGEAcción

Move a Genter Book page and all language variants to another path, optionally retaining the old address as a redirect.

Parámetros de entrada

  • sitestringObligatorio

    Site ID or slug.

  • to_pathstringObligatorio

    Destination page path.

  • redirectboolean

    Keep the old address as a redirect. Defaults to true.

  • from_pathstringObligatorio

    Current page path. Every language is moved.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Publish SiteGENTER_PUBLISH_SITEAcción

Build and publish a Genter Book site. This changes the live site and requires the publish permission.

Parámetros de entrada

  • sitestringObligatorio

    Site ID or slug to publish.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Reorder Book PagesGENTER_REORDER_BOOK_PAGESAcción

Set a Genter Book language's complete sidebar order and sections.

Parámetros de entrada

  • langstring

    Language whose sidebar order is being set.

  • sitestringObligatorio

    Site ID or slug.

  • orderarrayObligatorio

    Complete sidebar order as page-path strings or objects with path and optional section. The API documents no batch-size limit.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Rollback Site BuildGENTER_ROLLBACK_SITE_BUILDAcción

Make an earlier Genter Book build live. This changes the live site and requires the publish permission.

Parámetros de entrada

  • idstringObligatorio

    Build ID to make live.

  • sitestringObligatorio

    Site ID or slug to roll back.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search Book PagesGENTER_SEARCH_BOOK_PAGESAcción

Search 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

  • langstring

    Language code; defaults to the site's default language.

  • sitestringObligatorio

    Site ID or slug.

  • limitinteger

    Maximum results to return (1-50).

  • querystringObligatorio

    Text to search for.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Unpublish SiteGENTER_UNPUBLISH_SITEAcción

Take a published Genter Book site offline. This changes the live site and requires the publish permission.

Parámetros de entrada

  • sitestringObligatorio

    Site ID or slug to take offline.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upsert Book PageGENTER_UPSERT_BOOK_PAGEAcción

Create or update one Genter Book page at a path.

Parámetros de entrada

  • bodystring

    Markdown page body.

  • iconstring

    Page icon.

  • langstring

    Language code; defaults to the site's default language.

  • pathstringObligatorio

    Page path, including slashes; use `index` for the home page.

  • sitestringObligatorio

    Site ID or slug.

  • titlestring

    Page title; required by Genter when creating a page.

  • sectionstring

    Sidebar section.

  • positioninteger

    Sidebar position.

  • source_revinteger

    Source revision followed by this translation.

  • visibilitystringenum

    Page visibility.

    publicunlistedhidden
  • descriptionstring

    Page description.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Verify Site DomainGENTER_VERIFY_SITE_DOMAINAcción

Ask 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

  • sitestringObligatorio

    Site ID or slug whose domain to verify.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not