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
In the Conductor HTTP APIs, can we have ability to limit fields in responses.
As an example i am taking this API: /api/workflow/:workflowId
The response of this have lots of details, we may not be looking for all the information everytime.
Example, when i am polling for status of workflow, it will be nice if i can do /api/workflow/:workflowId?fields=status which should only return:
{"status": "COMPLETE"}
If APIs can allow queryparams like fields, omit to do such response modifications. it will help in making lightweight calls.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the Conductor HTTP APIs, can we have ability to limit fields in responses.
As an example i am taking this API:
/api/workflow/:workflowId
The response of this have lots of details, we may not be looking for all the information everytime.
Example, when i am polling for status of workflow, it will be nice if i can do
/api/workflow/:workflowId?fields=status
which should only return:If APIs can allow queryparams like
fields
,omit
to do such response modifications. it will help in making lightweight calls.Beta Was this translation helpful? Give feedback.
All reactions