Initiate a file upload process
post/api/fleet/uploads
Headers
X-Request-Idstring
The request tracking ID for APM.
Elastic-Api-Versionstring
The API version to use, format should be "YYYY-MM-DD"
Request body
Example request
{
"file": {
"Compression": "deflate",
"hash": {
"sha256": "04f81394bababa0fb31e6ad2d703c875eb46dc254527e39ff316564c0dc339e2"
},
"name": "yankees-stats.zip",
"mime_type": "application/zip",
"size": 8276748
},
"action_id": "2f440d31-2ea4-42f8-b0f2-4b6e98e8dc5e",
"agent_id": "9347e918-5e00-48b0-b302-a09f9258a46d"
}Response
Information about the upload procedure
Example response
{
"upload_id": "fbc8e23c-055d-461e-87f7-b0d1b57f14b4",
"chunk_size": 4194304
}