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/pingZookeeper": {
883 "summary": "Get Health Status",
885 "operationId": "ZKStatus",
892 "description": "successful operation",
895 "additionalProperties": {
903 "/v{version}/service/musicHealthCheck": {
908 "summary": "Get Health Status",
910 "operationId": "musicHealthCheck",
917 "description": "successful operation",
920 "additionalProperties": {
928 "/v{version}/service/pingCassandra/{consistency}": {
933 "summary": "Get Health Status",
935 "operationId": "cassandraStatus",
941 "name": "consistency",
943 "description": "Consistency level",
950 "description": "successful operation",
953 "additionalProperties": {
961 "/v2/locks/create/{lockname}": {
966 "summary": "Create Lock",
967 "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",
968 "operationId": "createLockReference",
976 "description": "Lock Name",
981 "name": "X-minorVersion",
983 "description": "Minor Version",
988 "name": "X-patchVersion",
990 "description": "Patch Version",
995 "name": "Authorization",
997 "description": "Authorization",
1004 "description": "AID",
1011 "description": "Application namespace",
1018 "description": "successful operation",
1021 "additionalProperties": {
1029 "/v2/locks/acquire/{lockreference}": {
1034 "summary": "Aquire Lock",
1035 "description": "Checks if the node is in the top of the queue and hence acquires the lock",
1036 "operationId": "accquireLock",
1042 "name": "lockreference",
1044 "description": "Lock Reference",
1049 "name": "X-minorVersion",
1051 "description": "Minor Version",
1056 "name": "X-patchVersion",
1058 "description": "Patch Version",
1063 "name": "Authorization",
1065 "description": "Authorization",
1072 "description": "AID",
1079 "description": "Application namespace",
1086 "description": "successful operation",
1089 "additionalProperties": {
1097 "/v2/locks/acquire-with-lease/{lockreference}": {
1102 "summary": "Aquire Lock with Lease",
1104 "operationId": "accquireLockWithLease",
1117 "$ref": "#/definitions/JsonTable"
1121 "name": "lockreference",
1123 "description": "Lock Reference",
1128 "name": "X-minorVersion",
1130 "description": "Minor Version",
1135 "name": "X-patchVersion",
1137 "description": "Patch Version",
1142 "name": "Authorization",
1144 "description": "Authorization",
1151 "description": "AID",
1158 "description": "Application namespace",
1165 "description": "successful operation",
1168 "additionalProperties": {
1176 "/v2/locks/enquire/{lockname}": {
1181 "summary": "Get Lock Holder",
1182 "description": "Gets the current Lock Holder",
1183 "operationId": "currentLockHolder",
1191 "description": "Lock Name",
1196 "name": "X-minorVersion",
1198 "description": "Minor Version",
1203 "name": "X-patchVersion",
1205 "description": "Patch Version",
1210 "name": "Authorization",
1212 "description": "Authorization",
1219 "description": "AID",
1226 "description": "Application namespace",
1233 "description": "successful operation",
1236 "additionalProperties": {
1244 "/v2/locks/{lockname}": {
1249 "summary": "Lock State",
1250 "description": "Returns current Lock State and Holder.",
1251 "operationId": "currentLockState",
1259 "description": "Lock Name",
1264 "name": "X-minorVersion",
1266 "description": "Minor Version",
1271 "name": "X-patchVersion",
1273 "description": "Patch Version",
1278 "name": "Authorization",
1280 "description": "Authorization",
1287 "description": "AID",
1294 "description": "Application namespace",
1301 "description": "successful operation",
1304 "additionalProperties": {
1312 "/v2/locks/release/{lockreference}": {
1317 "summary": "Release Lock",
1318 "description": "deletes the process from the zk queue",
1319 "operationId": "unLock",
1325 "name": "lockreference",
1331 "name": "X-minorVersion",
1333 "description": "Minor Version",
1338 "name": "X-patchVersion",
1340 "description": "Patch Version",
1345 "name": "Authorization",
1347 "description": "Authorization",
1354 "description": "AID",
1361 "description": "Application namespace",
1368 "description": "successful operation",
1371 "additionalProperties": {
1379 "/v2/locks/delete/{lockname}": {
1384 "summary": "Delete Lock",
1386 "operationId": "deleteLock",
1398 "name": "X-minorVersion",
1400 "description": "Minor Version",
1405 "name": "X-patchVersion",
1407 "description": "Patch Version",
1414 "description": "AID",
1419 "name": "Authorization",
1421 "description": "Authorization",
1428 "description": "Application namespace",
1435 "description": "successful operation",
1438 "additionalProperties": {
1446 "/{version}/priorityq/keyspaces/{keyspace}/{qname}": {
1451 "summary": "Create Q",
1453 "operationId": "createQ",
1464 "description": "Major Version",
1469 "name": "X-minorVersion",
1471 "description": "Minor Version",
1476 "name": "X-patchVersion",
1478 "description": "Patch Version",
1485 "description": "AID",
1492 "description": "Application namespace",
1497 "name": "Authorization",
1499 "description": "Authorization",
1508 "$ref": "#/definitions/JsonTable"
1514 "description": "Key Space",
1521 "description": "Table Name",
1528 "description": "successful operation",
1541 "operationId": "dropQ",
1549 "description": "Major Version",
1554 "name": "X-minorVersion",
1556 "description": "Minor Version",
1561 "name": "X-patchVersion",
1563 "description": "Patch Version",
1570 "description": "AID",
1577 "description": "Application namespace",
1582 "name": "Authorization",
1584 "description": "Authorization",
1591 "description": "Key Space",
1598 "description": "Table Name",
1605 "description": "successful operation",
1613 "/{version}/priorityq/keyspaces/{keyspace}/{qname}/rows": {
1620 "operationId": "insertIntoQ",
1631 "description": "Major Version",
1636 "name": "X-minorVersion",
1638 "description": "Minor Version",
1643 "name": "X-patchVersion",
1645 "description": "Patch Version",
1652 "description": "AID",
1659 "description": "Application namespace",
1664 "name": "Authorization",
1666 "description": "Authorization",
1675 "$ref": "#/definitions/JsonTable"
1681 "description": "Key Space",
1688 "description": "Table Name",
1695 "description": "successful operation"
1703 "summary": "updateQ",
1705 "operationId": "updateQ",
1716 "description": "Major Version",
1721 "name": "X-minorVersion",
1723 "description": "Minor Version",
1728 "name": "X-patchVersion",
1730 "description": "Patch Version",
1737 "description": "AID",
1744 "description": "Application namespace",
1749 "name": "Authorization",
1751 "description": "Authorization",
1760 "$ref": "#/definitions/JsonTable"
1766 "description": "Key Space",
1773 "description": "Table Name",
1780 "description": "successful operation",
1791 "summary": "deleteQ",
1793 "operationId": "deleteFromQ",
1804 "description": "Major Version",
1809 "name": "X-minorVersion",
1811 "description": "Minor Version",
1816 "name": "X-patchVersion",
1818 "description": "Patch Version",
1825 "description": "AID",
1832 "description": "Application namespace",
1837 "name": "Authorization",
1839 "description": "Authorization",
1848 "$ref": "#/definitions/JsonTable"
1854 "description": "Key Space",
1861 "description": "Table Name",
1868 "description": "successful operation",
1876 "/{version}/priorityq/keyspaces/{keyspace}/{qname}/peek": {
1883 "operationId": "peek",
1891 "description": "Major Version",
1896 "name": "X-minorVersion",
1898 "description": "Minor Version",
1903 "name": "X-patchVersion",
1905 "description": "Patch Version",
1912 "description": "AID",
1919 "description": "Application namespace",
1924 "name": "Authorization",
1926 "description": "Authorization",
1933 "description": "Key Space",
1940 "description": "Table Name",
1947 "description": "successful operation",
1950 "additionalProperties": {
1958 "/{version}/priorityq/keyspaces/{keyspace}/{qname}/filter": {
1963 "summary": "filter",
1965 "operationId": "filter",
1973 "description": "Major Version",
1978 "name": "X-minorVersion",
1980 "description": "Minor Version",
1985 "name": "X-patchVersion",
1987 "description": "Patch Version",
1994 "description": "AID",
2001 "description": "Application namespace",
2006 "name": "Authorization",
2008 "description": "Authorization",
2015 "description": "Key Space",
2022 "description": "Table Name",
2029 "description": "successful operation",
2032 "additionalProperties": {
2040 "/v{version}/test": {
2045 "summary": "Get Test",
2047 "operationId": "simpleTests",
2054 "description": "successful operation",
2057 "additionalProperties": {
2065 "/v{version}/version": {
2070 "summary": "Get Version",
2072 "operationId": "version",
2079 "description": "successful operation",
2082 "additionalProperties": {
2097 "description": "Column values",
2102 "consistencyInfo": {
2104 "description": "Consistency level",
2105 "additionalProperties": {
2111 "description": "Conditions",
2112 "additionalProperties": {
2118 "description": "Time to live information"
2122 "description": "Time stamp"
2125 "description": "Json model for delete"