Get data upload path with authentication
|
getDataUploadPathWithAuth |
|
|---|---|
|
URL |
/api/v1/getDataUploadPathWithAuth |
|
Description |
Used by the IonReporterUploader plugin to return upload path for the current data of the organization that is associated with the API token for the user, based on the configuration of the server.properties file. |
|
Method |
POST |
|
Request query parameters |
auth String, Mandatory. Valid API token. |
|
Example request |
|
|
Request headers |
Content-Type: application/x-www-form-urlencoded |
|
Returns |
|
Response fields
|
Status code |
Response message |
|---|---|
|
200 |
Successful response |
|
400 |
Bad request |
|
404 |
Not found |
|
401 |
User is not authenticated |
|
500 |
Error occurred |
Curl command
curl -X POST -d "auth=NjMyZmUwODMzOTY3YzVhYzA1OGE5M2I4ZjMyZWY0ZmY1NWQ0YzgyYzhjOTJmZTBjZjZkZTg2N2QxZjA3MGZlMA" --header
"Content-Type: application/x-www-form-urlencoded" -k https://<server name>/api/v1/getDataUploadPathWithAuth"
