Volver al catálogo

Siteleaf

siteleaf

A friendly CMS for static sites. Powered by Jekyll, with GitHub sync, and a complete API.

Acciones
35
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 (35)

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.

Cancel JobSITELEAF_CANCEL_JOBAcción

Cancel an active Siteleaf job by job ID. This irreversibly requests that the job stop.

Parámetros de entrada

  • job_idstringObligatorio

    Active Siteleaf job ID, such as one returned by publishing.

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

Create a content collection in a Siteleaf site.

Parámetros de entrada

  • pathstring

    Collection path; Siteleaf derives one from the title when omitted.

  • titlestringObligatorio

    Collection title.

  • outputboolean

    Whether Siteleaf should generate output pages for this collection.

  • site_idstringObligatorio

    Site that will contain the collection.

  • metadataobject

    Collection custom metadata.

  • permalinkstring

    Collection permalink template.

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

Upload one static file to a Siteleaf collection identified by its path. This action cannot create collection documents or content files with YAML front matter.

Parámetros de entrada

  • fileobjectObligatorio

    One static file to upload. This endpoint is only for static files and cannot create collection documents or content files with YAML front matter.

  • site_idstringObligatorio

    Site containing the collection.

  • collection_pathstringObligatorio

    Path identifying the collection where the static file will be uploaded.

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

Create a document in a Siteleaf collection with content, taxonomy, metadata, and visibility.

Parámetros de entrada

  • bodystring

    Document body content.

  • datestringdate-time

    Document date in ISO 8601 format.

  • pathstring

    Document path relative to the collection.

  • tagsstring[]

    Tags assigned to the document.

  • titlestringObligatorio

    Document title.

  • site_idstringObligatorio

    Site containing the collection.

  • metadataobject

    Document custom metadata.

  • permalinkstring

    Custom document permalink.

  • categoriesstring[]

    Categories assigned to the document.

  • visibilitystringenum

    Initial document visibility; provider docs list visible|hidden for writes, draft is a read-only state.

    visiblehidden
  • collection_pathstringObligatorio

    Collection that will contain the document.

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

Create a page in a Siteleaf site.

Parámetros de entrada

  • bodystring

    Page body content.

  • datestringdate-time

    Page date in ISO 8601 format.

  • pathstring

    Page path within the site.

  • titlestringObligatorio

    Page title.

  • site_idstringObligatorio

    Site that will contain the page.

  • metadataobject

    Page custom metadata.

  • permalinkstring

    Custom permalink.

  • visibilitystringenum

    Initial page visibility.

    visiblehidden

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

Grant a Siteleaf user an admin, publisher, or writer role on a site.

Parámetros de entrada

  • kindstringObligatorioenum

    Role level to grant: admin, publisher, or writer.

    adminpublisherwriter
  • site_idstringObligatorio

    Site on which access is granted.

  • user_idstringObligatorio

    Siteleaf user receiving access.

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

Create a Siteleaf site with its domain, timezone, metadata, and defaults.

Parámetros de entrada

  • emptyboolean

    Create the site without Siteleaf starter content when true.

  • titlestringObligatorio

    Human-readable site title.

  • domainstringObligatorio

    Domain assigned to the site.

  • defaultsobject[]

    Jekyll default value definitions applied to scoped content.

  • metadataobject

    Arbitrary site-level custom metadata.

  • timezonestring

    Site timezone name; defaults to UTC.

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

Delete CollectionSITELEAF_DELETE_COLLECTIONAcción

Permanently delete a Siteleaf collection by site ID and collection path. This cannot be undone.

Parámetros de entrada

  • site_idstringObligatorio

    ID of the Siteleaf site containing the collection.

  • collection_pathstringObligatorio

    Path of the collection to permanently delete.

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

Delete DocumentSITELEAF_DELETE_DOCUMENTAcción

Permanently delete a Siteleaf document by ID. This cannot be undone.

Parámetros de entrada

  • document_idstringObligatorio

    ID of the document to permanently delete.

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

Delete PageSITELEAF_DELETE_PAGEAcción

Permanently delete a Siteleaf page by ID. This cannot be undone.

Parámetros de entrada

  • page_idstringObligatorio

    ID of the Siteleaf page to permanently delete.

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

Delete RoleSITELEAF_DELETE_ROLEAcción

Delete a Siteleaf role by ID, removing the user's access to its site.

