Get agent binary download sources

View as Markdown
GET /api/fleet/agent_download_sources

Spaces method and path for this operation:

get /s/{space_id}/api/fleet/agent_download_sources

Refer to Spaces for more information.

[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-settings-read.

Responses

  • 200 application/json

    OK: A successful request.

    Hide response attributes Show response attributes object
    • items array[object] Required
      Hide items attributes Show items attributes object
      • host string(uri) Required
      • id string Required
      • is_default boolean

        Default value is false.

      • name string Required
      • proxy_id string | null

        The ID of the proxy to use for this download source. See the proxies API for more information.

      • secrets object

        Additional properties are NOT allowed.

        Hide secrets attribute Show secrets attribute object
        • ssl object

          Additional properties are NOT allowed.

          Hide ssl attribute Show ssl attribute object
      • ssl object

        Additional properties are NOT allowed.

        Hide ssl attributes Show ssl attributes object
        • certificate string
        • certificate_authorities array[string]
        • key string
    • page number Required
    • perPage number Required
    • total number Required
  • 400 application/json

    A bad request.

    Hide response attributes Show response attributes object
    • error string
    • errorType string
    • message string Required
    • statusCode number
GET /api/fleet/agent_download_sources
curl \
 --request GET 'http://localhost:5601/api/fleet/agent_download_sources' \
 --header "Authorization: $API_KEY"