Initiate a Configuration Upload
POST/posture/checks/v1/reports/config-file-upload
Generates a tracking Identifier and a presigned GCS Uniform Resource Locator for file upload using device metadata.
Using the Signed Uniform Resource Locator
After receiving the upload_url in the response, upload your Configuration file using a PUT request:
curl -X PUT "<upload_url>" \
-H "Content-Type: plain/text" \
-H "Content-Encoding: gzip" \
--data-binary @/path/to/your/Configuration.xml
Required headers:
Content-Type: plain/textContent-Encoding: gzip.
Request
Responses
- 201
- 400
- 429
- 500
Successfully initiated config upload.
Response Headers
Location
URI of the created task resource.
Bad request - missing required header or invalid request body.
Too many requests - maximum limit of 5 active jobs reached.
Internal server error.