blob: cadfb6e3c0dfb06a88c198bcf2ec8644e2b64781 [file] [log] [blame]
{
"basePath": "/_ah/api",
"consumes": [
"application/json"
],
"definitions": {
"WebappSrcProtoModelDefaultResponse": {
"properties": {
"return_code": {
"enum": [
"SUCCESS",
"FAIL"
],
"type": "string"
}
},
"type": "object"
},
"WebappSrcProtoModelDeviceInfoMessage": {
"properties": {
"product": {
"type": "string"
},
"scheduling_status": {
"format": "int64",
"type": "string"
},
"serial": {
"type": "string"
},
"status": {
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"WebappSrcProtoModelHostInfoMessage": {
"properties": {
"devices": {
"description": "A message for representing an individual host's device entry.",
"items": {
"$ref": "#/definitions/WebappSrcProtoModelDeviceInfoMessage"
},
"type": "array"
},
"hostname": {
"type": "string"
}
},
"type": "object"
}
},
"host": "vtslab-schedule-prod.appspot.com",
"info": {
"description": "Endpoint API for host_info.",
"title": "host_info",
"version": "v1"
},
"paths": {
"/host_info/v1/set": {
"post": {
"operationId": "HostInfoApi_set",
"parameters": [
{
"in": "body",
"name": "body",
"schema": {
"$ref": "#/definitions/WebappSrcProtoModelHostInfoMessage"
}
}
],
"responses": {
"200": {
"description": "A successful response",
"schema": {
"$ref": "#/definitions/WebappSrcProtoModelDefaultResponse"
}
}
}
}
}
},
"produces": [
"application/json"
],
"schemes": [
"https"
],
"securityDefinitions": {
"google_id_token": {
"authorizationUrl": "",
"flow": "implicit",
"type": "oauth2",
"x-google-issuer": "https://accounts.google.com",
"x-google-jwks_uri": "https://www.googleapis.com/oauth2/v3/certs"
}
},
"swagger": "2.0"
}