digitalbazaar / edv-client

An Encrypted Data Vault Client
BSD 3-Clause "New" or "Revised" License
13 stars 9 forks source link

Consider allowing queries to be posted to `/documents?` instead of `/query`. #96

Open dlongley opened 2 years ago

dlongley commented 2 years ago

This approach would simplify zcap requirements and follow invocationTarget attenuation conventions better. IOW, a zcap could be delegated with an invocationTarget of https://example.com/edvs/123/documents -- and it could be used to query at https://example.com/edvs/123/documents? instead of creating custom rules to allow it to query at https://example.com/edvs/123/query.