7 "host": "localhost:8080",
8 "basePath": "/MUSIC/rest",
14 "name": "Healthcheck Api"
33 "/v2/keyspaces/{keyspace}/tables/{tablename}/rows": {
38 "summary": "Select All or Select Specific",
40 "operationId": "select",
48 "description": "Major Version",
53 "name": "X-minorVersion",
55 "description": "Minor Version",
60 "name": "X-patchVersion",
62 "description": "Patch Version",
76 "description": "Application namespace",
81 "name": "Authorization",
83 "description": "Authorization",
90 "description": "Keyspace Name",
97 "description": "Table Name",
104 "description": "successful operation",
107 "additionalProperties": {
118 "summary": "Insert Into Table",
120 "operationId": "insertIntoTable",
131 "description": "Major Version",
136 "name": "X-minorVersion",
138 "description": "Minor Version",
143 "name": "X-patchVersion",
145 "description": "Patch Version",
152 "description": "AID",
159 "description": "Application namespace",
164 "name": "Authorization",
166 "description": "Authorization",
175 "$ref": "#/definitions/JsonTable"
181 "description": "Keyspace Name",
188 "description": "Table Name",
195 "description": "successful operation",
206 "summary": "Update Table",
208 "operationId": "updateTable",
219 "description": "Major Version",
224 "name": "X-minorVersion",
226 "description": "Minor Version",
231 "name": "X-patchVersion",
233 "description": "Patch Version",
240 "description": "AID",
247 "description": "Application namespace",
252 "name": "Authorization",
254 "description": "Authorization",
263 "$ref": "#/definitions/JsonTable"
269 "description": "Keyspace Name",
276 "description": "Table Name",
283 "description": "successful operation",
294 "summary": "Delete From table",
296 "operationId": "deleteFromTable",
307 "description": "Major Version",
312 "name": "X-minorVersion",
314 "description": "Minor Version",
319 "name": "X-patchVersion",
321 "description": "Patch Version",
328 "description": "AID",
335 "description": "Application namespace",
340 "name": "Authorization",
342 "description": "Authorization",
351 "$ref": "#/definitions/JsonTable"
357 "description": "Keyspace Name",
364 "description": "Table Name",
371 "description": "successful operation",
379 "/v2/keyspaces/{name}": {
384 "summary": "Create Keyspace",
386 "operationId": "createKeySpace",
397 "description": "Major Version",
402 "name": "X-minorVersion",
404 "description": "Minor Version",
409 "name": "X-patchVersion",
411 "description": "Patch Version",
418 "description": "AID",
423 "name": "Authorization",
425 "description": "Authorization",
432 "description": "Application namespace",
441 "$ref": "#/definitions/JsonTable"
447 "description": "Keyspace Name",
454 "description": "successful operation",
465 "summary": "Delete Keyspace",
467 "operationId": "dropKeySpace",
475 "description": "Major Version",
480 "name": "X-minorVersion",
482 "description": "Minor Version",
487 "name": "X-patchVersion",
489 "description": "Patch Version",
496 "description": "AID",
501 "name": "Authorization",
503 "description": "Authorization",
510 "description": "Application namespace",
517 "description": "Keyspace Name",
524 "description": "successful operation",
532 "/v2/keyspaces/{keyspace}/tables/{tablename}/index/{field}": {
537 "summary": "Create Index",
539 "operationId": "createIndex",
547 "description": "Major Version",
552 "name": "X-minorVersion",
554 "description": "Minor Version",
559 "name": "X-patchVersion",
561 "description": "Patch Version",
568 "description": "AID",
575 "description": "Application namespace",
580 "name": "Authorization",
582 "description": "Authorization",
589 "description": "Keyspace Name",
596 "description": "Table Name",
603 "description": "Field Name",
610 "description": "successful operation",
618 "/v2/keyspaces/{keyspace}/tables/{tablename}/rows/criticalget": {
623 "summary": "Select Critical",
625 "operationId": "selectCritical",
636 "description": "Major Version",
641 "name": "X-minorVersion",
643 "description": "Minor Version",
648 "name": "X-patchVersion",
650 "description": "Patch Version",
657 "description": "AID",
664 "description": "Application namespace",
669 "name": "Authorization",
671 "description": "Authorization",
680 "$ref": "#/definitions/JsonTable"
686 "description": "Keyspace Name",
693 "description": "Table Name",
700 "description": "successful operation",
703 "additionalProperties": {
711 "/v2/keyspaces/{keyspace}/tables/{tablename}": {
716 "summary": "Create Table",
718 "operationId": "createTable",
729 "description": "Major Version",
734 "name": "X-minorVersion",
736 "description": "Minor Version",
741 "name": "X-patchVersion",
743 "description": "Patch Version",
750 "description": "AID",
757 "description": "Application namespace",
762 "name": "Authorization",
764 "description": "Authorization",
773 "$ref": "#/definitions/JsonTable"
779 "description": "Keyspace Name",
786 "description": "Table Name",
793 "description": "successful operation",
804 "summary": "Drop Table",
806 "operationId": "dropTable",
814 "description": "Major Version",
819 "name": "X-minorVersion",
821 "description": "Minor Version",
826 "name": "X-patchVersion",
828 "description": "Patch Version",
835 "description": "AID",
842 "description": "Application namespace",
847 "name": "Authorization",
849 "description": "Authorization",
856 "description": "Keyspace Name",
863 "description": "Table Name",
870 "description": "successful operation",
878 "/v{version}/service/pingCassandra/{consistency}": {
883 "summary": "Get Health Status",
885 "operationId": "cassandraStatus",
891 "name": "consistency",
893 "description": "Consistency level",
900 "description": "successful operation",
903 "additionalProperties": {
911 "/v{version}/service/pingZookeeper": {
916 "summary": "Get Health Status",
918 "operationId": "ZKStatus",
925 "description": "successful operation",
928 "additionalProperties": {
936 "/v2/locks/create/{lockname}": {
941 "summary": "Create Lock",
942 "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",
943 "operationId": "createLockReference",
951 "description": "Lock Name",
956 "name": "X-minorVersion",
958 "description": "Minor Version",
963 "name": "X-patchVersion",
965 "description": "Patch Version",
970 "name": "Authorization",
972 "description": "Authorization",
979 "description": "AID",
986 "description": "Application namespace",
993 "description": "successful operation",
996 "additionalProperties": {
1004 "/v2/locks/acquire/{lockreference}": {
1009 "summary": "Aquire Lock",
1010 "description": "Checks if the node is in the top of the queue and hence acquires the lock",
1011 "operationId": "accquireLock",
1017 "name": "lockreference",
1019 "description": "Lock Reference",
1024 "name": "X-minorVersion",
1026 "description": "Minor Version",
1031 "name": "X-patchVersion",
1033 "description": "Patch Version",
1038 "name": "Authorization",
1040 "description": "Authorization",
1047 "description": "AID",
1054 "description": "Application namespace",
1061 "description": "successful operation",
1064 "additionalProperties": {
1072 "/v2/locks/acquire-with-lease/{lockreference}": {
1077 "summary": "Aquire Lock with Lease",
1079 "operationId": "accquireLockWithLease",
1092 "$ref": "#/definitions/JsonTable"
1096 "name": "lockreference",
1098 "description": "Lock Reference",
1103 "name": "X-minorVersion",
1105 "description": "Minor Version",
1110 "name": "X-patchVersion",
1112 "description": "Patch Version",
1117 "name": "Authorization",
1119 "description": "Authorization",
1126 "description": "AID",
1133 "description": "Application namespace",
1140 "description": "successful operation",
1143 "additionalProperties": {
1151 "/v2/locks/enquire/{lockname}": {
1156 "summary": "Get Lock Holder",
1157 "description": "Gets the current Lock Holder",
1158 "operationId": "currentLockHolder",
1166 "description": "Lock Name",
1171 "name": "X-minorVersion",
1173 "description": "Minor Version",
1178 "name": "X-patchVersion",
1180 "description": "Patch Version",
1185 "name": "Authorization",
1187 "description": "Authorization",
1194 "description": "AID",
1201 "description": "Application namespace",
1208 "description": "successful operation",
1211 "additionalProperties": {
1219 "/v2/locks/{lockname}": {
1224 "summary": "Lock State",
1225 "description": "Returns current Lock State and Holder.",
1226 "operationId": "currentLockState",
1234 "description": "Lock Name",
1239 "name": "X-minorVersion",
1241 "description": "Minor Version",
1246 "name": "X-patchVersion",
1248 "description": "Patch Version",
1253 "name": "Authorization",
1255 "description": "Authorization",
1262 "description": "AID",
1269 "description": "Application namespace",
1276 "description": "userId",
1283 "description": "Password",
1290 "description": "successful operation",
1293 "additionalProperties": {
1301 "/v2/locks/release/{lockreference}": {
1306 "summary": "Release Lock",
1307 "description": "deletes the process from the zk queue",
1308 "operationId": "unLock",
1314 "name": "lockreference",
1320 "name": "X-minorVersion",
1322 "description": "Minor Version",
1327 "name": "X-patchVersion",
1329 "description": "Patch Version",
1334 "name": "Authorization",
1336 "description": "Authorization",
1343 "description": "AID",
1350 "description": "Application namespace",
1357 "description": "successful operation",
1360 "additionalProperties": {
1368 "/v2/locks/delete/{lockname}": {
1373 "summary": "Delete Lock",
1375 "operationId": "deleteLock",
1387 "name": "X-minorVersion",
1389 "description": "Minor Version",
1394 "name": "X-patchVersion",
1396 "description": "Patch Version",
1403 "description": "AID",
1408 "name": "Authorization",
1410 "description": "Authorization",
1417 "description": "Application namespace",
1424 "description": "successful operation",
1427 "additionalProperties": {
1435 "/{version}/priorityq/keyspaces/{keyspace}/{qname}": {
1440 "summary": "Create Q",
1442 "operationId": "createQ",
1453 "description": "Major Version",
1458 "name": "X-minorVersion",
1460 "description": "Minor Version",
1465 "name": "X-patchVersion",
1467 "description": "Patch Version",
1474 "description": "AID",
1481 "description": "Application namespace",
1486 "name": "Authorization",
1488 "description": "Authorization",
1497 "$ref": "#/definitions/JsonTable"
1503 "description": "Key Space",
1510 "description": "Table Name",
1517 "description": "successful operation",
1530 "operationId": "dropQ",
1538 "description": "Major Version",
1543 "name": "X-minorVersion",
1545 "description": "Minor Version",
1550 "name": "X-patchVersion",
1552 "description": "Patch Version",
1559 "description": "AID",
1566 "description": "Application namespace",
1571 "name": "Authorization",
1573 "description": "Authorization",
1580 "description": "Key Space",
1587 "description": "Table Name",
1594 "description": "successful operation",
1602 "/{version}/priorityq/keyspaces/{keyspace}/{qname}/rows": {
1609 "operationId": "insertIntoQ",
1620 "description": "Major Version",
1625 "name": "X-minorVersion",
1627 "description": "Minor Version",
1632 "name": "X-patchVersion",
1634 "description": "Patch Version",
1641 "description": "AID",
1648 "description": "Application namespace",
1653 "name": "Authorization",
1655 "description": "Authorization",
1664 "$ref": "#/definitions/JsonTable"
1670 "description": "Key Space",
1677 "description": "Table Name",
1684 "description": "successful operation"
1692 "summary": "updateQ",
1694 "operationId": "updateQ",
1705 "description": "Major Version",
1710 "name": "X-minorVersion",
1712 "description": "Minor Version",
1717 "name": "X-patchVersion",
1719 "description": "Patch Version",
1726 "description": "AID",
1733 "description": "Application namespace",
1738 "name": "Authorization",
1740 "description": "Authorization",
1749 "$ref": "#/definitions/JsonTable"
1755 "description": "Key Space",
1762 "description": "Table Name",
1769 "description": "successful operation",
1780 "summary": "deleteQ",
1782 "operationId": "deleteFromQ",
1793 "description": "Major Version",
1798 "name": "X-minorVersion",
1800 "description": "Minor Version",
1805 "name": "X-patchVersion",
1807 "description": "Patch Version",
1814 "description": "AID",
1821 "description": "Application namespace",
1826 "name": "Authorization",
1828 "description": "Authorization",
1837 "$ref": "#/definitions/JsonTable"
1843 "description": "Key Space",
1850 "description": "Table Name",
1857 "description": "successful operation",
1865 "/{version}/priorityq/keyspaces/{keyspace}/{qname}/peek": {
1872 "operationId": "peek",
1880 "description": "Major Version",
1885 "name": "X-minorVersion",
1887 "description": "Minor Version",
1892 "name": "X-patchVersion",
1894 "description": "Patch Version",
1901 "description": "AID",
1908 "description": "Application namespace",
1913 "name": "Authorization",
1915 "description": "Authorization",
1922 "description": "Key Space",
1929 "description": "Table Name",
1936 "description": "successful operation",
1939 "additionalProperties": {
1947 "/{version}/priorityq/keyspaces/{keyspace}/{qname}/filter": {
1952 "summary": "filter",
1954 "operationId": "filter",
1962 "description": "Major Version",
1967 "name": "X-minorVersion",
1969 "description": "Minor Version",
1974 "name": "X-patchVersion",
1976 "description": "Patch Version",
1983 "description": "AID",
1990 "description": "Application namespace",
1995 "name": "Authorization",
1997 "description": "Authorization",
2004 "description": "Key Space",
2011 "description": "Table Name",
2018 "description": "successful operation",
2021 "additionalProperties": {
2029 "/v{version}/test": {
2034 "summary": "Get Test",
2036 "operationId": "simpleTests",
2043 "description": "successful operation",
2046 "additionalProperties": {
2054 "/v{version}/version": {
2059 "summary": "Get Version",
2061 "operationId": "version",
2068 "description": "successful operation",
2071 "additionalProperties": {
2086 "description": "Column values",
2091 "consistencyInfo": {
2093 "description": "Consistency level",
2094 "additionalProperties": {
2100 "description": "Conditions",
2101 "additionalProperties": {
2107 "description": "Time to live information"
2111 "description": "Time stamp"
2114 "description": "Json model for delete"