Repository: incubator-griffin Updated Branches: refs/heads/master 73b495b56 -> cc35024a6
http://git-wip-us.apache.org/repos/asf/incubator-griffin/blob/cc35024a/griffin-doc/service/postman/griffin.json ---------------------------------------------------------------------- diff --git a/griffin-doc/service/postman/griffin.json b/griffin-doc/service/postman/griffin.json index 08b0701..ac64412 100644 --- a/griffin-doc/service/postman/griffin.json +++ b/griffin-doc/service/postman/griffin.json @@ -1,3254 +1,2952 @@ { - "id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "name": "Griffin Service", - "description": "", - "order": [], - "folders": [ + "info": { + "_postman_id": "3afd5132-1e4a-4052-8f0a-c594b73d61d2", + "name": "Griffin Service", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ { - "name": "Auth", - "description": "user authentication", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "order": [ - "eb227a73-9249-fc16-5922-6e80cc0bea95" - ], - "owner": "2830994", - "folders_order": [], - "id": "2d181fe4-1f72-5252-8e9f-79c715266962" - }, - { - "name": "Basic", - "description": "", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "order": [ - "5a64e424-ae7b-55b3-9221-ecde940426bd" - ], - "owner": "2830994", - "folders_order": [], - "id": "f7cebc34-4e5a-72f7-0272-f5c8dece342d" - }, - { - "name": "Hive MetaStore", - "description": "", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "order": [ - "2e598ff2-2f77-5635-0a64-d7767c06adfc", - "7f20e851-8298-2bf9-dd5b-e7266e72960d", - "47c5b25b-f85b-ea16-fbde-e4537c0b313d", - "9928ac7f-ceb7-0849-a06e-1bef416217a0", - "b9c0a331-da3a-e328-1278-64d043d02841" - ], - "owner": "2830994", - "folders_order": [], - "id": "e75bc373-05d5-a00e-14f6-9aae1ba1d0e0" - }, - { - "name": "Jobs", - "description": "", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "order": [ - "0d61dc14-c9de-aa3d-5454-3be191a8450e", - "89867ae6-c3f3-175c-5097-15e77e61d8e7", - "6e764461-fb2b-ad66-b37a-04d831c4dbad", - "3f4a8ed3-3976-92c7-c16e-0562858c975f", - "77ed2f51-37a6-4672-de17-7fe1de169c6d", - "384315b5-b8dc-a708-cf22-289093c2f363", - "5388bdf6-51ed-111e-938c-0eb569dde237" - ], - "owner": "2830994", - "folders_order": [], - "id": "59294d8f-d424-590d-cfaa-e59efb36a843" - }, - { - "name": "Measures", - "description": "", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "order": [ - "96a777d9-28c1-331e-48d3-0b9422db7122", - "4612699d-8772-4dd8-1b34-36141b8ccfdd", - "b2523dcc-6abd-af6e-8e0c-759ca5c8347d", - "c51c4335-5be3-c19b-85f9-01ce8dc94225", - "99ea9963-f0cc-8d74-2017-ec678c5dd951", - "a6a31a73-4b8c-7ba2-b245-3dc0f64d5f2f" - ], - "owner": "2830994", - "folders_order": [ - "b74c083b-f9b7-05d4-f7fd-cb5556b5616b" - ], - "id": "1c9e0f01-e8b4-b9be-10c7-64a5d79f8c17" - }, - { - "name": "Metrics", - "description": "", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "order": [ - "7e38446b-184c-938f-0686-502d2821cd27", - "b0f63207-b27b-fdf0-0001-6498ff7ac2c2", - "6db2c20d-06b1-7fdc-568c-c3c1768f1d78", - "0f9ca692-28eb-e79d-f2b0-ee28932afe37" - ], - "owner": "2830994", - "folders_order": [], - "auth": null, - "id": "3b355665-0d22-f6ce-8a65-6ac44d514b71" - }, - { - "name": "OrgnizationDimension", - "description": "", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "order": [ - "04663618-688f-6beb-78f7-9561ed131a87", - "4e0a68f2-4c2d-ae64-0186-01471ed543d4", - "9cbd8fb7-f9c0-f1fa-301c-fe1565f2f423" - ], - "owner": "2830994", - "folder": "1c9e0f01-e8b4-b9be-10c7-64a5d79f8c17", - "folders_order": [], - "id": "b74c083b-f9b7-05d4-f7fd-cb5556b5616b" - } - ], - "folders_order": [ - "f7cebc34-4e5a-72f7-0272-f5c8dece342d", - "1c9e0f01-e8b4-b9be-10c7-64a5d79f8c17", - "59294d8f-d424-590d-cfaa-e59efb36a843", - "3b355665-0d22-f6ce-8a65-6ac44d514b71", - "e75bc373-05d5-a00e-14f6-9aae1ba1d0e0", - "2d181fe4-1f72-5252-8e9f-79c715266962" - ], - "timestamp": 1509932685084, - "owner": "2830994", - "public": false, - "events": [], - "variables": [], - "auth": null, - "requests": [ - { - "id": "04663618-688f-6beb-78f7-9561ed131a87", - "headers": "", - "headerData": [], - "url": "{{BASE_PATH}}/api/v1/org", - "queryParams": [], - "pathVariables": {}, - "pathVariableData": [], - "method": "GET", - "data": null, - "dataMode": "params", - "version": 2, - "time": 1508996888357, - "name": "Get orgs for measure", - "description": "`GET /api/v1/org`", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK" - }, - "time": 50, - "headers": [ - { - "name": "access-control-allow-headers", - "key": "access-control-allow-headers", - "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", - "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." - }, - { - "name": "access-control-allow-methods", - "key": "access-control-allow-methods", - "value": "POST, GET, OPTIONS, DELETE,PUT", - "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." - }, - { - "name": "access-control-allow-origin", - "key": "access-control-allow-origin", - "value": "*", - "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." - }, - { - "name": "access-control-max-age", - "key": "access-control-max-age", - "value": "3600", - "description": "Indicates how long the results of a preflight request can be cached in seconds." - }, - { - "name": "content-type", - "key": "content-type", - "value": "application/json;charset=UTF-8", - "description": "The mime type of this content" - }, - { - "name": "date", - "key": "date", - "value": "Wed, 25 Oct 2017 05:55:00 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "transfer-encoding", - "key": "transfer-encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - } - ], - "cookies": [], - "mime": "", - "text": "[\"ebay\",\"test\",\"orgName\"]", - "language": "json", - "rawDataType": "text", - "previewType": "text", - "searchResultScrolledTo": -1, - "forceNoPretty": false, - "write": true, - "empty": false, - "failed": false, - "id": "07738c49-6863-9615-0ccb-407402d83cfa", - "name": "Get orgs for measure example", - "isSample": true, - "scrollToResult": false, - "runTests": false, - "request": "06c34994-69fb-88ec-cfdd-c29308cbebcb", - "owner": "2830994", - "requestObject": "{\"url\":\"http://localhost:8080/api/v1/org\",\"pathVariables\":{},\"pathVariableData\":[],\"queryParams\":[],\"headerData\":[],\"headers\":\"\",\"data\":null,\"method\":\"GET\",\"dataMode\":\"params\"}" - } - ], - "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "isFromCollection": true, - "folder": "b74c083b-f9b7-05d4-f7fd-cb5556b5616b", - "auth": null, - "currentHelper": null, - "helperAttributes": null - }, - { - "id": "0d61dc14-c9de-aa3d-5454-3be191a8450e", - "headers": "", - "headerData": [], - "url": "{{BASE_PATH}}/api/v1/jobs", - "queryParams": [], - "pathVariables": {}, - "pathVariableData": [], - "method": "GET", - "data": null, - "dataMode": "params", - "version": 2, - "time": 1509005652378, - "name": "Get jobs", - "description": "`GET /api/v1/jobs`", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK" - }, - "time": 129, - "headers": [ - { - "name": "access-control-allow-headers", - "key": "access-control-allow-headers", - "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", - "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." - }, - { - "name": "access-control-allow-methods", - "key": "access-control-allow-methods", - "value": "POST, GET, OPTIONS, DELETE,PUT", - "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." - }, - { - "name": "access-control-allow-origin", - "key": "access-control-allow-origin", - "value": "*", - "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." - }, - { - "name": "access-control-max-age", - "key": "access-control-max-age", - "value": "3600", - "description": "Indicates how long the results of a preflight request can be cached in seconds." - }, - { - "name": "content-type", - "key": "content-type", - "value": "application/json;charset=UTF-8", - "description": "The mime type of this content" - }, - { - "name": "date", - "key": "date", - "value": "Tue, 24 Oct 2017 12:01:29 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "transfer-encoding", - "key": "transfer-encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - } - ], - "cookies": [], - "mime": "", - "text": "[\n {\n \"jobId\": 1,\n \"jobName\": \"job_name\",\n \"measureId\": 2,\n \"triggerState\": \"NORMAL\",\n \"nextFireTime\": 1515400080000,\n \"previousFireTime\": 1515399840000,\n \"cronExpression\": \"0 0/4 * * * ?\"\n }\n]", - "language": "json", - "rawDataType": "text", - "previewType": "text", - "searchResultScrolledTo": -1, - "forceNoPretty": false, - "write": true, - "empty": false, - "failed": false, - "id": "d366913f-2765-00cf-beda-e7dd8a53668d", - "name": "Get jobs example", - "isSample": true, - "scrollToResult": false, - "runTests": false, - "request": { - "url": "{{BASE_PATH}}/api/v1/jobs", - "pathVariables": {}, - "pathVariableData": [], - "queryParams": [], - "headerData": [], - "headers": "", - "data": "", - "method": "GET", - "dataMode": "raw" - }, - "owner": "2830994" - } - ], - "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "isFromCollection": true, - "folder": "59294d8f-d424-590d-cfaa-e59efb36a843", - "auth": null, - "currentHelper": null, - "helperAttributes": null - }, - { - "id": "0f9ca692-28eb-e79d-f2b0-ee28932afe37", - "headers": "", - "headerData": [], - "url": "{{BASE_PATH}}/api/v1/metrics/values?metricName=metricName", - "folder": "3b355665-0d22-f6ce-8a65-6ac44d514b71", - "queryParams": [ - { - "key": "metricName", - "value": "metricName", - "equals": true, - "description": "", - "enabled": true - } - ], - "events": null, - "pathVariables": {}, - "pathVariableData": [], - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, - "auth": null, - "time": 1517209675070, - "name": "Delete metric values by name", - "description": "`DELETE /api/v1/metrics/values`\n#### Request Parameters \n\nname | description | type | example value\n--- | --- | --- | ---\nmetricName | name of the metric values | String | metricName\n\n#### Response\nThe response body should have 'failures' field as empty if success, for example\n```\n{\n \"took\": 363,\n \"timed_out\": false,\n \"total\": 5,\n \"deleted\": 5,\n \"batches\": 1,\n \"version_conflicts\": 0,\n \"noops\": 0,\n \"retries\": {\n \"bulk\": 0,\n \"search\": 0\n },\n \"throttled_millis\": 0,\n \"requests_per_second\": -1,\n \"throttled_until_millis\": 0,\n \"failures\": []\n}\n```\nIt may return failed messages, for example\n```\n{\n \"timestamp\": 1517209504487,\n \"status\": 500,\n \"error\": \"Internal Server Error\",\n \"message\": \"Failed to delete metric values.\",\n \"exception\": \"java.net.ConnectException\",\n \"path\": \"/api/v1/metrics/values\"\n}\n```\nThere will be 'status' and 'error' fields in response if error happens, which correspond to HTTP status.\n\nThere may also be 'code' and 'message' fields, which will point out the cause.\n\nIf an exception happens at server, there will be an 'exception' field, which is the name of exception.", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK", - "detail": "Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action." - }, - "time": 1014, - "headers": [ - { - "key": "Access-Control-Allow-Headers", - "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", - "name": "Access-Control-Allow-Headers", - "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." - }, - { - "key": "Access-Control-Allow-Methods", - "value": "POST, GET, OPTIONS, DELETE,PUT", - "name": "Access-Control-Allow-Methods", - "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*", - "name": "Access-Control-Allow-Origin", - "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." - }, - { - "key": "Access-Control-Max-Age", - "value": "3600", - "name": "Access-Control-Max-Age", - "description": "Indicates how long the results of a preflight request can be cached in seconds." - }, - { - "key": "Content-Length", - "value": "217", - "name": "Content-Length", - "description": "The length of the response body in octets (8-bit bytes)" - }, - { - "key": "Content-Type", - "value": "application/json", - "name": "Content-Type", - "description": "The mime type of this content" - }, - { - "key": "Date", - "value": "Mon, 29 Jan 2018 07:06:30 GMT", - "name": "Date", - "description": "The date and time that the message was sent" - } - ], - "cookies": [ - { - "domain": "localhost", - "expirationDate": 2147483647, - "httpOnly": true, - "name": "JSESSIONID", - "path": "/", - "secure": false, - "url": "http://localhost:8080", - "value": "DC35BDC91FC450DE5D89D477E27FD19E" - } - ], - "mime": "", - "text": "{\"took\":363,\"timed_out\":false,\"total\":5,\"deleted\":5,\"batches\":1,\"version_conflicts\":0,\"noops\":0,\"retries\":{\"bulk\":0,\"search\":0},\"throttled_millis\":0,\"requests_per_second\":-1.0,\"throttled_until_millis\":0,\"failures\":[]}", - "language": "json", - "previewType": "text", - "searchResultScrolledTo": -1, - "forceNoPretty": false, - "write": true, - "empty": false, - "failed": false, - "code": 200, - "responseSize": { - "body": 217, - "header": 324, - "total": 541 - }, - "mimeType": "text", - "fileName": "response.json", - "dataURI": "data:application/json;base64, eyJ0b29rIjozNjMsInRpbWVkX291dCI6ZmFsc2UsInRvdGFsIjo1LCJkZWxldGVkIjo1LCJiYXRjaGVzIjoxLCJ2ZXJzaW9uX2NvbmZsaWN0cyI6MCwibm9vcHMiOjAsInJldHJpZXMiOnsiYnVsayI6MCwic2VhcmNoIjowfSwidGhyb3R0bGVkX21pbGxpcyI6MCwicmVxdWVzdHNfcGVyX3NlY29uZCI6LTEuMCwidGhyb3R0bGVkX3VudGlsX21pbGxpcyI6MCwiZmFpbHVyZXMiOltdfQ==", - "name": "Delete metric values by name example", - "id": "15a930eb-668d-237d-2275-c84ce0dcce68", - "request": { - "url": "{{BASE_PATH}}/api/v1/metrics/values?metricName=metricName", - "pathVariables": {}, - "pathVariableData": [], - "queryParams": [ - { - "key": "metricName", - "value": "metricName", - "equals": true, - "description": "", - "enabled": true - } - ], - "headerData": [], - "headers": "", - "data": "", - "method": "DELETE", - "dataMode": "raw" - }, - "owner": "2830994" - } - ], - "rawModeData": "", - "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "currentHelper": null, - "helperAttributes": null - }, - { - "id": "2e598ff2-2f77-5635-0a64-d7767c06adfc", - "headers": "", - "headerData": [], - "url": "{{BASE_PATH}}/api/v1/metadata/hive/dbs/tables", - "queryParams": [], - "pathVariables": {}, - "pathVariableData": [], - "method": "GET", - "data": null, - "dataMode": "params", - "version": 2, - "time": 1508997646817, - "name": "Get all database tables metadata", - "description": "`GET /api/v1/metadata/hive/dbs/tables`", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK", - "detail": "Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action." - }, - "time": 212, - "headers": [ - { - "key": "Access-Control-Allow-Headers", - "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", - "name": "Access-Control-Allow-Headers", - "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." - }, - { - "key": "Access-Control-Allow-Methods", - "value": "POST, GET, OPTIONS, DELETE,PUT", - "name": "Access-Control-Allow-Methods", - "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*", - "name": "Access-Control-Allow-Origin", - "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." - }, - { - "key": "Access-Control-Max-Age", - "value": "3600", - "name": "Access-Control-Max-Age", - "description": "Indicates how long the results of a preflight request can be cached in seconds." - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8", - "name": "Content-Type", - "description": "The mime type of this content" - }, - { - "key": "Date", - "value": "Wed, 07 Feb 2018 09:17:40 GMT", - "name": "Date", - "description": "The date and time that the message was sent" - }, - { - "key": "Transfer-Encoding", - "value": "chunked", - "name": "Transfer-Encoding", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - } - ], - "cookies": [], - "mime": "", - "text": "{\"default\":[{\"tableName\":\"demo_src\",\"dbName\":\"default\",\"owner\":\"root\",\"createTime\":1517993141,\"lastAccessTime\":0,\"retention\":0,\"sd\":{\"cols\":[{\"name\":\"id\",\"type\":\"bigint\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"age\",\"type\":\"int\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"desc\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false}],\"location\":\"hdfs://griffin:9000/griffin/data/batch/demo_src\",\"inputFormat\":\"org.apache.hadoop.mapred.TextInputFormat\",\"outputFormat\":\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\",\"compressed\":false,\"numBuckets\":-1,\"serdeInfo\":{\"name\":null,\"serializationLib\":\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\",\"parameters\":{\"field.delim\":\"|\",\"serialization.format\":\"|\"},\"setSerializationLib\":true,\"setName\":false,\"parametersSize\":2 ,\"setParameters\":true},\"bucketCols\":[],\"sortCols\":[],\"parameters\":{},\"skewedInfo\":{\"skewedColNames\":[],\"skewedColValues\":[],\"skewedColValueLocationMaps\":{},\"skewedColNamesSize\":0,\"skewedColNamesIterator\":[],\"setSkewedColNames\":true,\"skewedColValuesSize\":0,\"skewedColValuesIterator\":[],\"setSkewedColValues\":true,\"skewedColValueLocationMapsSize\":0,\"setSkewedColValueLocationMaps\":true},\"storedAsSubDirectories\":false,\"colsSize\":3,\"colsIterator\":[{\"name\":\"id\",\"type\":\"bigint\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"age\",\"type\":\"int\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"desc\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false}],\"setCols\":true,\"setLocation\":true,\"setInputFormat\":true,\"setOutputFormat\":true,\"setCompressed\":true,\"setNumBuckets\":true,\"setSerdeInfo\":true,\"bucketColsSize\":0,\"bucket ColsIterator\":[],\"setBucketCols\":true,\"sortColsSize\":0,\"sortColsIterator\":[],\"setSortCols\":true,\"setSkewedInfo\":true,\"setStoredAsSubDirectories\":true,\"parametersSize\":0,\"setParameters\":true},\"partitionKeys\":[{\"name\":\"dt\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"hour\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false}],\"parameters\":{\"EXTERNAL\":\"TRUE\",\"transient_lastDdlTime\":\"1517993141\"},\"viewOriginalText\":null,\"viewExpandedText\":null,\"tableType\":\"EXTERNAL_TABLE\",\"privileges\":null,\"temporary\":false,\"partitionKeysSize\":2,\"setSd\":true,\"partitionKeysIterator\":[{\"name\":\"dt\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"hour\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false}],\"setPartitionKeys\":true,\"parametersSize\":2,\"setP arameters\":true,\"setViewOriginalText\":false,\"setViewExpandedText\":false,\"setTableType\":true,\"setPrivileges\":false,\"setTemporary\":false,\"setTableName\":true,\"setDbName\":true,\"setOwner\":true,\"setCreateTime\":true,\"setLastAccessTime\":true,\"setRetention\":true},{\"tableName\":\"demo_tgt\",\"dbName\":\"default\",\"owner\":\"root\",\"createTime\":1517993141,\"lastAccessTime\":0,\"retention\":0,\"sd\":{\"cols\":[{\"name\":\"id\",\"type\":\"bigint\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"age\",\"type\":\"int\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"desc\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false}],\"location\":\"hdfs://griffin:9000/griffin/data/batch/demo_tgt\",\"inputFormat\":\"org.apache.hadoop.mapred.TextInputFormat\",\"outputFormat\":\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\",\"compressed\":false,\"numBucke ts\":-1,\"serdeInfo\":{\"name\":null,\"serializationLib\":\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\",\"parameters\":{\"field.delim\":\"|\",\"serialization.format\":\"|\"},\"setSerializationLib\":true,\"setName\":false,\"parametersSize\":2,\"setParameters\":true},\"bucketCols\":[],\"sortCols\":[],\"parameters\":{},\"skewedInfo\":{\"skewedColNames\":[],\"skewedColValues\":[],\"skewedColValueLocationMaps\":{},\"skewedColNamesSize\":0,\"skewedColNamesIterator\":[],\"setSkewedColNames\":true,\"skewedColValuesSize\":0,\"skewedColValuesIterator\":[],\"setSkewedColValues\":true,\"skewedColValueLocationMapsSize\":0,\"setSkewedColValueLocationMaps\":true},\"storedAsSubDirectories\":false,\"colsSize\":3,\"colsIterator\":[{\"name\":\"id\",\"type\":\"bigint\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"age\",\"type\":\"int\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"desc\",\"type\":\"string\",\"commen t\":null,\"setName\":true,\"setType\":true,\"setComment\":false}],\"setCols\":true,\"setLocation\":true,\"setInputFormat\":true,\"setOutputFormat\":true,\"setCompressed\":true,\"setNumBuckets\":true,\"setSerdeInfo\":true,\"bucketColsSize\":0,\"bucketColsIterator\":[],\"setBucketCols\":true,\"sortColsSize\":0,\"sortColsIterator\":[],\"setSortCols\":true,\"setSkewedInfo\":true,\"setStoredAsSubDirectories\":true,\"parametersSize\":0,\"setParameters\":true},\"partitionKeys\":[{\"name\":\"dt\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"hour\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false}],\"parameters\":{\"EXTERNAL\":\"TRUE\",\"transient_lastDdlTime\":\"1517993141\"},\"viewOriginalText\":null,\"viewExpandedText\":null,\"tableType\":\"EXTERNAL_TABLE\",\"privileges\":null,\"temporary\":false,\"partitionKeysSize\":2,\"setSd\":true,\"partitionKeysIterator\":[{\"name\":\"dt\",\"type\": \"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false},{\"name\":\"hour\",\"type\":\"string\",\"comment\":null,\"setName\":true,\"setType\":true,\"setComment\":false}],\"setPartitionKeys\":true,\"parametersSize\":2,\"setParameters\":true,\"setViewOriginalText\":false,\"setViewExpandedText\":false,\"setTableType\":true,\"setPrivileges\":false,\"setTemporary\":false,\"setTableName\":true,\"setDbName\":true,\"setOwner\":true,\"setCreateTime\":true,\"setLastAccessTime\":true,\"setRetention\":true}]}", - "language": "json", - "previewType": "text", - "searchResultScrolledTo": -1, - "forceNoPretty": false, - "write": true, - "empty": false, - "failed": false, - "code": 200, - "responseSize": { - "body": 5791, - "header": 345, - "total": 6136 - }, - "mimeType": "text", - "fileName": "response.json", - "dataURI": "data:application/json;base64, eyJkZWZhdWx0IjpbeyJ0YWJsZU5hbWUiOiJkZW1vX3NyYyIsImRiTmFtZSI6ImRlZmF1bHQiLCJvd25lciI6InJvb3QiLCJjcmVhdGVUaW1lIjoxNTE3OTkzMTQxLCJsYXN0QWNjZXN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TGFzdEFjY2Vzc1RpbWUiOnRydWUsInNldFJldGVudGlvbiI6dHJ1ZX1dfQ==", - "name": "Get all database tables metadata example", - "id": "ea6795ee-5dfd-bb6c-ce2a-1973568d288b", - "request": { - "url": "{{BASE_PATH}}/api/v1/metadata/hive/dbs/tables", - "pathVariables": {}, - "pathVariableData": [], - "queryParams": [], - "headerData": [], - "headers": "", - "data": null, - "method": "GET", - "dataMode": "params" - } - } - ], - "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "folder": "e75bc373-05d5-a00e-14f6-9aae1ba1d0e0", - "auth": null, - "currentHelper": null, - "helperAttributes": null - }, - { - "id": "384315b5-b8dc-a708-cf22-289093c2f363", - "headers": "", - "headerData": [], - "url": "{{BASE_PATH}}/api/v1/jobs?jobName=job_name", - "folder": "59294d8f-d424-590d-cfaa-e59efb36a843", - "queryParams": [ - { - "key": "jobName", - "value": "job_name", - "equals": true, - "description": "", - "enabled": true - } - ], - "events": [], - "pathVariables": {}, - "pathVariableData": [], - "method": "DELETE", - "data": null, - "dataMode": "params", - "auth": null, - "time": 1517997648869, - "name": "Delete job by name", - "description": "`DELETE /api/v1/jobs`\n#### Request Parameters \n\nname | description | type | example value\n--- | --- | --- | ---\njobName | job name | String | job_name\n\n#### Response\nThe response body should be empty if no error happens, and the HTTP status is (204, \"No Content\").\n\nIt may return failed messages. For example\n```\n{\n \"timestamp\": 1517208660250,\n \"status\": 404,\n \"error\": \"Not Found\",\n \"code\": 40403,\n \"message\": \"Job name does not exist\",\n \"path\": \"/api/v1/jobs\"\n}\n```\nThere will be 'status' and 'error' fields in response if error happens, which correspond to HTTP status.\n\nThere may also be 'code' and 'message' fields, which will point out the cause.\n\nIf an exception happens at server, there will be an 'exception' field, which is the name of exception.", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "responses": [ - { - "status": "", - "responseCode": { - "code": 204, - "name": "No Content", - "detail": "The server successfully processed the request, but is not returning any content." - }, - "time": 40, - "headers": [ - { - "key": "Access-Control-Allow-Headers", - "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", - "name": "Access-Control-Allow-Headers", - "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." - }, - { - "key": "Access-Control-Allow-Methods", - "value": "POST, GET, OPTIONS, DELETE,PUT", - "name": "Access-Control-Allow-Methods", - "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*", - "name": "Access-Control-Allow-Origin", - "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." - }, - { - "key": "Access-Control-Max-Age", - "value": "3600", - "name": "Access-Control-Max-Age", - "description": "Indicates how long the results of a preflight request can be cached in seconds." - }, - { - "key": "Date", - "value": "Mon, 29 Jan 2018 06:50:06 GMT", - "name": "Date", - "description": "The date and time that the message was sent" - } - ], - "cookies": [ - { - "domain": "localhost", - "expirationDate": 2147483647, - "httpOnly": true, - "name": "JSESSIONID", - "path": "/", - "secure": false, - "url": "http://localhost:8080", - "value": "DC35BDC91FC450DE5D89D477E27FD19E" - } - ], - "mime": "", - "text": "", - "language": "plain", - "previewType": "text", - "searchResultScrolledTo": -1, - "forceNoPretty": false, - "write": true, - "empty": false, - "failed": false, - "code": 204, - "responseSize": { - "body": 0, - "header": 279, - "total": 279 - }, - "mimeType": "text", - "fileName": "response.txt", - "dataURI": "data:text/plain;base64, ", - "name": "Delete job by name example", - "id": "5f686e20-4059-98f6-2111-254ea0bff191", - "request": { - "url": "{{BASE_PATH}}/api/v1/jobs?jobName=job_name", - "pathVariables": {}, - "pathVariableData": [], - "queryParams": [ - { - "key": "jobName", - "value": "job_name", - "equals": true, - "description": "", - "enabled": true - } - ], - "headerData": [], - "headers": "", - "data": null, - "method": "DELETE", - "dataMode": "params" - }, - "owner": "2830994" - } - ], - "currentHelper": null, - "helperAttributes": null - }, - { - "id": "3f4a8ed3-3976-92c7-c16e-0562858c975f", - "headers": "", - "headerData": [], - "url": "{{BASE_PATH}}/api/v1/jobs/health", - "folder": "59294d8f-d424-590d-cfaa-e59efb36a843", - "queryParams": [], - "pathVariables": {}, - "pathVariableData": [], - "method": "GET", - "data": null, - "dataMode": "params", - "time": 1515396046330, - "name": "Get job healthy statistics", - "description": "`GET /api/v1/jobs/health`\n\n#### Response Body Sample\n```\n{\n \"healthyJobCount\": 1,\n \"jobCount\": 2\n}\n```", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK" - }, - "time": 391, - "headers": [ - { - "name": "access-control-allow-headers", - "key": "access-control-allow-headers", - "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", - "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." - }, - { - "name": "access-control-allow-methods", - "key": "access-control-allow-methods", - "value": "POST, GET, OPTIONS, DELETE,PUT", - "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." - }, - { - "name": "access-control-allow-origin", - "key": "access-control-allow-origin", - "value": "*", - "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." - }, - { - "name": "access-control-max-age", - "key": "access-control-max-age", - "value": "3600", - "description": "Indicates how long the results of a preflight request can be cached in seconds." - }, - { - "name": "content-type", - "key": "content-type", - "value": "application/json;charset=UTF-8", - "description": "The mime type of this content" - }, - { - "name": "date", - "key": "date", - "value": "Wed, 25 Oct 2017 08:10:53 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "transfer-encoding", - "key": "transfer-encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - } - ], - "cookies": [], - "mime": "", - "text": "{\n \"healthyJobCount\": 1,\n \"jobCount\": 2\n}", - "language": "json", - "rawDataType": "text", - "previewType": "text", - "searchResultScrolledTo": -1, - "forceNoPretty": false, - "write": true, - "empty": false, - "failed": false, - "id": "ceaa8bbe-0bb1-feb0-2847-8fdcdfa65ca6", - "name": "Get job healthy statistics example", - "isSample": true, - "scrollToResult": false, - "runTests": false, - "request": { - "url": "{{BASE_PATH}}/api/v1/jobs/health", - "pathVariables": {}, - "pathVariableData": [], - "queryParams": [], - "headerData": [], - "headers": "", - "data": null, - "method": "GET", - "dataMode": "params" - }, - "owner": "2830994" - } - ], - "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "auth": null, - "currentHelper": null, - "helperAttributes": null - }, - { - "id": "4612699d-8772-4dd8-1b34-36141b8ccfdd", - "headers": "", - "headerData": [], - "url": "{{BASE_PATH}}/api/v1/measures/:id", - "folder": "1c9e0f01-e8b4-b9be-10c7-64a5d79f8c17", - "queryParams": [], - "events": [], - "pathVariables": { - "id": "4" - }, - "pathVariableData": [ - { - "key": "id", - "value": "4" - } - ], - "method": "GET", - "data": null, - "dataMode": "params", - "auth": null, - "time": 1517996863123, - "name": "Get measure by id", - "description": "`GET /api/v1/measures/{id}`\n#### Path Variable\n- id -`required` `Long` measure id\n\n#### Request Sample\n\n`/api/v1/measures/1`", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK", - "detail": "Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action." - }, - "time": 203, - "headers": [ - { - "key": "Access-Control-Allow-Headers", - "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", - "name": "Access-Control-Allow-Headers", - "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." - }, - { - "key": "Access-Control-Allow-Methods", - "value": "POST, GET, OPTIONS, DELETE,PUT", - "name": "Access-Control-Allow-Methods", - "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*", - "name": "Access-Control-Allow-Origin", - "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." - }, - { - "key": "Access-Control-Max-Age", - "value": "3600", - "name": "Access-Control-Max-Age", - "description": "Indicates how long the results of a preflight request can be cached in seconds." - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8", - "name": "Content-Type", - "description": "The mime type of this content" - }, - { - "key": "Date", - "value": "Wed, 07 Feb 2018 09:47:06 GMT", - "name": "Date", - "description": "The date and time that the message was sent" - }, - { - "key": "Transfer-Encoding", - "value": "chunked", - "name": "Transfer-Encoding", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - } - ], - "cookies": [], - "mime": "", - "text": "{\"measure.type\":\"griffin\",\"id\":4,\"name\":\"measure_no_predicate_day\",\"owner\":\"test\",\"description\":null,\"organization\":null,\"deleted\":false,\"dq.type\":\"accuracy\",\"process.type\":\"batch\",\"data.sources\":[{\"id\":6,\"name\":\"source\",\"connectors\":[{\"id\":6,\"name\":\"source1517994133405\",\"type\":\"HIVE\",\"version\":\"1.2\",\"predicates\":[],\"data.unit\":\"1day\",\"data.time.zone\":\"UTC(WET,GMT)\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_src\",\"where\":\"dt=#YYYYMMdd# AND hour=#HH#\"}}]},{\"id\":7,\"name\":\"target\",\"connectors\":[{\"id\":7,\"name\":\"target1517994142573\",\"type\":\"HIVE\",\"version\":\"1.2\",\"predicates\":[],\"data.unit\":\"1day\",\"data.time.zone\":\"UTC(WET,GMT)\",\"config\":{\"database\":\"default\",\"table.name\":\"demo_tgt\",\"where\":\"dt=#YYYYMMdd# AND hour=#HH#\"}}]}],\"evaluate.rule\":{\"id\":4,\"rules\":[{\"id\":4,\"rule\":\"source.age=target.age AND source.desc=target.desc\",\"name\":\"ac curacy\",\"dsl.type\":\"griffin-dsl\",\"dq.type\":\"accuracy\"}]},\"measure.type\":\"griffin\"}", - "language": "json", - "previewType": "text", - "searchResultScrolledTo": -1, - "forceNoPretty": false, - "write": true, - "empty": false, - "failed": false, - "code": 200, - "responseSize": { - "body": 928, - "header": 345, - "total": 1273 - }, - "mimeType": "text", - "fileName": "response.json", - "dataURI": "data:application/json;base64, eyJtZWFzdXJlLnR5cGUiOiJncmlmZmluIiwiaWQiOjQsIm5hbWUiOiJtZWFzdXJlX25vX3ByZWRpY2F0ZV9kYXkiLCJvd25lciI6InRlc3QiLCJkZXNjcmlwdGlvbiI6bnVsbCwib3JnYW5pemF0aW9uIjpudWxsLCJkZWxldGVkIjpmYWxzZSwiZHEudHlwZSI6ImFjY3VyYWN5IiwicHJvY2Vzcy50eXBlIjoiYmF0Y2giLCJkYXRhLnNvdXJjZXMiOlt7ImlkIjo2LCJuYW1lIjoic291cmNlIiwiY29ubmVjdG9ycyI6W3siaWQiOjYsIm5hbWUiOiJzb3VyY2UxNTE3OTk0MTMzNDA1IiwidHlwZSI6IkhJVkUiLCJ2ZXJzaW9uIjoiMS4yIiwicHJlZGljYXRlcyI6W10sImRhdGEudW5pdCI6IjFkYXkiLCJkYXRhLnRpbWUuem9uZSI6IlVUQyhXRVQsR01UKSIsImNvbmZpZyI6eyJkYXRhYmFzZSI6ImRlZmF1bHQiLCJ0YWJsZS5uYW1lIjoiZGVtb19zcmMiLCJ3aGVyZSI6ImR0PSNZWVlZTU1kZCMgQU5EIGhvdXI9I0hIIyJ9fV19LHsiaWQiOjcsIm5hbWUiOiJ0YXJnZXQiLCJjb25uZWN0b3JzIjpbeyJpZCI6NywibmFtZSI6InRhcmdldDE1MTc5OTQxNDI1NzMiLCJ0eXBlIjoiSElWRSIsInZlcnNpb24iOiIxLjIiLCJwcmVkaWNhdGVzIjpbXSwiZGF0YS51bml0IjoiMWRheSIsImRhdGEudGltZS56b25lIjoiVVRDKFdFVCxHTVQpIiwiY29uZmlnIjp7ImRhdGFiYXNlIjoiZGVmYXVsdCIsInRhYmxlLm5hbWUiOiJkZW1vX3RndCIsIndoZXJlIjoiZHQ9I1lZWVlNTW RkIyBBTkQgaG91cj0jSEgjIn19XX1dLCJldmFsdWF0ZS5ydWxlIjp7ImlkIjo0LCJydWxlcyI6W3siaWQiOjQsInJ1bGUiOiJzb3VyY2UuYWdlPXRhcmdldC5hZ2UgQU5EIHNvdXJjZS5kZXNjPXRhcmdldC5kZXNjIiwibmFtZSI6ImFjY3VyYWN5IiwiZHNsLnR5cGUiOiJncmlmZmluLWRzbCIsImRxLnR5cGUiOiJhY2N1cmFjeSJ9XX0sIm1lYXN1cmUudHlwZSI6ImdyaWZmaW4ifQ==", - "name": "Get measure by id example", - "id": "06c85ba7-3235-95b8-75c9-7d63e947a11a", - "request": { - "url": "{{BASE_PATH}}/api/v1/measures/:id", - "pathVariables": { - "id": "4" - }, - "pathVariableData": [ - { - "key": "id", - "value": "4" - } - ], - "queryParams": [], - "headerData": [], - "headers": "", - "data": null, - "method": "GET", - "dataMode": "params" - } - } - ], - "currentHelper": null, - "helperAttributes": null - }, - { - "id": "47c5b25b-f85b-ea16-fbde-e4537c0b313d", - "headers": "", - "headerData": [], - "url": "{{BASE_PATH}}/api/v1/metadata/hive/tables/names?db=default", - "queryParams": [ - { - "key": "db", - "value": "default", - "equals": true, - "description": "", - "enabled": true - } - ], - "pathVariables": {}, - "pathVariableData": [], - "method": "GET", - "data": null, - "dataMode": "params", - "time": 1508997683445, - "name": "Get table names", - "description": "`GET /api/v1/metadata/hive/tables/names`\n#### Request Parameter\nname | description | typ | example value\n--- | --- | --- | ---\ndb | hive database name | String | default", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK" - }, - "time": 226, - "headers": [ - { - "name": "access-control-allow-headers", - "key": "access-control-allow-headers", - "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", - "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." - }, - { - "name": "access-control-allow-methods", - "key": "access-control-allow-methods", - "value": "POST, GET, OPTIONS, DELETE,PUT", - "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." - }, - { - "name": "access-control-allow-origin", - "key": "access-control-allow-origin", - "value": "*", - "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." - }, - { - "name": "access-control-max-age", - "key": "access-control-max-age", - "value": "3600", - "description": "Indicates how long the results of a preflight request can be cached in seconds." - }, - { - "name": "content-type", - "key": "content-type", - "value": "application/json;charset=UTF-8", - "description": "The mime type of this content" - }, - { - "name": "date", - "key": "date", - "value": "Wed, 25 Oct 2017 05:11:54 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "transfer-encoding", - "key": "transfer-encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - } - ], - "cookies": [], - "mime": "", - "text": "[\"demo_src\",\"demo_tgt\"]", - "language": "json", - "rawDataType": "text", - "previewType": "text", - "searchResultScrolledTo": -1, - "forceNoPretty": false, - "write": true, - "empty": false, - "failed": false, - "id": "525e2f07-7104-816d-7ac9-76052caa3370", - "name": "Get table names example", - "isSample": true, - "scrollToResult": false, - "runTests": false, - "request": "2d875b81-1a6e-6b3d-93a2-1cc225879369", - "owner": "2830994", - "requestObject": "{\"url\":\"{{BASE_PATH}}/api/v1/metadata/hive/tables/names?db=default\",\"pathVariables\":{},\"pathVariableData\":[],\"queryParams\":[{\"key\":\"db\",\"value\":\"default\",\"equals\":true,\"description\":\"\",\"enabled\":true}],\"headerData\":[],\"headers\":\"\",\"data\":null,\"method\":\"GET\",\"dataMode\":\"params\"}" - } - ], - "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "folder": "e75bc373-05d5-a00e-14f6-9aae1ba1d0e0", - "auth": null, - "currentHelper": null, - "helperAttributes": null - }, - { - "id": "4e0a68f2-4c2d-ae64-0186-01471ed543d4", - "headers": "", - "headerData": [], - "url": "{{BASE_PATH}}/api/v1/org/:org", - "queryParams": [], - "pathVariables": { - "org": "test" - }, - "pathVariableData": [ - { - "key": "org", - "value": "test" - } - ], - "method": "GET", - "data": null, - "dataMode": "params", - "time": 1508998400445, - "name": "Get measure names by org", - "description": "`GET /api/v1/org/{org}`\n#### Path Variable\n- org - `required` `String` organization name.\n\n#### Request Sample\n`/api/v1/org/test`", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK", - "detail": "Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action." - }, - "time": 26, - "headers": [ - { - "name": "access-control-allow-headers", - "key": "access-control-allow-headers", - "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", - "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." - }, - { - "name": "access-control-allow-methods", - "key": "access-control-allow-methods", - "value": "POST, GET, OPTIONS, DELETE,PUT", - "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." - }, - { - "name": "access-control-allow-origin", - "key": "access-control-allow-origin", - "value": "*", - "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." - }, - { - "name": "access-control-max-age", - "key": "access-control-max-age", - "value": "3600", - "description": "Indicates how long the results of a preflight request can be cached in seconds." - }, - { - "name": "content-type", - "key": "content-type", - "value": "application/json;charset=UTF-8", - "description": "The mime type of this content" - }, - { - "name": "date", - "key": "date", - "value": "Thu, 26 Oct 2017 06:10:23 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "transfer-encoding", - "key": "transfer-encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - } - ], - "cookies": [], - "mime": "", - "text": "[\"measure1\"]", - "language": "json", - "rawDataType": "text", - "previewType": "text", - "searchResultScrolledTo": -1, - "forceNoPretty": false, - "write": true, - "empty": false, - "failed": false, - "name": "Get measure names by org example", - "id": "0523ac28-eacd-87b2-e346-cf177b267f79", - "request": "9f6e5105-1aaf-22a0-f88a-dbc25277751d", - "owner": "2830994", - "requestObject": "{\"url\":\"{{BASE_PATH}}/api/v1/org/:org\",\"pathVariables\":{\"org\":\"test\"},\"pathVariableData\":[{\"key\":\"org\",\"value\":\"test\"}],\"queryParams\":[],\"headerData\":[],\"headers\":\"\",\"data\":null,\"method\":\"GET\",\"dataMode\":\"params\"}" - } - ], - "isFromCollection": true, - "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "folder": "b74c083b-f9b7-05d4-f7fd-cb5556b5616b", - "auth": null, - "currentHelper": null, - "helperAttributes": null - }, - { - "id": "5388bdf6-51ed-111e-938c-0eb569dde237", - "headers": "", - "headerData": [], - "url": "{{BASE_PATH}}/api/v1/jobs/:id", - "folder": "59294d8f-d424-590d-cfaa-e59efb36a843", - "queryParams": [], - "events": [], - "pathVariables": { - "id": "2" - }, - "pathVariableData": [ - { - "key": "id", - "value": "2" - } - ], - "method": "DELETE", - "data": null, - "dataMode": "params", - "auth": null, - "time": 1517208818277, - "name": "Delete job by id", - "description": "`DELETE /api/v1/jobs/{id}`\n#### Path Variable\n- id -`required` `Long` job id\n\n#### Response\nThe response body should be empty if no error happens, and the HTTP status is (204, \"No Content\").\n\nIt may return failed messages. For example\n```\n{\n \"timestamp\": 1517208792108,\n \"status\": 404,\n \"error\": \"Not Found\",\n \"code\": 40402,\n \"message\": \"Job id does not exist\",\n \"path\": \"/api/v1/jobs/2\"\n}\n```\nThere will be 'status' and 'error' fields in response if error happens, which correspond to HTTP status.\n\nThere may also be 'code' and 'message' fields, which will point out the cause.\n\nIf an exception happens at server, there will be an 'exception' field, which is the name of exception.", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "responses": [ - { - "status": "", - "responseCode": { - "code": 204, - "name": "No Content", - "detail": "The server successfully processed the request, but is not returning any content." - }, - "time": 29, - "headers": [ - { - "key": "Access-Control-Allow-Headers", - "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", - "name": "Access-Control-Allow-Headers", - "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." - }, - { - "key": "Access-Control-Allow-Methods", - "value": "POST, GET, OPTIONS, DELETE,PUT", - "name": "Access-Control-Allow-Methods", - "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*", - "name": "Access-Control-Allow-Origin", - "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." - }, - { - "key": "Access-Control-Max-Age", - "value": "3600", - "name": "Access-Control-Max-Age", - "description": "Indicates how long the results of a preflight request can be cached in seconds." - }, - { - "key": "Date", - "value": "Mon, 29 Jan 2018 06:52:14 GMT", - "name": "Date", - "description": "The date and time that the message was sent" - } - ], - "cookies": [ - { - "domain": "localhost", - "expirationDate": 2147483647, - "httpOnly": true, - "name": "JSESSIONID", - "path": "/", - "secure": false, - "url": "http://localhost:8080", - "value": "DC35BDC91FC450DE5D89D477E27FD19E" - } - ], - "mime": "", - "text": "", - "language": "plain", - "previewType": "text", - "searchResultScrolledTo": -1, - "forceNoPretty": false, - "write": true, - "empty": false, - "failed": false, - "code": 204, - "responseSize": { - "body": 0, - "header": 279, - "total": 279 - }, - "mimeType": "text", - "fileName": "response.txt", - "dataURI": "data:text/plain;base64, ", - "name": "Delete job by id example", - "id": "9242e6a6-8241-c851-1945-5a14fe9de33a", - "request": { - "url": "{{BASE_PATH}}/api/v1/jobs/:id", - "pathVariables": { - "id": "2" - }, - "pathVariableData": [ - { - "key": "id", - "value": "2" - } - ], - "queryParams": [], - "headerData": [], - "headers": "", - "data": null, - "method": "DELETE", - "dataMode": "params" - }, - "owner": "2830994" - } - ], - "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "currentHelper": null, - "helperAttributes": null - }, - { - "id": "5a64e424-ae7b-55b3-9221-ecde940426bd", - "headers": "", - "headerData": [], - "url": "{{BASE_PATH}}/api/v1/version", - "queryParams": [], - "pathVariables": {}, - "pathVariableData": [], - "method": "GET", - "data": null, - "dataMode": "params", - "version": 2, - "time": 1508997903989, - "name": "Get griffin version", - "description": "`GET /api/v1/version`", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK" - }, - "time": 63, - "headers": [ - { - "name": "access-control-allow-headers", - "key": "access-control-allow-headers", - "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", - "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." - }, - { - "name": "access-control-allow-methods", - "key": "access-control-allow-methods", - "value": "POST, GET, OPTIONS, DELETE,PUT", - "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." - }, - { - "name": "access-control-allow-origin", - "key": "access-control-allow-origin", - "value": "*", - "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." - }, - { - "name": "access-control-max-age", - "key": "access-control-max-age", - "value": "3600", - "description": "Indicates how long the results of a preflight request can be cached in seconds." - }, - { - "name": "content-length", - "key": "content-length", - "value": "5", - "description": "The length of the response body in octets (8-bit bytes)" - }, - { - "name": "content-type", - "key": "content-type", - "value": "text/plain;charset=UTF-8", - "description": "The mime type of this content" - }, - { - "name": "date", - "key": "date", - "value": "Thu, 26 Oct 2017 05:45:09 GMT", - "description": "The date and time that the message was sent" - } - ], - "cookies": [], - "mime": "", - "text": "0.1.0", - "language": "plainText", - "rawDataType": "text", - "previewType": "text", - "searchResultScrolledTo": -1, - "forceNoPretty": false, - "write": true, - "empty": false, - "failed": false, - "name": "Get griffin version example", - "id": "36025860-5a05-aa93-39d8-554134daf62a", - "request": "89c14d57-74a2-f5c9-96fd-4d9d0ff68e04", - "owner": "2830994", - "requestObject": "{\"url\":\"{{BASE_PATH}}/api/v1/version\",\"pathVariables\":{},\"pathVariableData\":[],\"queryParams\":[],\"headerData\":[],\"headers\":\"\",\"data\":null,\"method\":\"GET\",\"dataMode\":\"params\"}" - } - ], - "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "isFromCollection": true, - "folder": "f7cebc34-4e5a-72f7-0272-f5c8dece342d", - "auth": null, - "currentHelper": null, - "helperAttributes": null - }, - { - "id": "6db2c20d-06b1-7fdc-568c-c3c1768f1d78", - "headers": "Content-Type: application/json\n", - "headerData": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "enabled": true - } - ], - "url": "{{BASE_PATH}}/api/v1/metrics/values", - "folder": "3b355665-0d22-f6ce-8a65-6ac44d514b71", - "queryParams": [], - "events": [], - "pathVariables": {}, - "pathVariableData": [], - "method": "POST", - "data": [], - "dataMode": "raw", - "auth": null, - "time": 1517209637311, - "name": "Add metric values", - "description": "`POST /api/v1/metrics/values`\n\nImport metric values into database of griffin.\n\n#### Request Header\nkey | value\n--- | ---\nContent-Type | application/json\n\n#### Request Body\n\nname | description | type\n--- | --- | --- \nMetric Values | A list of metric values | MetricValue\n\n#### Response\n\nThe response body should have 'errors' field as 'false' if success, for example\n\n```\n{\n \"took\": 32,\n \"errors\": false,\n \"items\": [\n {\n \"index\": {\n \"_index\": \"griffin\",\n \"_type\": \"accuracy\",\n \"_id\": \"AWFAs5pOJwYEbKWP7mhq\",\n \"_version\": 1,\n \"result\": \"created\",\n \"_shards\": {\n \"total\": 2,\n \"successful\": 1,\n \"failed\": 0\n },\n \"created\": true,\n \"status\": 201\n }\n }\n ]\n}\n```\n\n It may return failed message\n\n```\n{\n \"timestamp\": 1517209428969,\n \"status\": 500,\n \"error\": \"Internal Server Error\",\n \"message\": \"Failed to add metric values\",\n \"exception\": \"java.net.ConnectException\",\n \"path\": \"/api/v1/metrics/values\"\n}\n```\nThere will be 'status' and 'error' fields in response if error happens, which correspond to HTTP status.\n\nThere may also be 'code' and 'message' fields, which will point out the cause.\n\nIf an exception happens at server, there will be an 'exception' field, which is the name of exception.", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "responses": [ + "name": "Basic", + "item": [ { - "status": "", - "responseCode": { - "code": 200, - "name": "OK", - "detail": "Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action." - }, - "time": 703, - "headers": [ - { - "key": "Access-Control-Allow-Headers", - "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", - "name": "Access-Control-Allow-Headers", - "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." - }, - { - "key": "Access-Control-Allow-Methods", - "value": "POST, GET, OPTIONS, DELETE,PUT", - "name": "Access-Control-Allow-Methods", - "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*", - "name": "Access-Control-Allow-Origin", - "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." - }, - { - "key": "Access-Control-Max-Age", - "value": "3600", - "name": "Access-Control-Max-Age", - "description": "Indicates how long the results of a preflight request can be cached in seconds." - }, - { - "key": "Content-Length", - "value": "223", - "name": "Content-Length", - "description": "The length of the response body in octets (8-bit bytes)" - }, - { - "key": "Content-Type", - "value": "application/json", - "name": "Content-Type", - "description": "The mime type of this content" - }, - { - "key": "Date", - "value": "Mon, 29 Jan 2018 06:56:07 GMT", - "name": "Date", - "description": "The date and time that the message was sent" - } - ], - "cookies": [ - { - "domain": "localhost", - "expirationDate": 2147483647, - "httpOnly": true, - "name": "JSESSIONID", - "path": "/", - "secure": false, - "url": "http://localhost:8080", - "value": "DC35BDC91FC450DE5D89D477E27FD19E" - } - ], - "mime": "", - "text": "{\"took\":32,\"errors\":false,\"items\":[{\"index\":{\"_index\":\"griffin\",\"_type\":\"accuracy\",\"_id\":\"AWFAs5pOJwYEbKWP7mhq\",\"_version\":1,\"result\":\"created\",\"_shards\":{\"total\":2,\"successful\":1,\"failed\":0},\"created\":true,\"status\":201}}]}", - "language": "json", - "previewType": "text", - "searchResultScrolledTo": -1, - "forceNoPretty": false, - "write": true, - "empty": false, - "failed": false, - "code": 200, - "responseSize": { - "body": 223, - "header": 324, - "total": 547 - }, - "mimeType": "text", - "fileName": "response.json", - "dataURI": "data:application/json;base64, eyJ0b29rIjozMiwiZXJyb3JzIjpmYWxzZSwiaXRlbXMiOlt7ImluZGV4Ijp7Il9pbmRleCI6ImdyaWZmaW4iLCJfdHlwZSI6ImFjY3VyYWN5IiwiX2lkIjoiQVdGQXM1cE9Kd1lFYktXUDdtaHEiLCJfdmVyc2lvbiI6MSwicmVzdWx0IjoiY3JlYXRlZCIsIl9zaGFyZHMiOnsidG90YWwiOjIsInN1Y2Nlc3NmdWwiOjEsImZhaWxlZCI6MH0sImNyZWF0ZWQiOnRydWUsInN0YXR1cyI6MjAxfX1dfQ==", - "name": "Add metric values example", - "id": "61d3bbd2-f744-5e52-b8af-d9c8583e69b3", + "name": "Get griffin version", "request": { - "url": "{{BASE_PATH}}/api/v1/metrics/values", - "pathVariables": {}, - "pathVariableData": [], - "queryParams": [], - "headerData": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "enabled": true - } - ], - "headers": "Content-Type: application/json\n", - "data": "[\n\t{\n\t\t\"name\" : \"metricName\",\n\t\t\"tmst\" : 1509599811123,\n\t\t\"value\" : {\n\t\t\t\"__tmst\" : 1509599811123,\n\t\t\t\"miss\" : 11,\n\t\t\t\"total\" : 125000,\n\t\t\t\"matched\" : 124989\n\t\t}\n }\n]", - "method": "POST", - "dataMode": "raw" + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{BASE_PATH}}/api/v1/version", + "host": [ + "{{BASE_PATH}}" + ], + "path": [ + "api", + "v1", + "version" + ] + }, + "description": "`GET /api/v1/version`" }, - "owner": "2830994" + "response": [ + { + "name": "Get griffin version example", + "originalRequest": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{BASE_PATH}}/api/v1/version", + "host": [ + "{{BASE_PATH}}" + ], + "path": [ + "api", + "v1", + "version" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "plainText", + "header": [ + { + "key": "access-control-allow-headers", + "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "name": "access-control-allow-headers", + "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." + }, + { + "key": "access-control-allow-methods", + "value": "POST, GET, OPTIONS, DELETE,PUT", + "name": "access-control-allow-methods", + "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." + }, + { + "key": "access-control-allow-origin", + "value": "*", + "name": "access-control-allow-origin", + "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." + }, + { + "key": "access-control-max-age", + "value": "3600", + "name": "access-control-max-age", + "description": "Indicates how long the results of a preflight request can be cached in seconds." + }, + { + "key": "content-length", + "value": "5", + "name": "content-length", + "description": "The length of the response body in octets (8-bit bytes)" + }, + { + "key": "content-type", + "value": "text/plain;charset=UTF-8", + "name": "content-type", + "description": "The mime type of this content" + }, + { + "key": "date", + "value": "Thu, 26 Oct 2017 05:45:09 GMT", + "name": "date", + "description": "The date and time that the message was sent" + } + ], + "cookie": [], + "body": "0.1.0" + } + ] } - ], - "rawModeData": "[\n\t{\n\t\t\"name\" : \"metricName\",\n\t\t\"tmst\" : 1509599811123,\n\t\t\"value\" : {\n\t\t\t\"__tmst\" : 1509599811123,\n\t\t\t\"miss\" : 11,\n\t\t\t\"total\" : 125000,\n\t\t\t\"matched\" : 124989\n\t\t}\n }\n]", - "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "currentHelper": null, - "helperAttributes": null + ] }, { - "id": "6e764461-fb2b-ad66-b37a-04d831c4dbad", - "headers": "", - "headerData": [], - "url": "{{BASE_PATH}}/api/v1/jobs/instances?jobId=2&page=0&size=10", - "folder": "59294d8f-d424-590d-cfaa-e59efb36a843", - "queryParams": [ - { - "key": "jobId", - "value": "2", - "equals": true, - "description": "", - "enabled": true - }, - { - "key": "page", - "value": "0", - "equals": true, - "description": "", - "enabled": true - }, - { - "key": "size", - "value": "10", - "equals": true, - "description": "", - "enabled": true - } - ], - "pathVariables": {}, - "pathVariableData": [], - "method": "GET", - "data": null, - "dataMode": "params", - "time": 1515462422260, - "name": "Get job instances", - "description": "`GET /api/v1/jobs/instances`\n\nname | description | type | example value\n--- | --- | --- | ---\njobId | job id | Long | 1\npage | page you want starting from index 0 | int | 0\nsize | instance number per page | int | 10", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "responses": [ + "name": "Measures", + "item": [ { - "status": "", - "responseCode": { - "code": 200, - "name": "OK" - }, - "time": 3755, - "headers": [ - { - "name": "access-control-allow-headers", - "key": "access-control-allow-headers", - "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", - "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." - }, - { - "name": "access-control-allow-methods", - "key": "access-control-allow-methods", - "value": "POST, GET, OPTIONS, DELETE,PUT", - "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." - }, - { - "name": "access-control-allow-origin", - "key": "access-control-allow-origin", - "value": "*", - "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." - }, - { - "name": "access-control-max-age", - "key": "access-control-max-age", - "value": "3600", - "description": "Indicates how long the results of a preflight request can be cached in seconds." - }, - { - "name": "content-type", - "key": "content-type", - "value": "application/json;charset=UTF-8", - "description": "The mime type of this content" - }, - { - "name": "date", - "key": "date", - "value": "Wed, 25 Oct 2017 01:43:23 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "transfer-encoding", - "key": "transfer-encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - } - ], - "cookies": [], - "mime": "", - "text": "[\n {\n \"id\": 1,\n \"sessionId\": null,\n \"state\": \"success\",\n \"appId\": null,\n \"appUri\": null,\n \"predicateGroup\": \"PG\",\n \"predicateName\": \"job_name_predicate_1515399840077\",\n \"deleted\": true,\n \"timestamp\": 1515399840092,\n \"expireTimestamp\": 1516004640092\n },\n {\n \"id\": 2,\n \"sessionId\": null,\n \"state\": \"not_found\",\n \"appId\": null,\n \"appUri\": null,\n \"predicateGroup\": \"PG\",\n \"predicateName\": \"job_name_predicate_1515399840066\",\n \"deleted\": true,\n \"timestamp\": 1515399840067,\n \"expireTimestamp\": 1516004640067\n }\n]", - "language": "json", - "rawDataType": "text", - "previewType": "text", - "searchResultScrolledTo": -1, - "forceNoPretty": false, - "write": true, - "empty": false, - "failed": false, - "id": "2eee4a06-0d57-f4ec-d75c-23c3c090c150", - "name": "Get job instances example", - "isSample": true, - "scrollToResult": false, - "runTests": false, - "request": { - "url": "{{BASE_PATH}}/api/v1/jobs/instances?jobId=1&page=0&size=10", - "pathVariables": {}, - "pathVariableData": [], - "queryParams": [ - { - "key": "jobId", - "value": "1", - "equals": true, - "description": "", - "enabled": true + "name": "OrgnizationDimension", + "item": [ + { + "name": "Get orgs for measure", + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{BASE_PATH}}/api/v1/org", + "host": [ + "{{BASE_PATH}}" + ], + "path": [ + "api", + "v1", + "org" + ] + }, + "description": "`GET /api/v1/org`" }, - { - "key": "page", - "value": "0", - "equals": true, - "description": "", - "enabled": true + "response": [ + { + "name": "Get orgs for measure example", + "originalRequest": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8080/api/v1/org", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8080", + "path": [ + "api", + "v1", + "org" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "access-control-allow-headers", + "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", + "name": "access-control-allow-headers", + "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." + }, + { + "key": "access-control-allow-methods", + "value": "POST, GET, OPTIONS, DELETE,PUT", + "name": "access-control-allow-methods", + "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." + }, + { + "key": "access-control-allow-origin", + "value": "*", + "name": "access-control-allow-origin", + "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." + }, + { + "key": "access-control-max-age", + "value": "3600", + "name": "access-control-max-age", + "description": "Indicates how long the results of a preflight request can be cached in seconds." + }, + { + "key": "content-type", + "value": "application/json;charset=UTF-8", + "name": "content-type", + "description": "The mime type of this content" + }, + { + "key": "date", + "value": "Wed, 25 Oct 2017 05:55:00 GMT", + "name": "date", + "description": "The date and time that the message was sent" + }, + { + "key": "transfer-encoding", + "value": "chunked", + "name": "transfer-encoding", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + } + ], + "cookie": [], + "body": "[\"ebay\",\"test\",\"orgName\"]" + } + ] + }, + { + "name": "Get measure names by org", + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{BASE_PATH}}/api/v1/org/:org", + "host": [ + "{{BASE_PATH}}" + ], + "path": [ + "api", + "v1", + "org", + ":org" + ], + "variable": [ + { + "key": "org", + "value": "test" + } + ] + }, + "description": "`GET /api/v1/org/{org}`\n#### Path Variable\n- org - `required` `String` organization name.\n\n#### Request Sample\n`/api/v1/org/test`" }, - { - "key": "size", - "value": "10", - "equals": true, - "description": "", - "enabled": true - } - ], - "headerData": [], - "headers": "", - "data": null, - "method": "GET", - "dataMode": "params" - }, - "owner": "2830994" - } - ], - "collection_id": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "auth": null, - "currentHelper": null, - "helperAttributes": null - }, - { - "id": "77ed2f51-37a6-4672-de17-7fe1de169c6d", - "headers": "Content-Type: application/json\n", - "headerData": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "enabled": true - } - ], - "url": "{{BASE_PATH}}/api/v1/jobs", - "folder": "59294d8f-d424-590d-cfaa-e59efb36a843", - "queryParams": [], - "events": [], - "pathVariables": {}, - "pathVariableData": [], - "method": "POST", - "data": [], - "dataMode": "raw", - "auth": null, - "time": 1517994850475, - "name": "Add job", - "description": "`POST /api/v1/jobs`\n\n#### Request Header\nkey | value\n--- | ---\nContent-Type | application/json\n\n\n#### Request Body\nname | description | type \n--- | --- | ---\njobSchedule | custom class composed of job key parameters | JobSchedule \n\n\n#### Response\n\nThe response body should be the job schedule created if success. For example:\n```\n{\n \"id\": 3,\n \"measure.id\": 5,\n \"job.name\": \"job_name\",\n \"cron.expression\": \"0 0/4 * * * ?\",\n \"cron.time.zone\": \"GMT+8:00\",\n \"predicate.config\": {\n \"checkdonefile.schedule\": {\n \"interval\": \"1m\",\n \"repeat\": 2\n }\n },\n \"data.segments\": [\n {\n \"id\": 5,\n \"data.connector.name\": \"connector_name_source\",\n \"as.baseline\": true,\n \"segment.range\": {\n \"id\": 5,\n \"begin\": \"-1h\",\n \"length\": \"1h\"\n }\n } ,\n {\n \"id\": 6,\n \"data.connector.name\": \"connector_name_target\",\n \"as.baseline\": false,\n \"segment.range\": {\n \"id\": 6,\n \"begin\": \"-1h\",\n \"length\": \"1h\"\n }\n }\n ]\n}\n```\nIt may return failed messages. For example\n\n```\n{\n \"timestamp\": 1517208444322,\n \"status\": 400,\n \"error\": \"Bad Request\",\n \"code\": 40009,\n \"message\": \"Property 'measure.id' is invalid\",\n \"path\": \"/api/v1/jobs\"\n}\n```\nThere will be 'status' and 'error' fields in response if error happens, which correspond to HTTP status.\n\nThere may also be 'code' and 'message' fields, which will point out the cause.\n\nIf an exception happens at server, there will be an 'exception' field, which is the name of exception.", - "collectionId": "b7b709f1-e966-c33c-6bc6-4164f2faf0e5", - "responses": [ - { - "status": "", - "responseCode": { - "code": 201, - "name": "Created" - }, - "time": 433, - "headers": [ - { - "key": "Access-Control-Allow-Headers", - "value": "X-PINGOTHER, Origin, X-Requested-With, Content-Type, Accept", - "name": "Access-Control-Allow-Headers", - "description": "Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request." - }, - { - "key": "Access-Control-Allow-Methods", - "value": "POST, GET, OPTIONS, DELETE,PUT", - "name": "Access-Control-Allow-Methods", - "description": "Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request." - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*", - "name": "Access-Control-Allow-Origin", - "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource." - }, - { - "key": "Access-Control-Max-Age", - "value": "3600", - "name": "Access-Control-Max-Age", - "description": "Indicates how long the results of a preflight request can be cached in seconds." - }, - { - "key": "Content-Type", - "value": "application/json;charset=UTF-8", - "name": "Content-Type", - "description": "The mime type of this content" - <TRUNCATED>