{
 "openapi": "3.1.0",
 "info": {
  "title": "AppFixHQ API",
  "version": "1.0.0",
  "description": "Read-only troubleshooting guides for everyday apps. Free; cite the guide url. 120 req/min per IP.",
  "contact": {
   "email": "hello@appfixhq.com",
   "url": "https://appfixhq.com/developers/"
  }
 },
 "servers": [
  {
   "url": "https://appfixhq.com"
  }
 ],
 "paths": {
  "/api/v1/search/": {
   "get": {
    "operationId": "searchFixes",
    "summary": "Search fix guides",
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "Problem in plain words"
     },
     {
      "name": "app",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      },
      "description": "App key from /api/v1/apps"
     },
     {
      "name": "platform",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      },
      "description": "iphone, android, mac, windows, web"
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      },
      "description": "1-20"
     }
    ],
    "responses": {
     "200": {
      "description": "Ranked guides",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "query": {
           "type": "string"
          },
          "app": {
           "type": [
            "string",
            "null"
           ]
          },
          "results": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "slug": {
              "type": "string"
             },
             "title": {
              "type": "string"
             },
             "url": {
              "type": "string"
             },
             "app": {
              "type": "string"
             },
             "appName": {
              "type": "string"
             },
             "symptom": {
              "type": "string"
             },
             "summary": {
              "type": "string"
             },
             "quickFix": {
              "type": "array"
             },
             "steps": {
              "type": "array"
             },
             "source": {
              "type": "string"
             },
             "sourceName": {
              "type": "string"
             },
             "lastChecked": {
              "type": "string"
             }
            }
           }
          }
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/guides/{slug}/": {
   "get": {
    "operationId": "getFix",
    "summary": "Get one guide",
    "parameters": [
     {
      "name": "slug",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Guide",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "slug": {
           "type": "string"
          },
          "title": {
           "type": "string"
          },
          "url": {
           "type": "string"
          },
          "app": {
           "type": "string"
          },
          "appName": {
           "type": "string"
          },
          "symptom": {
           "type": "string"
          },
          "summary": {
           "type": "string"
          },
          "quickFix": {
           "type": "array"
          },
          "steps": {
           "type": "array"
          },
          "source": {
           "type": "string"
          },
          "sourceName": {
           "type": "string"
          },
          "lastChecked": {
           "type": "string"
          }
         }
        }
       }
      }
     },
     "404": {
      "description": "Not found"
     }
    }
   }
  },
  "/api/v1/apps/": {
   "get": {
    "operationId": "listApps",
    "summary": "Supported apps",
    "responses": {
     "200": {
      "description": "Apps"
     }
    }
   }
  }
 }
}