Operating System
Retrieve all Operating Systems
List Operating Systems visible to the caller.
User must have an authorization role with either the PROVIDER_ADMIN or TENANT_ADMIN suffix for the org.
- Provider admin: returns only Operating Systems owned by the org's Infrastructure Provider.
- Tenant admin: returns Operating Systems owned by the caller's Tenant, plus Provider-owned Operating Systems that are associated with at least one Site the Tenant can access.
- Dual-role (both Provider and Tenant): returns the union of the Tenant's and the Provider's Operating Systems.
get/v2/org/{org}/nico/operating-system
Query parameters
siteIdstring
Filter Operating Systems by Site ID. Can be specified multiple times to filter on more than one ID.
type'Image' | 'iPXE' | 'TemplatedIpxe'
Filter Operating Systems by Type
statusstring
Filter Operating Systems by Status. Can be specified multiple times to filter on more than one status.
querystring
Provide query to search for matches. Input will be matched against name, description and status fields
includeRelation'InfrastructureProvider' | 'Tenant'
Related entity to expand
pageNumberinteger
Example:1
Page number for pagination query
pageSizeinteger
Example:20
Page size for pagination query
orderBy'NAME_ASC' | 'NAME_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'CREATED_ASC' | 'CREATED_DESC' | 'UPDATED_ASC' | 'UPDATED_DESC'
Ordering for pagination query
Response
OK
Example response
[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "ubuntu-22.04",
"description": "Ubuntu 22.04",
"infrastructureProviderId": null,
"tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
"ipxeScript": "#!ipxe\nkernel http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/linux initrd=initrd.gz\ninitrd http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz\nboot || imgfree\n shell",
"userData": "#cloud-config\nautoinstall:\n apt:\n geoip: true\n preserve_sources_list: false\n primary:\n - arches: [amd64, i386]\n uri: http://archive.ubuntu.com/ubuntu\n - arches: [default]\n uri: http://ports.ubuntu.com/ubuntu-ports\nphone_home:\n url: http://169.254.169.254:7777/latest/meta-data/phone_home\n post: all",
"isCloudInit": true,
"phoneHomeEnabled": true,
"isActive": true,
"deactivationNote": null,
"allowOverride": false,
"status": "Pending",
"statusHistory": [
{
"status": "Pending",
"message": "Request received, pending processing",
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
],
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
]