The following API is being implemented. The links below connect to the Swagger definition of each API. Swagger can speed client code development. See https://github.com/swagger-api
Click here to get the definition, then copy into the left panel at https://editor.swagger.io/#
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/08/image-13.png)
You can now generate client code in multiple languages
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/08/image-14.png)
Object Type | Get (all) | Get | Post | Put | Delete |
API KEY Required | Yes | Yes | Yes | ||
Citations | |||||
Conditions | |||||
Facts | |||||
Labs | |||||
Modifiers | |||||
Units | |||||
Verbs |
APIKEY
The following illustrates how an API Key needs to be sent in Postman
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/08/image-8.png)
If an invalid key is provided, you will get this response
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/08/image-9.png)
Status Code + Message Model
Some examples are below (again, using Postman)
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/08/image-10.png)
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/08/image-11.png)
Error Messages
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/08/image-12.png)
Recent Comments