{
  "swagger": "2.0",
  "info": {
    "version": "1.0.0",
    "title": "GenuineX Sync Server",
    "description": "TODO: Add Description",
    "contact": {
      "email": "harry_walter@jackmorton.co.uk",
      "name": "Harry Walter"
    }
  },
  "host": "localhost:8080",
  "basePath": "/",
  "schemes": [
    "http"
  ],
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ],
  "paths": {
    "/api/trends/testing": {
      "delete": {
        "description": "Delete Trend",
        "summary": "ApiTrendsTesting_DELETE",
        "operationId": "ApiTrendsTestingDelete",
        "produces": [
          "application/json"
        ],
        "parameters": [],
        "responses": {
          "204": {
            "description": "No Content",
            "headers": {}
          }
        },
        "security": []
      },
      "put": {
        "description": "Update Trend",
        "summary": "ApiTrendsTesting_PUT",
        "operationId": "ApiTrendsTestingPut",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "body",
            "in": "body",
            "required": true,
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/Response"
            },
            "examples": {
              "application/json": {
                "id": "testing",
                "value": 6
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/api/trends/testing/increment": {
      "put": {
        "description": "Increment Trend",
        "summary": "ApiTrendsTestingIncrement_PUT",
        "operationId": "ApiTrendsTestingIncrementPut",
        "produces": [
          "application/json"
        ],
        "parameters": [],
        "responses": {
          "201": {
            "description": "Created",
            "schema": {
              "$ref": "#/definitions/Response"
            },
            "examples": {
              "application/json": {
                "id": "testing",
                "value": 7
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/api/config": {
      "get": {
        "description": "Get Config",
        "summary": "ApiConfig_GET",
        "operationId": "ApiConfigGet",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/Response1"
            },
            "examples": {
              "application/json": {
                "title": "10 Hot Consumer Trends 2019",
                "trends": [
                  {
                    "title": "Awareables",
                    "description": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
                    "icon": "",
                    "tint": "#0082F0"
                  },
                  {
                    "title": "Smart quarrels",
                    "description": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
                    "icon": "",
                    "tint": "#0FC373"
                  },
                  {
                    "title": "Spying apps",
                    "description": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
                    "icon": "",
                    "tint": "#FAD22D"
                  },
                  {
                    "title": "Enforced agreement",
                    "description": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
                    "icon": "",
                    "tint": "#0082F0"
                  },
                  {
                    "title": "Internet of skills",
                    "description": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
                    "icon": "",
                    "tint": "#AF78D2"
                  },
                  {
                    "title": "Zero-touch consumption",
                    "description": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
                    "icon": "",
                    "tint": "#FF8C0A"
                  },
                  {
                    "title": "Mental obesity",
                    "description": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
                    "icon": "",
                    "tint": "#0082F0"
                  },
                  {
                    "title": "Eco me",
                    "description": "Thirty-nine percent of consumers want an eco-smartwatch that measures their carbon footprint",
                    "icon": "",
                    "tint": "#0FC373"
                  },
                  {
                    "title": "My digital twin",
                    "description": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
                    "icon": "",
                    "tint": "#AF78D2"
                  },
                  {
                    "title": "5G automates society",
                    "description": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
                    "icon": "",
                    "tint": "#0082F0"
                  }
                ]
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/api/trends": {
      "post": {
        "description": "Add Trend",
        "summary": "ApiTrends_POST",
        "operationId": "ApiTrendsPost",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          },
          {
            "name": "body",
            "in": "body",
            "required": true,
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Created",
            "schema": {
              "$ref": "#/definitions/Response"
            },
            "examples": {
              "application/json": {
                "id": "testing",
                "value": 1
              }
            },
            "headers": {}
          }
        },
        "security": []
      },
      "get": {
        "description": "List Trends",
        "summary": "ApiTrends_GET",
        "operationId": "ApiTrendsGet",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Response"
              }
            },
            "examples": {
              "application/json": [
                {
                  "id": "testing",
                  "value": 6
                }
              ]
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/healthcheck": {
      "get": {
        "description": "Healthcheck",
        "summary": "Healthcheck_GET",
        "operationId": "HealthcheckGet",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "type": "string",
            "description": ""
          }
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "headers": {}
          }
        },
        "security": []
      }
    }
  },
  "definitions": {
    "Response1": {
      "title": "Response1",
      "example": {
        "title": "10 Hot Consumer Trends 2019",
        "trends": [
          {
            "title": "Awareables",
            "description": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
            "icon": "",
            "tint": "#0082F0"
          },
          {
            "title": "Smart quarrels",
            "description": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
            "icon": "",
            "tint": "#0FC373"
          },
          {
            "title": "Spying apps",
            "description": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
            "icon": "",
            "tint": "#FAD22D"
          },
          {
            "title": "Enforced agreement",
            "description": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
            "icon": "",
            "tint": "#0082F0"
          },
          {
            "title": "Internet of skills",
            "description": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
            "icon": "",
            "tint": "#AF78D2"
          },
          {
            "title": "Zero-touch consumption",
            "description": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
            "icon": "",
            "tint": "#FF8C0A"
          },
          {
            "title": "Mental obesity",
            "description": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
            "icon": "",
            "tint": "#0082F0"
          },
          {
            "title": "Eco me",
            "description": "Thirty-nine percent of consumers want an eco-smartwatch that measures their carbon footprint",
            "icon": "",
            "tint": "#0FC373"
          },
          {
            "title": "My digital twin",
            "description": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
            "icon": "",
            "tint": "#AF78D2"
          },
          {
            "title": "5G automates society",
            "description": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
            "icon": "",
            "tint": "#0082F0"
          }
        ]
      },
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        },
        "trends": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Trend"
          }
        }
      },
      "required": [
        "title",
        "trends"
      ]
    },
    "Trend": {
      "title": "Trend",
      "type": "object",
      "properties": {
        "title": {
          "example": "Awareables",
          "type": "string"
        },
        "description": {
          "example": "Six in ten virtual assistant users think devices that understand our moods will be mainstream in three years",
          "type": "string"
        },
        "icon": {
          "type": "string"
        },
        "tint": {
          "example": "#0082F0",
          "type": "string"
        }
      },
      "required": [
        "title",
        "description",
        "icon",
        "tint"
      ]
    },
    "Response": {
      "title": "Response",
      "example": {
        "id": "testing",
        "value": 7
      },
      "type": "object",
      "properties": {
        "id": {
          "example": "testing",
          "type": "string"
        },
        "value": {
          "example": 6,
          "type": "integer",
          "format": "int32"
        }
      },
      "required": [
        "id",
        "value"
      ]
    }
  },
  "tags": []
}
