Skip to content

Depot agentdownload

Registers the per-client installer download on the shared tenant mux, so it works through both doors: the hostname door for it-mode consoles and the path door for the MSP console.

This page is generated from the Depot route table. Every operation carries the permission it needs and the anchor an agent can link to.

POSTenroll:managetenant facehosteditmspremotedownloadNot fully resolved

From an MSP console, prefix the path with /api/v1/clients/{clientID} to reach one client.

What this page does not know
  • response

These are parts of the route the extractor could not read from the source. Everything else on this page came straight from it.

Source: [object Object]

Download

Required, sent as application/json.

FieldTypeDescription
maxUsesrequiredinteger
platformrequiredstring
proxyrequiredstring
siteIdrequiredstring
ttlHoursrequiredinteger
StatusBodyDescription
200application/octet-stream, string (binary)Success. The body shape was not resolved; see x-outpost-unresolved.
400application/problem+json, ProblemDetailsOne or more validation errors occurred.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold enroll:manage.
500application/problem+json, ProblemDetailsNo client context in request.
502application/problem+json, ProblemDetailsCould not fetch the installer from the update endpoint.
503application/problem+json, ProblemDetailsThis Depot is not connected to an update endpoint, so it cannot fetch installers.
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
curl -X POST 'https://depot.example.com/api/v1/agent-download' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-b 'outpost_console=<console-session>' \
--data '{
"maxUses": 0,
"platform": "string",
"proxy": "string",
"siteId": "string",
"ttlHours": 0
}'

GETenroll:managetenant facehosteditmspremoteIdempotent

From an MSP console, prefix the path with /api/v1/clients/{clientID} to reach one client.

Source: [object Object]

Platforms

StatusBodyDescription
200application/json, AgentDownloadPlatformsSuccess.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold enroll:manage.

200 response body

FieldTypeDescription
platformsrequiredarray of string
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X GET 'https://depot.example.com/api/v1/agent-download/platforms' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

Content is licensed CC BY 4.0. Code samples are MIT. Outpost and the Outpost mark are trademarks of Outpost Business Solutions, PBC and are not covered by either license.