},
"/subscriptions/{subscriptionId}": {
"delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
"tags": [
"common"
],
}
}
},
+ "SubscriptionInstance": {
+ "type": "object",
+ "required": [
+ "RequestorId",
+ "InstanceId"
+ ],
+ "properties": {
+ "InstanceId": {
+ "type": "integer"
+ },
+ "RequestorId": {
+ "type": "integer"
+ }
+ }
+ },
"SubscriptionList": {
"description": "A list of subscriptions",
"type": "array",
}
},
"SubscriptionResponse": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SubscriptionResponseItem"
- }
- },
- "SubscriptionResponseItem": {
"type": "object",
"required": [
"SubscriptionId",
- "RequestorId",
- "InstanceId"
+ "SubscriptionInstances"
],
"properties": {
- "InstanceId": {
- "type": "integer"
- },
- "RequestorId": {
- "type": "integer"
- },
"SubscriptionId": {
"type": "string"
+ },
+ "SubscriptionInstances": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubscriptionInstance"
+ }
}
}
},
},
"/subscriptions/{subscriptionId}": {
"delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
"tags": [
"common"
],
}
}
},
+ "SubscriptionInstance": {
+ "type": "object",
+ "required": [
+ "RequestorId",
+ "InstanceId"
+ ],
+ "properties": {
+ "InstanceId": {
+ "type": "integer"
+ },
+ "RequestorId": {
+ "type": "integer"
+ }
+ }
+ },
"SubscriptionList": {
"description": "A list of subscriptions",
"type": "array",
}
},
"SubscriptionResponse": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SubscriptionResponseItem"
- }
- },
- "SubscriptionResponseItem": {
"type": "object",
"required": [
"SubscriptionId",
- "RequestorId",
- "InstanceId"
+ "SubscriptionInstances"
],
"properties": {
- "InstanceId": {
- "type": "integer"
- },
- "RequestorId": {
- "type": "integer"
- },
"SubscriptionId": {
"type": "string"
+ },
+ "SubscriptionInstances": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubscriptionInstance"
+ }
}
}
},