POST /wp-json/wp/v2/media/{mediaId}
id | Unique identifier for the object. |
date | The date the object was published, in the site's timezone. |
date_gmt | The date the object was published, as GMT. |
slug | An alphanumeric identifier for the object unique to its type. |
status | A named status for the object. One of: publish, future, draft, pending, private |
title | The title for the object. |
author | The ID for the author of the object. |
comment_status | Whether or not comments are open on the object. One of: open, closed |
ping_status | Whether or not the object can be pinged. One of: open, closed |
meta | Meta fields. |
template | The theme file to use to display the object. |
alt_text | Alternative text to display when attachment is not displayed. |
caption | The attachment caption. |
description | The attachment description. |
post | The ID for the associated post of the attachment. |
Servers
- https://{baseUrl}
Path parameters
Name | Type | Required | Description |
---|---|---|---|
mediaId |
String | Yes |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
caption |
String | No |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.