Back to top

API Documentation

Resource Group

Polls API Root

Retrieve the Entry Point
GET/

Example URI

GET /
Response  200
HideShow
Headers
Content-Type: application/json
Body
{
  "Human": {
    "name": "Spencer-Churchill",
    "role": "Hello, world!",
    "workHistory": {
      "name": "Apiary",
      "founder": {
        "name": "Spencer-Churchill"
      },
      "founded": 2011,
      "address": {
        "street": "235 Ninth Street",
        "city": "San Francisco",
        "state": "California"
      }
    }
  }
}
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "Human": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The Person's name"
        },
        "role": {
          "type": "string",
          "description": "The administrators role"
        },
        "workHistory": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "founder": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "The Person's name"
                }
              }
            },
            "founded": {
              "type": "number",
              "description": "The year in which the company was founded"
            },
            "address": {
              "type": "object",
              "properties": {
                "street": {
                  "type": "string"
                },
                "city": {
                  "type": "string"
                },
                "state": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}

Generated by aglio on 30 Nov 2017