{"_id":"595cc9863d4846003332854d","project":"55faeacad0e22017005b8265","version":{"_id":"55faeacad0e22017005b8268","project":"55faeacad0e22017005b8265","__v":33,"createdAt":"2015-09-17T16:31:06.800Z","releaseDate":"2015-09-17T16:31:06.800Z","categories":["55faeacbd0e22017005b8269","55faf550764f50210095078e","55faf5b5626c341700fd9e96","55faf8a7825d5f19001fa386","560052f91503430d007cc88f","560054f73aa0520d00da0b1a","56005aaf6932a00d00ba7c62","56005c273aa0520d00da0b3f","5601ae7681a9670d006d164d","5601ae926811d00d00ceb487","5601aeb064866b1900f4768d","5601aee850ee460d0002224c","5601afa02499c119000faf19","5601afd381a9670d006d1652","561d4c78281aec0d00eb27b6","561d588d8ca8b90d00210219","563a5f934cc3621900ac278c","5665c5763889610d0008a29e","566710a36819320d000c2e93","56ddf6df8a5ae10e008e3926","56e1c96b2506700e00de6e83","56e1ccc4e416450e00b9e48c","56e1ccdfe63f910e00e59870","56e1cd10bc46be0e002af26a","56e1cd21e416450e00b9e48e","56e3139a51857d0e008e77be","573b4f62ef164e2900a2b881","57c9d1335fd8ca0e006308ed","57e2bd9d1e7b7220000d7fa5","57f2b992ac30911900c7c2b6","58adb5c275df0f1b001ed59b","58c81b5c6dc7140f003c3c46","595412446ed4d9001b3e7b37"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"v1","version_clean":"1.0.0","version":"1"},"category":{"_id":"57e2bd9d1e7b7220000d7fa5","version":"55faeacad0e22017005b8268","__v":0,"project":"55faeacad0e22017005b8265","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-09-21T17:04:29.273Z","from_sync":false,"order":14,"slug":"answerfactory-web-application","title":"AnswerFactory Application"},"user":"56267741db1eda0d001c3dbb","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-07-05T11:12:06.027Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"56e2c4e50522b90e00d9a7b1","results":{"codes":[{"name":"","code":"{\n  \"rows\": [\n    {\n      \"id\": \"DCA Apron\",\n      \"name\": \"DCA Apron\",\n      \"cells\": [\n        {\n          \"columnId\": \"b9119f41-af1d-4cb2-8f21-7d700ef648f2\",\n          \"columnName\": \"2010-01-27\",\n          \"columnSortName\": \"2010-01-27T00:00:00.000Z\",\n          \"values\": {\n            \"area\": 0.071674013968932,\n            \"imagePercentage\": 1,\n            \"areaPercentage\": 0.416731033345738,\n            \"count\": 13\n          }\n        },\n        {\n          \"columnId\": \"25a76c38-0464-459a-8290-3550c2afad61\",\n          \"columnName\": \"2016-05-31\",\n          \"columnSortName\": \"2016-05-31T00:00:00.000Z\",\n          \"values\": {\n            \"area\": 0.0337527304957916,\n            \"imagePercentage\": 1,\n            \"areaPercentage\": 0.19624700053562563,\n            \"count\": 6\n          }\n        }\n      ]\n    },\n    ...\n  ],\n  \"field\": \"Total\",\n  \"availableFields\": [\n    \"Airliner\",\n    \"Helicopter\",\n    \"Total\"\n  ],\n  \"displayCellsAs\": \"vector\"\n}","language":"json","status":200}]},"examples":{"codes":[{"code":"Request:\nGET /answer-factory-recipe-service/api/answer/table/:projectId/:recipeId\n\nParams:\n  projectId: the ID of the project\n  recipeId: the ID of the recipe\n  field: optional value to filter table by\n\nHeaders:\n  Authorization: Bearer {token}\n  Accept: application/json\n\n\nResponse (success):\n200 OK\n\nBody:\n  {\n    \"rows\": [\n      {\n        \"id\": \"area of interest 1 identifier\",\n        \"name\": \"area of interest 1 name\",\n        \"cells\": [\n          {\n            \"columnId\": \"result 1 identifier\",\n            \"columnName\": \"typically a date in one of the following formats: yyyy-MM-dd, yyyy-MM, yyyy, yyyy quarter (ex: 2016 Q2)\",\n            \"columnSortName\": \"value to sort columns on to get natural order\",\n            \"values\": {\n              \"imagePercentage\": /* decimal value 0-1 of percentage of area of interest the source image covers */,\n              \"areaPercentage\": /* decimal value 0-1 of percentage of area of interest the result covers */,\n              \"count\": /* number of result items (ex: number of vectors) */\n            }\n          },\n          {\n            \"...\"\n          }\n        ]\n      },\n      {\n        \"...\"\n      }\n    ],\n    \"field\": \"current field filtering by; defaults to 'Total'\",\n    \"availableFields\": [\n      \"field value 1\",\n      \"field value 2\",\n      \"...\"\n    ],\n    \"displayCellsAs\": \"how this result can be viewed; possible values: vector\"\n  }","language":"text"},{"code":"https://vector.geobigdata.io/answer-factory-recipe-service/api/answer/table/ec9a9f8e-23ae-435e-b7e3-1aa7767e9fdc/openskynet-aircraft-detection","language":"http"}]},"method":"get","auth":"required","params":[{"_id":"595cc5513d48460033328546","ref":"","in":"path","required":true,"desc":"The ID of the project.","default":"","type":"string","name":"projectId"},{"_id":"595cc96c06bc790051cebb7e","ref":"","in":"path","required":true,"desc":"The ID of the recipe.","default":"","type":"string","name":"recipeId"}],"url":"/answer-factory-recipe-service/api/answer/table/:projectId/:recipeId"},"isReference":false,"order":33,"body":"","excerpt":"","slug":"retrieve-answer-table","type":"endpoint","title":"Retrieve Answer Table"}

getRetrieve Answer Table


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

projectId:
required
string
The ID of the project.
recipeId:
required
string
The ID of the recipe.

Examples


Result Format


User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}