Parámetros de entrada

  • role_idstringObligatorio

    ID of the Siteleaf role to delete, removing the user's site access.

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

Delete SiteSITELEAF_DELETE_SITEAcción

Permanently delete a Siteleaf site by ID. This cannot be undone.

Parámetros de entrada

  • site_idstringObligatorio

    ID of the Siteleaf site to permanently delete.

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

Delete Source FileSITELEAF_DELETE_SOURCEAcción

Permanently delete one raw source file from a Siteleaf site. Directories and _config.yml are protected and cannot be deleted.

Parámetros de entrada

  • site_idstringObligatorio

    ID of the Siteleaf site containing the source file.

  • source_namestringObligatorio

    Relative source filename or nested file path to permanently delete. Directories and _config.yml cannot be deleted.

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

Get a collection by site ID and collection path.

Parámetros de entrada

  • site_idstringObligatorio

    Site containing the collection.

  • collection_pathstringObligatorio

    Existing collection path.

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

Return the Siteleaf user authenticated by the connected API key.

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

Get DocumentSITELEAF_GET_DOCUMENTAcción

Get a Siteleaf document by ID.

Parámetros de entrada

  • document_idstringObligatorio

    Siteleaf document ID.

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

Get the complete buffered status stream for a Siteleaf job, including all status events and the latest status details. The call waits until Siteleaf closes the event stream.

Parámetros de entrada

  • job_idstringObligatorio

    Siteleaf job ID, such as one returned by publishing a site.

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

Get a Siteleaf page by ID.

Parámetros de entrada

  • page_idstringObligatorio

    Siteleaf page ID.

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

Get a Siteleaf site-access role by ID.

Parámetros de entrada

  • role_idstringObligatorio

    Siteleaf role ID.

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

Get one Siteleaf site by ID, including its settings and current or most recent preview, publish, and synchronization job states.

Parámetros de entrada

  • site_idstringObligatorio

    Siteleaf site ID.

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

Return the unique post tags and categories used by a Siteleaf site.

Parámetros de entrada

  • site_idstringObligatorio

    Site whose post taxonomy should be read.

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

Get raw source-file metadata or list a source directory for a Siteleaf site.

Parámetros de entrada

  • site_idstringObligatorio

    Site whose source tree should be read.

  • source_namestring

    File or directory path; omit to list the source root.

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

Search and list static files in a Siteleaf collection with sorting and agent-controlled pagination.

Parámetros de entrada

  • sortstring

    Sort as field-asc or field-desc, such as filename-asc or created_at-desc.

  • querystring

    Search files by filename.

  • site_idstringObligatorio

    Site containing the collection.

  • per_pageinteger

    Number of files to request in this page; Siteleaf documents no maximum.

  • next_cursorstring

    Opaque continuation cursor returned by a previous call; omit for the first page.

  • collection_pathstringObligatorio

    Collection path.

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

List content collections in a Siteleaf site with agent-controlled pagination.

Parámetros de entrada

  • site_idstringObligatorio

    Site whose collections should be listed.

  • per_pageinteger

    Number of collections to request in this page; Siteleaf documents no maximum.

  • next_cursorstring

    Opaque continuation cursor returned by a previous call; omit for the first page.

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

Search and list documents in a Siteleaf collection with visibility, extension, sorting, and pagination filters.

Parámetros de entrada

  • sortstring

    Sort as field-asc or field-desc, such as title-asc or created_at-desc.

  • querystring

    Search document titles and paths.

  • site_idstringObligatorio

    Site containing the collection.

  • per_pageinteger

    Number of documents to request in this page; Siteleaf documents no maximum.

  • extensionsstring

    Comma-separated filename extensions.

  • visibilitystringenum

    Filter documents by visibility.

    visiblehiddendraft
  • next_cursorstring

    Opaque continuation cursor returned by a previous call; omit for the first page.

  • collection_pathstringObligatorio

    Collection whose documents should be listed.

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

Search and list pages in a Siteleaf site with visibility, extension, sorting, and pagination filters.

Parámetros de entrada

  • sortstring

    Sort as field-asc or field-desc, such as title-asc or created_at-desc.

  • querystring

    Search page titles and paths.

  • site_idstringObligatorio

    Site whose pages should be listed.

  • per_pageinteger

    Number of pages to request in this page; Siteleaf documents no maximum.

  • extensionsstring

    Comma-separated filename extensions; Siteleaf supports markdown aliases.

  • visibilitystringenum

    Filter pages by visibility.

    visiblehidden
  • next_cursorstring

    Opaque continuation cursor returned by a previous call; omit for the first page.

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

