Introduced the `GetAnnotsOfReceiver` method in `AnnotationController` to handle HTTP GET requests for retrieving receiver-specific annotations. The method enforces authorization using the `Receiver` policy, fetches the document via a mediator query, and filters signatures based on the current receiver. Returns appropriate HTTP responses for empty documents or missing signatures. Added new `using` directives for required dependencies and reorganized imports for better readability. Included a `TODO` comment for potential future updates.
5.8 KiB
5.8 KiB