cfpb / regtech-cleanup-api

Repo holding the cleanup-api for deleting institutions and filing data after test runs
0 stars 0 forks source link

Combine institution and filing cleanup to single endpoint #35

Closed guffee23 closed 1 day ago

guffee23 commented 6 days ago

Create an endpoint that removes the institutions and filing data. Call into to both functions, require data needed for both in the endpoint url.

guffee23 commented 5 days ago

The paths need to be set to the following: /v1/cleanup/{lei} <- All institutions and filings for a LEI /v1/cleanup/institution/{lei} <- Institutions for a LEI /v1/cleanup/filing/{lei}/{period_code} <- Filings for a LEI for a given period /v1/cleanup/submissions/{lei}/{period_code} <- Submissions for a LEI for a given period

Update the readme.md with the following after this update for #26