GET /wp-json/wp/v2/comments
context | Scope under which the request is made; determines fields present in response. Default: view One of: view, embed, edit |
page | Current page of the collection. Default: 1 |
per_page | Maximum number of items to be returned in result set. Default: 10 |
search | Limit results to those matching a string. |
after | Limit response to comments published after a given ISO8601 compliant date. |
author | Limit result set to comments assigned to specific user IDs. Requires authorization. |
author_exclude | Ensure result set excludes comments assigned to specific user IDs. Requires authorization. |
author_email | Limit result set to that from specific author email. Requires authorization. |
before | Limit response to comments published before a given ISO8601 compliant date. |
exclude | Ensure result set excludes specific IDs. |
include | Limit result set to specific IDs. |
offset | Offset the result set by a specific number of items. |
order | Order sort attribute ascending or descending. Default: desc One of: asc, desc |
orderby | Sort collection by object attribute. Default:** date_gmt** One of: date, date_gmt, id, include, post, parent, type |
parent | Limit result set to comments of specific parent IDs. |
parent_exclude | Ensure result set excludes specific parent IDs. |
post | Limit result set to comments assigned to specific post IDs. |
status | Limit result set to comments assigned a specific status. Requires authorization. Default: approve |
type | Limit result set to comments assigned a specific type. Requires authorization. Default: comment |
password | The password for the post if it is password protected. |
Servers
- https://{baseUrl}
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.