List sites accessible to the connected Siteleaf account, with optional sorting and agent-controlled pagination.

Parámetros de entrada

  • sortstring

    Sort expression in field-asc or field-desc form.

  • per_pageinteger

    Number of sites to request in this page; Siteleaf documents no maximum.

  • next_cursorstring

    Opaque continuation cursor returned by a previous call; omit for the first page.

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

List users who have access to a Siteleaf site with agent-controlled pagination.

Parámetros de entrada

  • site_idstringObligatorio

    Site whose users should be listed.

  • per_pageinteger

    Number of users to request in this page; Siteleaf documents no maximum.

  • next_cursorstring

    Opaque continuation cursor returned by a previous call; omit for the first page.

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

Start an asynchronous compile-and-publish job for a Siteleaf site and return its job ID. This publishes externally visible site content and does not wait for job completion.

Parámetros de entrada

  • site_idstringObligatorio

    ID of the Siteleaf site 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

Update CollectionSITELEAF_UPDATE_COLLECTIONAcción

Update at least one of a collection's title, path, permalink, output behavior, or metadata.

Parámetros de entrada

  • titlestring

    Replacement collection title.

  • outputboolean

    Whether collection documents generate output.

  • site_idstringObligatorio

    Site containing the collection.

  • metadataobject

    Replacement collection custom metadata object.

  • new_pathstring

    Replacement collection path.

  • permalinkstring

    Replacement permalink template.

  • collection_pathstringObligatorio

    Current collection path used to locate it.

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

Update DocumentSITELEAF_UPDATE_DOCUMENTAcción

Update at least one of a document's content, path, taxonomy, visibility, metadata, or date.

Parámetros de entrada

  • bodystring

    Replacement document body content.

  • datestring

    Replacement document date in ISO 8601 format.

  • pathstring

    Replacement document path.

  • tagsstring[]

    Replacement tags assigned to the document.

  • titlestring

    Replacement document title.

  • metadataobject

    Replacement document custom metadata object.

  • permalinkstring

    Replacement custom permalink.

  • categoriesstring[]

    Replacement categories assigned to the document.

  • visibilitystringenum

    Replacement document visibility; provider docs list visible|hidden for writes, draft is a read-only state.

    visiblehidden
  • document_idstringObligatorio

    Document to update.

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

Update PageSITELEAF_UPDATE_PAGEAcción

Update at least one of a page's content, path, visibility, metadata, or publication date.

Parámetros de entrada

  • bodystring

    Replacement page body content.

  • datestring

    Replacement page date in ISO 8601 format.

  • pathstring

    Replacement page path.

  • titlestring

    Replacement page title.

  • page_idstringObligatorio

    Page to update.

  • metadataobject

    Replacement page custom metadata object.

  • permalinkstring

    Replacement custom permalink.

  • visibilitystringenum

    Replacement page visibility.

    visiblehidden

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

Update RoleSITELEAF_UPDATE_ROLEAcción

Change an existing Siteleaf role to admin, publisher, or writer.

Parámetros de entrada

  • kindstringObligatorioenum

    Replacement role level: admin, publisher, or writer.

    adminpublisherwriter
  • role_idstringObligatorio

    Role to change.

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

Update SiteSITELEAF_UPDATE_SITEAcción

Update at least one of a site's title, domain, timezone, metadata, or Jekyll content defaults. Hosting credentials and repository sync are intentionally not accepted as agent inputs.

Parámetros de entrada

  • titlestring

    Replacement site title.

  • domainstring

    Replacement site domain.

  • site_idstringObligatorio

    Siteleaf site ID.

  • defaultsobject[]

    Replacement Jekyll content default definitions.

  • metadataobject

    Replacement site-level custom metadata object.

  • timezonestring

    Replacement site timezone.

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 or Replace Source FileSITELEAF_UPSERT_SOURCEAcción

Create or replace one raw source file in a Siteleaf site.

Parámetros de entrada

  • fileobjectObligatorio

    File content to upload as the new contents of the source file.

  • site_idstringObligatorio

    ID of the Siteleaf site where the source file will be stored.

  • source_namestringObligatorio

    Relative filename or nested path for the source file to create or replace.

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