list devices get.md

List Devices

Fleets API · Devices

GET https://app.mk.io/api/v1/projects/{project_name}/fleet/devices/{name}/software

List software available to preload on the specified device.

RBAC Capability Required: fleet.devicesoftware.get

Authentication

Path parameters

Name Type Required Description
project_name string Yes
name string Yes

Query parameters

Name Type Required Description
$orderby string No Specifies the key by which the result collection should be ordered.
$filter string No Restricts the set of items returned.
$top string No Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.
$skiptoken string No Specifies a start offset to support paginated results. Use @odata.nextLink in the result object to enumerate the collection - it will be present only if there's more than one page of entities.
$label_key string No Filters the set to the specified label key. If multiple $label_keys are specified, matching items must have all labels.
$label string No Filters the set to the specified label key/value pair. Supports equality, inequality, and inexact matching. If multiple values are provided for the same key, items matching either value will be returned.

Example request

curl -X GET "https://app.mk.io/api/v1/projects/{project_name}/fleet/devices/{name}/software" \
  -H "Authorization: Bearer <token>"

Responses

200 — A list of software

400 — Bad Request

401 — Unauthorized

403 — Forbidden

404 — Not Found

429 — Too Many Requests

500 — Internal Server Error


Source spec: fleets-api · operationId: [get]_/api/v1/projects/{project_name}/fleet/devices/{name}/software