Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

[DRP] Add support for GET /status endpoint #417

Closed
adriaaaa opened this issue Apr 26, 2022 · 0 comments · Fixed by #485
Closed

[DRP] Add support for GET /status endpoint #417

adriaaaa opened this issue Apr 26, 2022 · 0 comments · Fixed by #485
Assignees
Labels
enhancement New feature or request

Comments

@adriaaaa
Copy link

adriaaaa commented Apr 26, 2022

Requirements

  1. MUST expose a GET /api/v1/drp/status endpoint (similar to GET /api/v1/privacy-request)
  2. MUST support a request_id query param to lookup requests by ID as defined by the specification
  3. MUST query the privacy request otherwise normally, using the given request ID
  4. MUST return a JSON response matching the “Exercise Status” schema defined in the DRP specification (request_id, status, received_at, etc.)

Implementation Notes

  • We can likely re-use PrivacyRequest.external_id for this field
  • see full requirements here
@adriaaaa adriaaaa added the enhancement New feature or request label Apr 26, 2022
eastandwestwind pushed a commit that referenced this issue May 10, 2022
* schema for DRP privacy requests

* URL for DRP status endpont

* add new route, move fulfilment of queries into a util method

* add tests, simplify endpoint to remove filtering

* add mappings of privacyrequeststatus to DPR statuses

* adds docstrings

* remove unused import

* fixes return type and adds docstring
adamsachs pushed a commit to adamsachs/fidesops_forked_test that referenced this issue May 17, 2022
* schema for DRP privacy requests

* URL for DRP status endpont

* add new route, move fulfilment of queries into a util method

* add tests, simplify endpoint to remove filtering

* add mappings of privacyrequeststatus to DPR statuses

* adds docstrings

* remove unused import

* fixes return type and adds docstring
sanders41 pushed a commit that referenced this issue Sep 22, 2022
* schema for DRP privacy requests

* URL for DRP status endpont

* add new route, move fulfilment of queries into a util method

* add tests, simplify endpoint to remove filtering

* add mappings of privacyrequeststatus to DPR statuses

* adds docstrings

* remove unused import

* fixes return type and adds docstring
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants