Skip to content

JonesGladston/judgements_web_api

Repository files navigation

Cases Endpoints:

  1. List out cases
GET '/cases?pageNumber=1&pageSize=20'

Will fetch you list of cases based of your params

  1. Fetch a Cases
GET '/cases/:id'

Success Response will hold the case which matches the id.

  1. Create a new case
POST '/cases'
  1. Edit a case
PUT '/cases/:id'
  1. Delete a case
DELETE '/cases/:id'
  1. Sorting

To get a sorted list of response you have to send the field to be sorted with the query.

GET 'cases?pageNumber=1&sort=Judge_asc'
GET 'cases?pageNumber=1&sort=Judge_dsc'

'asc' suffix for ascending and 'dsc' suffix for descending

There are similar endpoints for Plaintiffs and Defendants

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages