{
  "openapi": "3.0.3",
  "info": {
    "title": "RF Amplifiers public content API",
    "version": "1.0.0",
    "description": "Read the published pages and posts and search the public content of RF Amplifiers."
  },
  "servers": [
    {
      "url": "https://rfamplifiers.com/wp-json"
    }
  ],
  "paths": {
    "/wp/v2/pages": {
      "get": {
        "operationId": "listPages",
        "summary": "List published pages",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": false,
            "description": "Limit results to those matching a string.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Maximum number of items to be returned in result set.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 10
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Current page of the collection.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            }
          },
          {
            "name": "slug",
            "in": "query",
            "required": false,
            "description": "Limit result set to posts with one or more specific slugs.",
            "schema": {
              "type": "array"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matching public records",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "integer"
                      },
                      "link": {
                        "type": "string",
                        "format": "uri"
                      },
                      "title": {
                        "type": "object",
                        "properties": {
                          "rendered": {
                            "type": "string"
                          }
                        }
                      },
                      "slug": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/wp/v2/posts": {
      "get": {
        "operationId": "listPosts",
        "summary": "List published posts",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": false,
            "description": "Limit results to those matching a string.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Maximum number of items to be returned in result set.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 10
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Current page of the collection.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            }
          },
          {
            "name": "slug",
            "in": "query",
            "required": false,
            "description": "Limit result set to posts with one or more specific slugs.",
            "schema": {
              "type": "array"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matching public records",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "integer"
                      },
                      "link": {
                        "type": "string",
                        "format": "uri"
                      },
                      "title": {
                        "type": "object",
                        "properties": {
                          "rendered": {
                            "type": "string"
                          }
                        }
                      },
                      "slug": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/wp/v2/search": {
      "get": {
        "operationId": "searchContent",
        "summary": "Search public site content",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": false,
            "description": "Limit results to those matching a string.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Maximum number of items to be returned in result set.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 10
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Current page of the collection.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matching public records",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "oneOf": [
                          {
                            "type": "integer"
                          },
                          {
                            "type": "string"
                          }
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string",
                        "format": "uri"
                      },
                      "subtype": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
