aboutsummaryrefslogtreecommitdiffstats
path: root/docs/swagger.json
diff options
context:
space:
mode:
Diffstat (limited to 'docs/swagger.json')
-rw-r--r--docs/swagger.json65
1 files changed, 38 insertions, 27 deletions
diff --git a/docs/swagger.json b/docs/swagger.json
index 27db769f..3bc67050 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -875,26 +875,43 @@
}
}
},
- "/v{version}/service/pingCassandra/{consistency}": {
+ "/v{version}/service/pingZookeeper": {
"get": {
"tags": [
"Healthcheck Api"
],
"summary": "Get Health Status",
"description": "",
- "operationId": "cassandraStatus",
+ "operationId": "ZKStatus",
"produces": [
"application/json"
],
- "parameters": [
- {
- "name": "consistency",
- "in": "path",
- "description": "Consistency level",
- "required": true,
- "type": "string"
+ "parameters": [],
+ "responses": {
+ "200": {
+ "description": "successful operation",
+ "schema": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ }
}
+ }
+ }
+ },
+ "/v{version}/service/musicHealthCheck": {
+ "get": {
+ "tags": [
+ "Healthcheck Api"
],
+ "summary": "Get Health Status",
+ "description": "",
+ "operationId": "musicHealthCheck",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [],
"responses": {
"200": {
"description": "successful operation",
@@ -908,18 +925,26 @@
}
}
},
- "/v{version}/service/pingZookeeper": {
+ "/v{version}/service/pingCassandra/{consistency}": {
"get": {
"tags": [
"Healthcheck Api"
],
"summary": "Get Health Status",
"description": "",
- "operationId": "ZKStatus",
+ "operationId": "cassandraStatus",
"produces": [
"application/json"
],
- "parameters": [],
+ "parameters": [
+ {
+ "name": "consistency",
+ "in": "path",
+ "description": "Consistency level",
+ "required": true,
+ "type": "string"
+ }
+ ],
"responses": {
"200": {
"description": "successful operation",
@@ -939,7 +964,7 @@
"Lock Api"
],
"summary": "Create Lock",
- "description": "Puts the requesting process in the q for this lock. The corresponding node will be created in zookeeper if it did not already exist. Lock Name is the \"key\" of the form keyspaceName.tableName.rowId",
+ "description": "Puts the requesting process in the q for this lock. The corresponding lock will be created if it did not already exist. Lock Name is the \"key\" of the form keyspaceName.tableName.rowId",
"operationId": "createLockReference",
"produces": [
"application/json"
@@ -1269,20 +1294,6 @@
"description": "Application namespace",
"required": true,
"type": "string"
- },
- {
- "name": "userId",
- "in": "header",
- "description": "userId",
- "required": true,
- "type": "string"
- },
- {
- "name": "password",
- "in": "header",
- "description": "Password",
- "required": true,
- "type": "string"
}
],
"responses": {