- Submit: https://aquacropapiapp.azurewebsites.net/api/submit
- Query: https://aquacropapiapp.azurewebsites.net/api/query
- GetJob: https://aquacropapiapp.azurewebsites.net/api/getjob
- Move-mock: https://aquacropapiapp.azurewebsites.net/api/move-mock
- Edit
config.inito your needs - in particular, enter the storage access key. - Make sure you are in a Python 3 environment (e.g.
python3 -m venv &ENVDIR && source $ENVDIR/bin/activate) - If the app is already deployed, use
make fetch-app-settingsto store the existing settings locally. - Then you can (re-)deploy with make azure-deploy.
{
"area_name": "Malawi",
"crop": "Maize",
"planting_date": "2018-01-01",
"irrigated": false,
"fraction": 0.0,
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
33.652496337890625,
-13.062088034413119
],
[
34.028778076171875,
-13.062088034413119
],
[
34.028778076171875,
-12.746176829427826
],
[
33.652496337890625,
-12.746176829427826
],
[
33.652496337890625,
-13.062088034413119
]
]
]
}
}{
"guid": "c1edf256-c4b2-4373-8ac8-3f3be5a2a82e"
}{
"status": "completed",
"error": null
}where status can be can be any of ["awaiting", "processing", "completed", "failed"].
{
"num_messages": 1
}{
"guid": "c1edf256-c4b2-4373-8ac8-3f3be5a2a82e",
"area_name": "Malawi",
"crop": "Maize",
"planting_date": "2018-01-01",
"irrigated": false,
"fraction": 0.0,
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
33.652496337890625,
-13.062088034413119
],
[
34.028778076171875,
-13.062088034413119
],
[
34.028778076171875,
-12.746176829427826
],
[
33.652496337890625,
-12.746176829427826
],
[
33.652496337890625,
-13.062088034413119
]
]
]
}
}
{
"guid": "c1edf256-c4b2-4373-8ac8-3f3be5a2a82e",
"error": null
}