(Hafah with rest api) Change operations api in swagger
contains changes in hafah: HAfAH!140 (closed)
runs on haf_api_node: haf_api_node!16 (merged)
-
moved operation-types and operation-keys to operations tag,
-
limit
parameter changed toresult-limit
- this change is required due to a bug - postgrest uses limit as his own query parameter and doesn't forward it to APIs. It was unnoticed due to the fact that most apis inhafbe
are using default limit
/hafbe/witnesses/gtg/voters?limit=100
(default limit was max int) this call internally would look for "max int" rows but return 100 rows (limited by postgrest) https://docs.postgrest.org/en/v12/references/api/pagination_count.html#query-parameters, -
operation_id changed Int->string
Edited by Michal Zander