- "ErrorResult": {
- "type": "object",
- "properties": {
- "Error": {
- "$ref": "#/definitions/Error"
- }
- },
- "additionalProperties": false,
- "required": [
- "Error"
- ]
- },
- "Macaroon": {
- "type": "object",
- "properties": {
- "caveats": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/caveat"
- }
- },
- "data": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "id": {
- "$ref": "#/definitions/packet"
- },
- "location": {
- "$ref": "#/definitions/packet"
- },
- "sig": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "data",
- "location",
- "id",
- "caveats",
- "sig"
- ]
- },
- "caveat": {
- "type": "object",
- "properties": {
- "caveatId": {
- "$ref": "#/definitions/packet"
- },
- "location": {
- "$ref": "#/definitions/packet"
- },
- "verificationId": {
- "$ref": "#/definitions/packet"
- }
- },
- "additionalProperties": false,
- "required": [
- "location",
- "caveatId",
- "verificationId"
- ]
- },
- "packet": {
- "type": "object",
- "properties": {
- "headerLen": {
- "type": "integer"
- },
- "start": {
- "type": "integer"
- },
- "totalLen": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "start",
- "totalLen",
- "headerLen"
- ]
- }
- }
- }
- },
- {
- "Name": "Agent",
- "Version": 2,
- "Schema": {
- "type": "object",
- "properties": {
- "ClearReboot": {
- "type": "object",
- "properties": {
- "Params": {
- "$ref": "#/definitions/Entities"
- },
- "Result": {
- "$ref": "#/definitions/ErrorResults"
- }
- }
- },
- "GetEntities": {
- "type": "object",
- "properties": {
- "Params": {
- "$ref": "#/definitions/Entities"
- },
- "Result": {
- "$ref": "#/definitions/AgentGetEntitiesResults"
- }
- }
- },
- "IsMaster": {
- "type": "object",
- "properties": {
- "Result": {
- "$ref": "#/definitions/IsMasterResult"
- }
- }
- },
- "ModelConfig": {
- "type": "object",
- "properties": {
- "Result": {
- "$ref": "#/definitions/ModelConfigResult"
- }
- }
- },
- "SetPasswords": {
- "type": "object",
- "properties": {
- "Params": {
- "$ref": "#/definitions/EntityPasswords"
- },
- "Result": {
- "$ref": "#/definitions/ErrorResults"
- }
- }
- },
- "StateServingInfo": {
- "type": "object",
- "properties": {
- "Result": {
- "$ref": "#/definitions/StateServingInfo"
- }
- }
- },
- "WatchForModelConfigChanges": {
- "type": "object",
- "properties": {
- "Result": {
- "$ref": "#/definitions/NotifyWatchResult"
- }
- }
- }
- },
- "definitions": {
- "AgentGetEntitiesResult": {