Siteleaf
siteleafA friendly CMS for static sites. Powered by Jekyll, with GitHub sync, and a complete API.
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ónCancel an active Siteleaf job by job ID. This irreversibly requests that the job stop.
SITELEAF_CANCEL_JOBAcciónCancel an active Siteleaf job by job ID. This irreversibly requests that the job stop.
Parámetros de entrada
job_idstringObligatorioActive Siteleaf job ID, such as one returned by publishing.
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 CollectionSITELEAF_CREATE_COLLECTIONAcciónCreate a content collection in a Siteleaf site.
SITELEAF_CREATE_COLLECTIONAcciónCreate a content collection in a Siteleaf site.
Parámetros de entrada
pathstringCollection path; Siteleaf derives one from the title when omitted.
titlestringObligatorioCollection title.
outputbooleanWhether Siteleaf should generate output pages for this collection.
site_idstringObligatorioSite that will contain the collection.
metadataobjectCollection custom metadata.
permalinkstringCollection permalink template.
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 Collection FileSITELEAF_CREATE_COLLECTION_FILEAcciónUpload one static file to a Siteleaf collection identified by its path. This action cannot create collection documents or content files with YAML front matter.
SITELEAF_CREATE_COLLECTION_FILEAcciónUpload 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
fileobjectObligatorioOne static file to upload. This endpoint is only for static files and cannot create collection documents or content files with YAML front matter.
site_idstringObligatorioSite containing the collection.
collection_pathstringObligatorioPath identifying the collection where the static file will be uploaded.
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 DocumentSITELEAF_CREATE_DOCUMENTAcciónCreate a document in a Siteleaf collection with content, taxonomy, metadata, and visibility.
SITELEAF_CREATE_DOCUMENTAcciónCreate a document in a Siteleaf collection with content, taxonomy, metadata, and visibility.
Parámetros de entrada
bodystringDocument body content.
datestringdate-timeDocument date in ISO 8601 format.
pathstringDocument path relative to the collection.
tagsstring[]Tags assigned to the document.
titlestringObligatorioDocument title.
site_idstringObligatorioSite containing the collection.
metadataobjectDocument custom metadata.
permalinkstringCustom document permalink.
categoriesstring[]Categories assigned to the document.
visibilitystringenumInitial document visibility; provider docs list visible|hidden for writes, draft is a read-only state.
visiblehiddencollection_pathstringObligatorioCollection that will contain the document.
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 PageSITELEAF_CREATE_PAGEAcciónCreate a page in a Siteleaf site.
SITELEAF_CREATE_PAGEAcciónCreate a page in a Siteleaf site.
Parámetros de entrada
bodystringPage body content.
datestringdate-timePage date in ISO 8601 format.
pathstringPage path within the site.
titlestringObligatorioPage title.
site_idstringObligatorioSite that will contain the page.
metadataobjectPage custom metadata.
permalinkstringCustom permalink.
visibilitystringenumInitial page visibility.
visiblehidden
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 RoleSITELEAF_CREATE_ROLEAcciónGrant a Siteleaf user an admin, publisher, or writer role on a site.
SITELEAF_CREATE_ROLEAcciónGrant a Siteleaf user an admin, publisher, or writer role on a site.
Parámetros de entrada
kindstringObligatorioenumRole level to grant: admin, publisher, or writer.
adminpublisherwritersite_idstringObligatorioSite on which access is granted.
user_idstringObligatorioSiteleaf user receiving access.
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 SiteSITELEAF_CREATE_SITEAcciónCreate a Siteleaf site with its domain, timezone, metadata, and defaults.
SITELEAF_CREATE_SITEAcciónCreate a Siteleaf site with its domain, timezone, metadata, and defaults.
Parámetros de entrada
emptybooleanCreate the site without Siteleaf starter content when true.
titlestringObligatorioHuman-readable site title.
domainstringObligatorioDomain assigned to the site.
defaultsobject[]Jekyll default value definitions applied to scoped content.
metadataobjectArbitrary site-level custom metadata.
timezonestringSite timezone name; defaults to UTC.
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
Delete CollectionSITELEAF_DELETE_COLLECTIONAcciónPermanently delete a Siteleaf collection by site ID and collection path. This cannot be undone.
SITELEAF_DELETE_COLLECTIONAcciónPermanently delete a Siteleaf collection by site ID and collection path. This cannot be undone.
Parámetros de entrada
site_idstringObligatorioID of the Siteleaf site containing the collection.
collection_pathstringObligatorioPath of the collection to permanently delete.
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
Delete DocumentSITELEAF_DELETE_DOCUMENTAcciónPermanently delete a Siteleaf document by ID. This cannot be undone.
SITELEAF_DELETE_DOCUMENTAcciónPermanently delete a Siteleaf document by ID. This cannot be undone.
Parámetros de entrada
document_idstringObligatorioID of the document to permanently delete.
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
Delete PageSITELEAF_DELETE_PAGEAcciónPermanently delete a Siteleaf page by ID. This cannot be undone.
SITELEAF_DELETE_PAGEAcciónPermanently delete a Siteleaf page by ID. This cannot be undone.
Parámetros de entrada
page_idstringObligatorioID of the Siteleaf page to permanently delete.
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
Delete RoleSITELEAF_DELETE_ROLEAcciónDelete a Siteleaf role by ID, removing the user's access to its site.
SITELEAF_DELETE_ROLEAcciónDelete a Siteleaf role by ID, removing the user's access to its site.
Parámetros de entrada
role_idstringObligatorioID of the Siteleaf role to delete, removing the user's site access.
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
Delete SiteSITELEAF_DELETE_SITEAcciónPermanently delete a Siteleaf site by ID. This cannot be undone.
SITELEAF_DELETE_SITEAcciónPermanently delete a Siteleaf site by ID. This cannot be undone.
Parámetros de entrada
site_idstringObligatorioID of the Siteleaf site to permanently delete.
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
Delete Source FileSITELEAF_DELETE_SOURCEAcciónPermanently delete one raw source file from a Siteleaf site. Directories and _config.yml are protected and cannot be deleted.
SITELEAF_DELETE_SOURCEAcciónPermanently delete one raw source file from a Siteleaf site. Directories and _config.yml are protected and cannot be deleted.
Parámetros de entrada
site_idstringObligatorioID of the Siteleaf site containing the source file.
source_namestringObligatorioRelative source filename or nested file path to permanently delete. Directories and _config.yml cannot be deleted.
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 CollectionSITELEAF_GET_COLLECTIONAcciónGet a collection by site ID and collection path.
SITELEAF_GET_COLLECTIONAcciónGet a collection by site ID and collection path.
Parámetros de entrada
site_idstringObligatorioSite containing the collection.
collection_pathstringObligatorioExisting collection path.
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 Current UserSITELEAF_GET_CURRENT_USERAcciónReturn the Siteleaf user authenticated by the connected API key.
SITELEAF_GET_CURRENT_USERAcciónReturn the Siteleaf user authenticated by the connected API key.
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
Get DocumentSITELEAF_GET_DOCUMENTAcciónGet a Siteleaf document by ID.
SITELEAF_GET_DOCUMENTAcciónGet a Siteleaf document by ID.
Parámetros de entrada
document_idstringObligatorioSiteleaf document ID.
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 JobSITELEAF_GET_JOBAcciónGet 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.
SITELEAF_GET_JOBAcciónGet 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_idstringObligatorioSiteleaf job ID, such as one returned by publishing a site.
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 PageSITELEAF_GET_PAGEAcciónGet a Siteleaf page by ID.
SITELEAF_GET_PAGEAcciónGet a Siteleaf page by ID.
Parámetros de entrada
page_idstringObligatorioSiteleaf page ID.
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 RoleSITELEAF_GET_ROLEAcciónGet a Siteleaf site-access role by ID.
SITELEAF_GET_ROLEAcciónGet a Siteleaf site-access role by ID.
Parámetros de entrada
role_idstringObligatorioSiteleaf role ID.
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 SiteSITELEAF_GET_SITEAcciónGet one Siteleaf site by ID, including its settings and current or most recent preview, publish, and synchronization job states.
SITELEAF_GET_SITEAcciónGet one Siteleaf site by ID, including its settings and current or most recent preview, publish, and synchronization job states.
Parámetros de entrada
site_idstringObligatorioSiteleaf site ID.
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 TaxonomySITELEAF_GET_SITE_TAXONOMYAcciónReturn the unique post tags and categories used by a Siteleaf site.
SITELEAF_GET_SITE_TAXONOMYAcciónReturn the unique post tags and categories used by a Siteleaf site.
Parámetros de entrada
site_idstringObligatorioSite whose post taxonomy should be read.
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 SourceSITELEAF_GET_SOURCEAcciónGet raw source-file metadata or list a source directory for a Siteleaf site.
SITELEAF_GET_SOURCEAcciónGet raw source-file metadata or list a source directory for a Siteleaf site.
Parámetros de entrada
site_idstringObligatorioSite whose source tree should be read.
source_namestringFile or directory path; omit to list the source root.
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 Collection FilesSITELEAF_LIST_COLLECTION_FILESAcciónSearch and list static files in a Siteleaf collection with sorting and agent-controlled pagination.
SITELEAF_LIST_COLLECTION_FILESAcciónSearch and list static files in a Siteleaf collection with sorting and agent-controlled pagination.
Parámetros de entrada
sortstringSort as field-asc or field-desc, such as filename-asc or created_at-desc.
querystringSearch files by filename.
site_idstringObligatorioSite containing the collection.
per_pageintegerNumber of files to request in this page; Siteleaf documents no maximum.
next_cursorstringOpaque continuation cursor returned by a previous call; omit for the first page.
collection_pathstringObligatorioCollection path.
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 CollectionsSITELEAF_LIST_COLLECTIONSAcciónList content collections in a Siteleaf site with agent-controlled pagination.
SITELEAF_LIST_COLLECTIONSAcciónList content collections in a Siteleaf site with agent-controlled pagination.
Parámetros de entrada
site_idstringObligatorioSite whose collections should be listed.
per_pageintegerNumber of collections to request in this page; Siteleaf documents no maximum.
next_cursorstringOpaque continuation cursor returned by a previous call; omit for the first page.
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 DocumentsSITELEAF_LIST_DOCUMENTSAcciónSearch and list documents in a Siteleaf collection with visibility, extension, sorting, and pagination filters.
SITELEAF_LIST_DOCUMENTSAcciónSearch and list documents in a Siteleaf collection with visibility, extension, sorting, and pagination filters.
Parámetros de entrada
sortstringSort as field-asc or field-desc, such as title-asc or created_at-desc.
querystringSearch document titles and paths.
site_idstringObligatorioSite containing the collection.
per_pageintegerNumber of documents to request in this page; Siteleaf documents no maximum.
extensionsstringComma-separated filename extensions.
visibilitystringenumFilter documents by visibility.
visiblehiddendraftnext_cursorstringOpaque continuation cursor returned by a previous call; omit for the first page.
collection_pathstringObligatorioCollection whose documents should be listed.
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 PagesSITELEAF_LIST_PAGESAcciónSearch and list pages in a Siteleaf site with visibility, extension, sorting, and pagination filters.
SITELEAF_LIST_PAGESAcciónSearch and list pages in a Siteleaf site with visibility, extension, sorting, and pagination filters.
Parámetros de entrada
sortstringSort as field-asc or field-desc, such as title-asc or created_at-desc.
querystringSearch page titles and paths.
site_idstringObligatorioSite whose pages should be listed.
per_pageintegerNumber of pages to request in this page; Siteleaf documents no maximum.
extensionsstringComma-separated filename extensions; Siteleaf supports markdown aliases.
visibilitystringenumFilter pages by visibility.
visiblehiddennext_cursorstringOpaque continuation cursor returned by a previous call; omit for the first page.
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 SitesSITELEAF_LIST_SITESAcciónList sites accessible to the connected Siteleaf account, with optional sorting and agent-controlled pagination.
SITELEAF_LIST_SITESAcciónList sites accessible to the connected Siteleaf account, with optional sorting and agent-controlled pagination.
Parámetros de entrada
sortstringSort expression in field-asc or field-desc form.
per_pageintegerNumber of sites to request in this page; Siteleaf documents no maximum.
next_cursorstringOpaque continuation cursor returned by a previous call; omit for the first page.
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 UsersSITELEAF_LIST_SITE_USERSAcciónList users who have access to a Siteleaf site with agent-controlled pagination.
SITELEAF_LIST_SITE_USERSAcciónList users who have access to a Siteleaf site with agent-controlled pagination.
Parámetros de entrada
site_idstringObligatorioSite whose users should be listed.
per_pageintegerNumber of users to request in this page; Siteleaf documents no maximum.
next_cursorstringOpaque continuation cursor returned by a previous call; omit for the first page.
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 SiteSITELEAF_PUBLISH_SITEAcciónStart 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.
SITELEAF_PUBLISH_SITEAcciónStart 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_idstringObligatorioID of the Siteleaf site 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
Update CollectionSITELEAF_UPDATE_COLLECTIONAcciónUpdate at least one of a collection's title, path, permalink, output behavior, or metadata.
SITELEAF_UPDATE_COLLECTIONAcciónUpdate at least one of a collection's title, path, permalink, output behavior, or metadata.
Parámetros de entrada
titlestringReplacement collection title.
outputbooleanWhether collection documents generate output.
site_idstringObligatorioSite containing the collection.
metadataobjectReplacement collection custom metadata object.
new_pathstringReplacement collection path.
permalinkstringReplacement permalink template.
collection_pathstringObligatorioCurrent collection path used to locate it.
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
Update DocumentSITELEAF_UPDATE_DOCUMENTAcciónUpdate at least one of a document's content, path, taxonomy, visibility, metadata, or date.
SITELEAF_UPDATE_DOCUMENTAcciónUpdate at least one of a document's content, path, taxonomy, visibility, metadata, or date.
Parámetros de entrada
bodystringReplacement document body content.
datestringReplacement document date in ISO 8601 format.
pathstringReplacement document path.
tagsstring[]Replacement tags assigned to the document.
titlestringReplacement document title.
metadataobjectReplacement document custom metadata object.
permalinkstringReplacement custom permalink.
categoriesstring[]Replacement categories assigned to the document.
visibilitystringenumReplacement document visibility; provider docs list visible|hidden for writes, draft is a read-only state.
visiblehiddendocument_idstringObligatorioDocument to update.
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
Update PageSITELEAF_UPDATE_PAGEAcciónUpdate at least one of a page's content, path, visibility, metadata, or publication date.
SITELEAF_UPDATE_PAGEAcciónUpdate at least one of a page's content, path, visibility, metadata, or publication date.
Parámetros de entrada
bodystringReplacement page body content.
datestringReplacement page date in ISO 8601 format.
pathstringReplacement page path.
titlestringReplacement page title.
page_idstringObligatorioPage to update.
metadataobjectReplacement page custom metadata object.
permalinkstringReplacement custom permalink.
visibilitystringenumReplacement page visibility.
visiblehidden
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
Update RoleSITELEAF_UPDATE_ROLEAcciónChange an existing Siteleaf role to admin, publisher, or writer.
SITELEAF_UPDATE_ROLEAcciónChange an existing Siteleaf role to admin, publisher, or writer.
Parámetros de entrada
kindstringObligatorioenumReplacement role level: admin, publisher, or writer.
adminpublisherwriterrole_idstringObligatorioRole to change.
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
Update SiteSITELEAF_UPDATE_SITEAcciónUpdate 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.
SITELEAF_UPDATE_SITEAcciónUpdate 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
titlestringReplacement site title.
domainstringReplacement site domain.
site_idstringObligatorioSiteleaf site ID.
defaultsobject[]Replacement Jekyll content default definitions.
metadataobjectReplacement site-level custom metadata object.
timezonestringReplacement site timezone.
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 or Replace Source FileSITELEAF_UPSERT_SOURCEAcciónCreate or replace one raw source file in a Siteleaf site.
SITELEAF_UPSERT_SOURCEAcciónCreate or replace one raw source file in a Siteleaf site.
Parámetros de entrada
fileobjectObligatorioFile content to upload as the new contents of the source file.
site_idstringObligatorioID of the Siteleaf site where the source file will be stored.
source_namestringObligatorioRelative filename or nested path for the source file to create or replace.
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