{
  "name": "InHouseIntegration",
  "id": "http://com.ingrammicro/appstore/inhouse-integration/1.0",
  "apsVersion": "2.0",
  "implements": [
    "http://aps-standard.org/abstract/types/unlimited-resource/1.0"
  ],
  "access": {
    "global": true
  },
  "operations": {
    "getAllApps": {
      "path": "/getAllApps",
      "verb": "GET",
      "response": {
        "type": "array",
        "items": {
          "type": "AppItem"
        }
      },
      "errorResponse": {
        "type": "object"
      },
      "parameters": {
        "name": {
          "kind": "query",
          "type": "string"
        },
        "limit": {
          "kind": "query",
          "type": "integer"
        },
        "offset": {
          "kind": "query",
          "type": "integer"
        }
      }
    },
    "getApp": {
      "path": "/getApp",
      "verb": "GET",
      "response": {
        "type": "AppItem"
      },
      "errorResponse": {
        "type": "object"
      },
      "parameters": {
        "appId": {
          "kind": "query",
          "type": "string"
        },
        "withProductItems": {
          "kind": "query",
          "type": "boolean"
        }
      }
    },
    "getAppItems": {
      "path": "/getAppItems",
      "verb": "GET",
      "response": {
        "type": "array",
        "items": {
          "type": "AppProductItem"
        }
      },
      "errorResponse": {
        "type": "object"
      },
      "parameters": {
        "appId": {
          "kind": "query",
          "type": "string"
        }
      }
    }
  },
  "structures": {
    "AppItem": {
      "type": "object"
    },
    "App": {
      "type": "object"
    },
    "AppProductItem": {
      "type": "object"
    }
  }
}