Comment on page
Uploading Files
GeoPard API allows uploading zip archives with soil/yield/applied/boundary datasets for further processing and analytics.
As a technical limitation of the cloud provider AWS, the max file size to upload via this REST endpoint is 6 MB.
Right after the successful upload of the soil/yield/applied dataset, the GeoPard engine links it to the related fields located inside the defined farm.
Right after the successful upload of the boundary, the GeoPard engine initializes its processing.
The response contains <uuid> to track the processing status.
1
curl --location --request POST 'https://api.geopard.tech/upload?fileType=<type>&farmUuid=<farm_uuid>' \
2
--header 'Authorization: <token>' \
3
--header 'Content-Type: application/zip' \
4
--data-binary '@path/to/file.zip'
Where the parameters are:
- 1.
<type>
- type of the uploaded dataset. It must be ayield
ORsoil
ORapplied
ORboundary
. - 2.
<farm_uuid>
- theuuid
of the Farm where the file will be uploaded (Optional). - 3.
<token>
- GeoPard access token. - 4.
@path/to/file.zip
- the path to the uploaded file
Last modified 4mo ago