}
}
},
- "/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",
}
}
},
- "/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",
}
}
},
- "/v2/locks/acquire-with-lease/{lockreference}": {
- "post": {
+ "/v2/locks/acquire/{lockreference}": {
+ "get": {
"tags": [
"Lock Api"
],
- "summary": "Aquire Lock with Lease",
- "description": "",
- "operationId": "accquireLockWithLease",
- "consumes": [
- "application/json"
- ],
+ "summary": "Aquire Lock",
+ "description": "Checks if the node is in the top of the queue and hence acquires the lock",
+ "operationId": "accquireLock",
"produces": [
"application/json"
],
"parameters": [
- {
- "in": "body",
- "name": "body",
- "required": false,
- "schema": {
- "$ref": "#/definitions/JsonTable"
- }
- },
{
"name": "lockreference",
"in": "path",
}
}
},
- "/v2/locks/acquire/{lockreference}": {
- "get": {
+ "/v2/locks/acquire-with-lease/{lockreference}": {
+ "post": {
"tags": [
"Lock Api"
],
- "summary": "Aquire Lock",
- "description": "Checks if the node is in the top of the queue and hence acquires the lock",
- "operationId": "accquireLock",
+ "summary": "Aquire Lock with Lease",
+ "description": "",
+ "operationId": "accquireLockWithLease",
+ "consumes": [
+ "application/json"
+ ],
"produces": [
"application/json"
],
"parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/JsonTable"
+ }
+ },
{
"name": "lockreference",
"in": "path",
"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": {