WebOfTrust / keria

KERI Agent in the cloud
https://keria.readthedocs.io/en/latest/
Apache License 2.0
18 stars 29 forks source link

Feature request: filter operations by status #192

Open lenkan opened 7 months ago

lenkan commented 7 months ago

Currently, it is only possible to list operations by particular status. For example, get all pending operations or get all failed operations. It would be helpful to be able to inform users that certain operations are pending or have failed.

Current behaviour:

GET /operations
=> Return all operations

GET /operations?type=group
=> Get all operations of type 'group'

Requested features:

GET /operations?type=group&status=pending
=> Get all pending operations of type 'group'

GET /operations?type=group&status=error
=> Get all failed operations of type 'group'

GET /operations?status=error
=> Get all failed operations

GET /operations?status=pending
=> Get all pending operations

GET /operations?status=done
=> Get all finished operations