{
  "opencollection": "1.0.0",
  "info": {
    "name": "WordPress REST Block Types Comments API",
    "version": "v2"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "wordpress_logged_in",
      "value": "{{wordpress_logged_in}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "Comments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "WordPress List Comments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{site}/wp-json/wp/v2/comments",
            "params": [
              {
                "name": "page",
                "value": "1",
                "type": "query",
                "description": "Current page of the collection."
              },
              {
                "name": "per_page",
                "value": "10",
                "type": "query",
                "description": "Maximum number of items to be returned."
              },
              {
                "name": "post",
                "value": "123",
                "type": "query",
                "description": "Limit result set to comments assigned to specific post IDs."
              },
              {
                "name": "status",
                "value": "approve",
                "type": "query",
                "description": "Limit result set to comments assigned a specific status."
              }
            ]
          },
          "docs": "Retrieves a collection of comments. Public endpoint returns approved comments."
        },
        {
          "info": {
            "name": "WordPress Create Comment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{site}/wp-json/wp/v2/comments",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new comment on a post."
        }
      ]
    }
  ],
  "bundled": true
}