Spaces:
Runtime error
Runtime error
|
Download docs/api-docs.md from sp103107/cannabiscal: direct link, hf CLI and curl.
- Browser
- Download file 352 Bytes
-
https://huggingface.co/spaces/sp103107/cannabiscal/resolve/main/docs/api-docs.md
- Command line
-
hf download hf://spaces/sp103107/cannabiscal/docs/api-docs.md
-
curl -L -o api-docs.md https://huggingface.co/spaces/sp103107/cannabiscal/resolve/main/docs/api-docs.md
352 Bytes
| # API Documentation | |
| ## Endpoint: /calculate | |
| ### Request | |
| POST /calculate | |
| { | |
| "week": 1, | |
| "growth_phase": "veg", | |
| "reservoir_size": 10, | |
| "unit": "ml" | |
| } | |
| ### Response | |
| { | |
| "week": 1, | |
| "growth_phase": "veg", | |
| "reservoir_size": 10, | |
| "unit": "ml", | |
| "nutrient_mix": { | |
| "Nitrogen": 2.0, | |
| "Phosphorus": 1.0, | |
| "Potassium": 2.0 | |
| } | |
| } | |