{"_id":"595ccdcf3ae8480033536048","project":"55faeacad0e22017005b8265","version":{"_id":"55faeacad0e22017005b8268","project":"55faeacad0e22017005b8265","__v":35,"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","59e76ce41938310028037295","5a009de510890d001c2aabfe"],"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":15,"slug":"answerfactory-web-application","title":"AnswerFactory Application"},"user":"56267741db1eda0d001c3dbb","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-07-05T11:30:23.352Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"method":"post","examples":{"codes":[{"code":"Request:\nPOST /answer-factory-recipe-service/api/estimate\n\nParams:\n  projectId: the ID of the project\n  recipeId: the ID of the recipe\n\nHeaders:\n  Authorization: Bearer {token}\n  Accept: application/json\n  Content-Type: application/json\n\nBody:\n  {\n   ... project definition ...\n  }\n\n\nResponse (success):\n200 OK\n\nBody:\n  [\n    {\n      \"projectId\": \"unique identifier of project\",\n      \"recipeId\": \"unique identifier of recipe\",\n      \"recipeName\": \"unique name of recipe\",\n      \"durationMillis\": /* estimated compute time in milliseconds */,\n      \"storageBytes\": /* estimated amount of S3 customer storage used in bytes */,\n      \"imageCount\": /* number of images that the recipe will process to sufficiently cover project areas of interest */,\n      \"specificEstimates\": [\n        {\n          \"ids\": [\n            \"acquisition/image id 1\",\n            \"...\"\n          ],\n          \"dates\": [\n            \"acquisition/image timestamp 1 in millis from epoch format\",\n            \"...\"\n          ],\n          \"durationMillis\": /* estimated compute time in milliseconds to process this image */,\n          \"storageBytes\": /* estimated amount of S3 customer storage used in bytes to process this image */\n        },\n        {\n          ...\n        }\n      ],\n      \"specificEstimatesTruncated\": /* boolean; true if not all images that are expected to be processed have corresponding specific estimates */\n    },\n    {\n      ...\n    }\n  ] ","language":"text"},{"code":"https://vector.geobigdata.io/answer-factory-recipe-service/api/estimate\n\nBody:\n{\n\t\"name\": \"Test_Project\",\n\t\"recipeConfigs\":[\n\t\t{\n\t\t\t\"recipeId\": \"query-tweets\",\n\t\t\t\"recipeName\": \"Query Tweets\",\n\t\t\t\"parameters\": [],\n\t\t\t\"configurationDate\": \"2017-05-01T12:56:48.276Z\"\n\t\t}\n\t\t],\n\t\t\"tags\":[],\n\t\t\"description\": \"\",\n\t\t\"notes\": \"\",\n\t\t\"acquisitionIds\":\"\",\n\t\t\"originalGeometries\":[\n\t\t\t{\n\t\t\t\t\"type\": \"Feature\",\n\t\t\t\t\"geometry\":{\n\t\t\t\t\t\"type\": \"Polygon\",\n\t\t\t\t\t\"coordinates\":[\n\t\t\t\t\t\t[\n\t\t\t\t\t\t\t[12.491111755371088,41.892470325119746],\n\t\t\t\t\t\t\t[12.489523887634274,41.888381086722546],\n\t\t\t\t\t\t\t[12.49510288238525,41.88694340165634],\n\t\t\t\t\t\t\t[12.497076988220211,41.89116051944157],\n\t\t\t\t\t\t\t[12.491111755371088,41.892470325119746]\n\t\t\t\t\t\t]\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t\"properties\":{\n\t\t\t\t\t\"name\": \"Colosseum\"\n\t\t\t\t}\n\t\t\t}\n\t\t],\n\t\t\"aois\":[\n\t\t\t{\n\t\t\t\t\"type\": \"Polygon\",\n\t\t\t\t\"coordinates\":[\n\t\t\t\t\t[\n\t\t\t\t\t\t[12.491112,41.89247],\n\t\t\t\t\t\t[12.497077,41.891161],\n\t\t\t\t\t\t[12.495103,41.886943],\n\t\t\t\t\t\t[12.489524,41.888381],\n\t\t\t\t\t\t[12.491112,41.89247]\n\t\t\t\t\t]\n\t\t\t\t]\n\t\t\t}\n\t\t],\n\t\t\"continuouslyOrdered\": false,\n\t\t\"visibility\":[],\n\t\t\"dateRange\":{\n\t\t\t\"startDate\":null,\n\t\t\t\"endDate\":null,\n\t\t\t\"count\":null\n\t\t}\n}","language":"http"}]},"results":{"codes":[{"name":"","code":"[\n  {\n    \"projectId\": null,\n    \"recipeId\": \"query-tweets\",\n    \"recipeName\": \"Query Tweets\",\n    \"durationMillis\": 0,\n    \"storageBytes\": 0,\n    \"imageCount\": 0,\n    \"message\": null,\n    \"specificEstimatesTruncated\": false,\n    \"specificEstimates\": null\n  }\n]","language":"json","status":200}]},"settings":"56e2c51cc8b0a40e000aa56b","auth":"required","params":[],"url":"/answer-factory-recipe-service/api/estimate"},"isReference":false,"order":39,"body":"","excerpt":"","slug":"retrieve-estimate-for-new-answerfactory-project","type":"endpoint","title":"Retrieve Estimate for New AnswerFactory Project"}

postRetrieve Estimate for New AnswerFactory Project


Definition

{{ api_url }}{{ page_api_url }}

Examples


Result Format


User Information

Try It Out


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