List Fields
For a better understanding of how you can implement the API into your software see Get Started
Description
This route is used to ask for its available fields under each service (ndvi, etc.). Get a list of all the fields available for the current user for the given service.
When no service name is specified, this method returns a list of all fields for the current user.
Endpoints
- /fields/list/{service_name}
- /fields/list
Method type
GET
Parameters
name | description | type | Required | Default Value |
---|---|---|---|---|
token | Your identification token | string | required |
Responses
status code | description |
---|---|
200 | The resource has been fetched and is transmitted in the message body |
Example Request
GET https://spacesense-api.ew.r.appspot.com/fields/list/ndvi?token=__myToken__
Example Response
{
"[fields,area(ha),labels]": [
["farm_1", 17.75, ["ndvi", "ndwi", "parsec"]],
["farm_2", 15.79, ["ndvi", "ndwi", "parsec"]]
]
}