Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legal API: "get reviews" endpoint #21929

Closed
2 tasks done
severinbeauvais opened this issue Jun 20, 2024 · 2 comments
Closed
2 tasks done

Legal API: "get reviews" endpoint #21929

severinbeauvais opened this issue Jun 20, 2024 · 2 comments
Assignees
Labels
Entities - Olga A label to filter on the tickets for the Entities based team that Olga is PO for.

Comments

@severinbeauvais
Copy link
Collaborator

severinbeauvais commented Jun 20, 2024

To do:

  • create a "get reviews" endpoint that returns all reviews, with only the following properties:
    • original date submitted (from filing)
    • NR number
    • Home Identifier Number
    • completing party (from filing)
    • status
    • this should return only the latest review per filing
    • initially sort oldest to newest
    • support paging (page, limit)
    • no filtering or sorting -- will be done in Auth Web: enhance Staff Reviews section #21983
  • verify that user is staff

See also #21985.

@severinbeauvais severinbeauvais added the Entities - Olga A label to filter on the tickets for the Entities based team that Olga is PO for. label Jun 20, 2024
@severinbeauvais severinbeauvais changed the title Copy of Legal API: create review table and endpoints Legal API: review table endpoints Jun 20, 2024
@severinbeauvais severinbeauvais changed the title Legal API: review table endpoints Legal API: "get reviews" endpoint Jun 24, 2024
@ketaki-deodhar ketaki-deodhar self-assigned this Jul 4, 2024
@ketaki-deodhar
Copy link
Collaborator

GET <Legal API V2 base url>/admin/reviews and only callable by staff

Sample call from Postman:
image.png

@NaveenHebbale
Copy link

Closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Entities - Olga A label to filter on the tickets for the Entities based team that Olga is PO for.
Projects
None yet
Development

No branches or pull requests

4 participants