Authorizations
Query Parameters
Number of items to return per page
Required range:
x >= 1
Page number to return (starts at 1)
Required range:
x >= 1
Response
200 - application/vnd.api+json
Success
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.operating_systems.list(page_size=20, page_number=1)
while res is not None:
# Handle items
res = res.next()
{
"data": [
{
"id": "os_mw49QDB5qagKb",
"type": "operating_system",
"attributes": {
"name": "windows_server_2019_std_v1 72.62",
"distro": "rhel",
"slug": "rockylinux_8",
"version": "72.62",
"user": "Carmine",
"features": {},
"provisionable_on": [
"g3.l40s.large-28",
"g3.h100.medium-29"
]
}
}
],
"meta": {}
}
Lists all operating systems available to deploy and reinstall.
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.operating_systems.list(page_size=20, page_number=1)
while res is not None:
# Handle items
res = res.next()
{
"data": [
{
"id": "os_mw49QDB5qagKb",
"type": "operating_system",
"attributes": {
"name": "windows_server_2019_std_v1 72.62",
"distro": "rhel",
"slug": "rockylinux_8",
"version": "72.62",
"user": "Carmine",
"features": {},
"provisionable_on": [
"g3.l40s.large-28",
"g3.h100.medium-29"
]
}
}
],
"meta": {}
}
Number of items to return per page
x >= 1
Page number to return (starts at 1)
x >= 1
Success
Show child attributes
Was this page helpful?