Volver al catálogo

WordPress.com

wordpress_com

Manage WordPress.com and Jetpack-connected sites, content, media, comments, Reader data, statistics, and supported platform features through the centralized WordPress.com API.

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

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

Create a non-public draft post on an authorized site. This tool never publishes content; use the returned post ID for review, update, and cleanup.

Parámetros de entrada

  • titlestringObligatorio

    Draft title as plain text.

  • contentstring

    Draft body as HTML or WordPress block markup.

  • excerptstring

    Optional draft excerpt.

  • site_idintegerObligatorio

    Numeric site ID returned by WORDPRESS_COM_LIST_SITES.

  • tag_idsinteger[]

    Tag IDs to assign.

  • category_idsinteger[]

    Category IDs to assign.

  • comment_statusstringenum

    Whether comments should be open if the draft is later published.

    openclosed
  • featured_media_idinteger

    Existing media item ID to use as the featured image.

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

Permanently delete an existing draft post after verifying it is still a draft. The tool refuses to delete published, scheduled, pending, or private posts.

Parámetros de entrada

  • post_idintegerObligatorio

    ID of a draft post to permanently delete.

  • site_idintegerObligatorio

    Numeric site ID returned by WORDPRESS_COM_LIST_SITES.

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

Get one post by ID in editable context, including raw content and its current status.

Parámetros de entrada

  • post_idintegerObligatorio

    Post ID returned by create, list, or search.

  • site_idintegerObligatorio

    Numeric site ID returned by WORDPRESS_COM_LIST_SITES.

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

Get concise identity, plan, capabilities, editable settings, and traffic summary for one authorized site. Settings or stats that are unavailable by capability are reported as unavailable without hiding valid site details.

Parámetros de entrada

  • site_idintegerObligatorio

    Numeric site ID returned by WORDPRESS_COM_LIST_SITES.

  • stats_periodstringenum

    Period for the traffic summary.

    dayweekmonthyear
  • stats_periodsinteger

    Number of periods to aggregate in the traffic summary.

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

List WordPress.com writing prompts for a site, optionally filtered by date or text, with agent-controlled pagination.

Parámetros de entrada

  • yearinteger

    Return the prompt calendar for this year.

  • afterstring

    Return prompts after this ISO 8601 date.

  • orderstringenum

    Sort direction by prompt date.

    ascdesc
  • beforestring

    Return prompts before this ISO 8601 date.

  • cursorstring

    Opaque continuation cursor returned by a previous call.

  • searchstring

    Limit prompts to text matching this query.

  • site_idintegerObligatorio

    Numeric site ID returned by WORDPRESS_COM_LIST_SITES.

  • page_sizeinteger

    Maximum prompts in this 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 CMS ResourcesWORDPRESS_COM_LIST_CMS_RESOURCESAcción

List categories, tags, comments, media, or users for an authorized site through one consistent paginated read tool.

Parámetros de entrada

  • cursorstring

    Opaque continuation cursor returned by a previous call.

  • searchstring

    Limit results to records matching this text where the resource supports search.

  • site_idintegerObligatorio

    Numeric site ID returned by WORDPRESS_COM_LIST_SITES.

  • resourcestringObligatorioenum

    CMS resource collection to list.

    categoriestagscommentsmediausers
  • page_sizeinteger

    Maximum resources in this 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 ContentWORDPRESS_COM_LIST_CONTENTAcción

List and search editable posts or pages on an authorized site, including drafts, with compact raw and rendered content fields and agent-controlled pagination.

Parámetros de entrada

  • orderstringenum

    Sort direction.

    ascdesc
  • cursorstring

    Opaque continuation cursor returned by a previous call.

  • searchstring

    Limit results to content matching this text.

  • site_idintegerObligatorio

    Numeric site ID returned by WORDPRESS_COM_LIST_SITES.

  • order_bystringenum

    Field used to sort results.

    dateidmodifiedrelevanceslugtitle
  • statusesstring[]

    Filter by provider-defined status names such as draft, pending, private, future, or publish. WordPress sites may register custom statuses; omit this field to use the provider default.

  • author_idinteger

    Limit results to one author ID.

  • page_sizeinteger

    Maximum content items in this page.

  • content_typestringObligatorioenum

    Content collection to list: posts or pages.

    postspages

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

List feeds and sites followed by the connected WordPress.com account without changing subscriptions.

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

List every WordPress.com or Jetpack-connected site authorized by the global OAuth account, returning stable numeric site IDs and concise capability and plan summaries for use with other tools.

Parámetros de entrada

  • activitystringenum

    Include all sites or filter by active or inactive status.

    allactiveinactive
  • visibilitystringenum

    Include all authorized sites or only sites visible or hidden in the user's site list.

    allvisiblehidden

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

Update title, body, excerpt, taxonomy, featured media, or comment policy for an existing draft. Provide at least one field to update. The tool refuses to modify a post whose current status is not draft.

Parámetros de entrada

  • titlestring

    Replacement draft title.

  • contentstring

    Replacement draft body as HTML or WordPress block markup.

  • excerptstring

    Replacement excerpt.

  • post_idintegerObligatorio

    ID of a draft post to update.

  • site_idintegerObligatorio

    Numeric site ID returned by WORDPRESS_COM_LIST_SITES.

  • tag_idsinteger[]

    Replacement tag IDs; use an empty list to clear them.

  • category_idsinteger[]

    Replacement category IDs; use an empty list to clear them.

  • comment_statusstringenum

    Replacement comment policy.

    openclosed
  • featured_media_idinteger

    Replacement featured media ID; use 0 to remove 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