openspecimen/rest/ng/biohazards
...
URL | http://<host>:<port>/openspecimen/rest/ng/biohazards or http://<host>:<port>/ openspecimen/rest/ng/biohazards?maxResults=2 |
Method | GET |
Request | application/json |
Response | [0] { biohazardId: 3 name: "Cr-51" type: "infectious" comment: "Something " activityStatus:"Active" } [1] { biohazardId: 4 name: "Cr-52" type: "infectious" comment: "Something " activityStatus:"Active" } |
Error Cases :
code | Applies to | Status Message |
---|---|---|
200 | All resources | biohazard Biohazard got successfully |
401 | All requests | Authorization failed, user doesn’t have authority |
500 | All requests | Internal server error, encountered server error while performing operations |