{
  "swagger": "2.0",
  "info": {
    "title": "device-client.d API",
    "version": "1.0.0",
    "description": "API documentation for the device-client.d application",
    "contact": {
      "name": "Ukama Inc.",
      "url": "http://www.ukama.com",
      "email": "hello@ukama.com"
    },
    "license": {
      "name": "Mozilla Public License 2.0 (MPLV2)",
      "url": "https://www.mozilla.org/en-US/MPL/2.0/"
    }
  },
  "host": "localhost:18004",
  "schemes": [
    "http"
  ],
  "paths": {
    "/v1/ping": {
      "get": {
        "summary": "Ping the server",
        "description": "Returns OK if the server is running",
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/v1/version": {
      "get": {
        "summary": "Get API version",
        "description": "Returns the API version",
        "responses": {
          "200": {
            "description": "Version",
            "schema": {
              "type": "string"
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/v1/reboot": {
      "post": {
        "summary": "Reboot the node with id",
        "description": "Reboot the node with the specified id",
        "responses": {
          "202": {
            "description": "Accepted",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}