Evidence Items¶
The evidence items endpoint allows users to enumerate all of the evidence items present in CIViC as well as retrieve more detailed information on a specific evidence item. This is the endpoint that should be used to obtain a complete listing of every evidence item in CIViC.
Get a list of evidence items¶
This endpoint returns a listing of evidence items in CIViC. This index style endpoint is paginated by default. You can use the count
and page
parameters or the previous
and next
links to iterate through all the evidence items.
HTTP Request Format
GET https://civicdb.org/api/evidence_items
Query Parameters
Parameter |
Default |
Description |
---|---|---|
page |
1 |
Which page of results to return |
count |
25 |
How many evidence items to return on a single page |
Example Request
curl https://civicdb.org/api/evidence_items?count=1
Example Response
Expecting value: line 1 column 1 (char 0)
Get details for a specific evidence item¶
This endpoint retrieves details about a specific evidence item, given its internal CIViC id.
HTTP Request Format
GET https://civicdb.org/api/evidence_items/:id
Example Request
curl https://civicdb.org/api/evidence_items/512
Example Response
Expecting value: line 1 column 1 (char 0)