You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During development of the clients I found it very inconvenient that you need to call GET /processes/{process_id} for all processes over and over again. I'd suggest to merge both endpoints, which basically adds the args only:
Example for /processes:
[
{
"process_id":"NDVI",
"description":"Computes the normalized difference vegetation index (NDVI) for all pixels of the input dataset.",
"args":{
"red":{
"description":"red band ..."
},
"nir":{
"description":"near infrared band ..."
}
}
},
{
"process_id":"median_time",
"description":"Applies median aggregation to pixel time series for all bands of the input dataset.",
"args":{
"A":{
"description":"input product (time series)"
}
}
}
]
GET /processes/{process_id} would be removed completely.
Not sure about GET /data and GET /data/{product_id}. The latter delivers more additional information to /data and I think datasets are not requested that often as only one or two datasets are usually used per request, but more than one or two processes per request.
The text was updated successfully, but these errors were encountered:
m-mohr
changed the title
Merge GET /processes and GET /processes/{process_id}?
Merge GET /processes and GET /processes/{process_id}? (Also: /udf_runtimes/{lang}/{udf_type})
Mar 11, 2018
m-mohr
changed the title
Merge GET /processes and GET /processes/{process_id}? (Also: /udf_runtimes/{lang}/{udf_type})
Merge GET /processes and GET /processes/{process_id}?
Mar 11, 2018
During development of the clients I found it very inconvenient that you need to call GET /processes/{process_id} for all processes over and over again. I'd suggest to merge both endpoints, which basically adds the args only:
Example for /processes:
GET /processes/{process_id} would be removed completely.
Not sure about GET /data and GET /data/{product_id}. The latter delivers more additional information to /data and I think datasets are not requested that often as only one or two datasets are usually used per request, but more than one or two processes per request.
The text was updated successfully, but these errors were encountered: