Examples

GET /api/operatingsystems
200
{
  "total": 8,
  "subtotal": 8,
  "page": 1,
  "per_page": 20,
  "search": null,
  "sort": {
    "by": null,
    "order": null
  },
  "results": [
    {
      "description": null,
      "major": "5",
      "minor": "3",
      "family": "Redhat",
      "release_name": null,
      "password_hash": "SHA256",
      "created_at": "2019-11-07 08:46:03 UTC",
      "updated_at": "2019-11-07 08:46:03 UTC",
      "id": 309172073,
      "name": "centos",
      "title": "centos 5.3"
    },
    {
      "description": null,
      "major": "5",
      "minor": "17",
      "family": "VRP",
      "release_name": null,
      "password_hash": "SHA256",
      "created_at": "2019-11-07 08:46:03 UTC",
      "updated_at": "2019-11-07 08:46:03 UTC",
      "id": 32055736,
      "name": "Huawei_VRP",
      "title": "Huawei VRP 5"
    },
    {
      "description": null,
      "major": "1",
      "minor": "1",
      "family": "Redhat",
      "release_name": null,
      "password_hash": "SHA256",
      "created_at": "2019-11-07 08:46:03 UTC",
      "updated_at": "2019-11-07 08:46:03 UTC",
      "id": 775246587,
      "name": "NoHosts",
      "title": "NoHosts 1.1"
    },
    {
      "description": null,
      "major": "12",
      "minor": "3",
      "family": "Suse",
      "release_name": null,
      "password_hash": "SHA256",
      "created_at": "2019-11-07 08:46:03 UTC",
      "updated_at": "2019-11-07 08:46:03 UTC",
      "id": 750842046,
      "name": "OpenSuse",
      "title": "OpenSuSE 12.3"
    },
    {
      "description": "RHEL 6.1",
      "major": "6",
      "minor": "1",
      "family": "Redhat",
      "release_name": null,
      "password_hash": "SHA256",
      "created_at": "2019-11-07 08:46:03 UTC",
      "updated_at": "2019-11-07 08:46:03 UTC",
      "id": 1073012828,
      "name": "Redhat",
      "title": "RHEL 6.1"
    },
    {
      "description": null,
      "major": "5",
      "minor": "10",
      "family": "Solaris",
      "release_name": "hw0910",
      "password_hash": "SHA256",
      "created_at": "2019-11-07 08:46:03 UTC",
      "updated_at": "2019-11-07 08:46:03 UTC",
      "id": 442321401,
      "name": "Solaris",
      "title": "Solaris 5.10"
    },
    {
      "description": null,
      "major": "10",
      "minor": "10",
      "family": "Debian",
      "release_name": "rn10",
      "password_hash": "SHA256",
      "created_at": "2019-11-07 08:46:03 UTC",
      "updated_at": "2019-11-07 08:46:03 UTC",
      "id": 331303656,
      "name": "Ubuntu",
      "title": "Ubuntu 10.10"
    },
    {
      "description": null,
      "major": "12",
      "minor": "10",
      "family": "Debian",
      "release_name": "rn10",
      "password_hash": "SHA256",
      "created_at": "2019-11-07 08:46:03 UTC",
      "updated_at": "2019-11-07 08:46:03 UTC",
      "id": 272342666,
      "name": "Ubuntu",
      "title": "Ubuntu 12.10"
    }
  ]
}

Params

Param Name Description
location_id
Optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
Optional

Set the current organization context for the request

Validations:

  • Must be a Integer

architecture_id
Optional

Identif. architektury

Validations:

  • Must be a String

medium_id
Optional

Identif. média

Validations:

  • Must be a String

ptable_id
Optional

Identif. tabulky rozdělení úložiště

Validations:

  • Must be a String

config_template_id
Optional

Identif. šablony

Validations:

  • Must be a String

provisioning_template_id
Optional

Identif. šablony

Validations:

  • Must be a String

os_parameters_attributes
Optional

Pole parametrů

Validations:

  • Must be an Array of nested elements

os_parameters_attributes[name]
Required

Název parametru

Validations:

  • Must be a String

os_parameters_attributes[value]
Required

Hodnota parametru

Validations:

  • Must be a String

search
Optional

výsledky filtru

Validations:

  • Must be a String

order
Optional

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
Optional

Číslo stránky, začíná od jedničky

Validations:

  • Must be a number.

per_page
Optional

Number of results per page to return

Validations:

  • Must be a number.

Search fields

Název kolonky Typ Možné hodnoty
architecture string
description string
family string
major string
medium string
minor string
name string
params text
template string
title string