Examples

GET /api/architectures
200
{
  "total": 21,
  "subtotal": 21,
  "page": 1,
  "per_page": 21,
  "search": null,
  "sort": {
    "by": null,
    "order": null
  },
  "results": [
    {
      "created_at": "2022-03-29 08:35:10 UTC",
      "updated_at": "2022-03-29 08:35:10 UTC",
      "name": "x86_64",
      "id": 501905019
    },
    {
      "created_at": "2022-03-29 08:35:10 UTC",
      "updated_at": "2022-03-29 08:35:10 UTC",
      "name": "sparc",
      "id": 331892513
    },
    {
      "created_at": "2022-03-29 08:35:10 UTC",
      "updated_at": "2022-03-29 08:35:10 UTC",
      "name": "s390",
      "id": 381564594
    },
    {
      "created_at": "2022-03-29 08:35:10 UTC",
      "updated_at": "2022-03-29 08:35:10 UTC",
      "name": "s390x",
      "id": 820784047
    },
    {
      "created_at": "2022-03-29 08:35:10 UTC",
      "updated_at": "2022-03-29 08:35:10 UTC",
      "name": "ASIC",
      "id": 578327757
    },
    {
      "created_at": "2022-03-29 08:35:10 UTC",
      "updated_at": "2022-03-29 08:35:10 UTC",
      "name": "ppc64",
      "id": 922134521
    },
    {
      "created_at": "2022-03-29 08:35:41 UTC",
      "updated_at": "2022-03-29 08:35:41 UTC",
      "name": "x86_64-219",
      "id": 922134528
    },
    {
      "created_at": "2022-03-29 08:35:41 UTC",
      "updated_at": "2022-03-29 08:35:41 UTC",
      "name": "x86_64-220",
      "id": 922134529
    },
    {
      "created_at": "2022-03-29 08:35:41 UTC",
      "updated_at": "2022-03-29 08:35:41 UTC",
      "name": "x86_64-221",
      "id": 922134530
    },
    {
      "created_at": "2022-03-29 08:35:41 UTC",
      "updated_at": "2022-03-29 08:35:41 UTC",
      "name": "x86_64-222",
      "id": 922134531
    },
    {
      "created_at": "2022-03-29 08:35:41 UTC",
      "updated_at": "2022-03-29 08:35:41 UTC",
      "name": "x86_64-223",
      "id": 922134532
    },
    {
      "created_at": "2022-03-29 08:35:41 UTC",
      "updated_at": "2022-03-29 08:35:41 UTC",
      "name": "x86_64-224",
      "id": 922134533
    },
    {
      "created_at": "2022-03-29 08:35:41 UTC",
      "updated_at": "2022-03-29 08:35:41 UTC",
      "name": "x86_64-225",
      "id": 922134534
    },
    {
      "created_at": "2022-03-29 08:35:41 UTC",
      "updated_at": "2022-03-29 08:35:41 UTC",
      "name": "x86_64-226",
      "id": 922134535
    },
    {
      "created_at": "2022-03-29 08:35:41 UTC",
      "updated_at": "2022-03-29 08:35:41 UTC",
      "name": "x86_64-227",
      "id": 922134536
    },
    {
      "created_at": "2022-03-29 08:35:41 UTC",
      "updated_at": "2022-03-29 08:35:41 UTC",
      "name": "x86_64-228",
      "id": 922134537
    },
    {
      "created_at": "2022-03-29 08:35:41 UTC",
      "updated_at": "2022-03-29 08:35:41 UTC",
      "name": "x86_64-229",
      "id": 922134538
    },
    {
      "created_at": "2022-03-29 08:35:41 UTC",
      "updated_at": "2022-03-29 08:35:41 UTC",
      "name": "x86_64-230",
      "id": 922134539
    },
    {
      "created_at": "2022-03-29 08:35:41 UTC",
      "updated_at": "2022-03-29 08:35:41 UTC",
      "name": "x86_64-231",
      "id": 922134540
    },
    {
      "created_at": "2022-03-29 08:35:41 UTC",
      "updated_at": "2022-03-29 08:35:41 UTC",
      "name": "x86_64-232",
      "id": 922134541
    },
    {
      "created_at": "2022-03-29 08:35:41 UTC",
      "updated_at": "2022-03-29 08:35:41 UTC",
      "name": "x86_64-233",
      "id": 922134542
    }
  ]
}

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

search
optional

filter results

Validations:

  • Must be a String

order
optional

Sort and order by a searchable field, e.g. ‘

Maruku could not parse this XML/HTML: 
<field> DESC'

Validations:

  • Must be a String

page
optional

Page number, starting at 1

Validations:

  • Must be a number.

per_page
optional

Number of results per page to return, ‘all’ to return all results

Validations:

  • Must match regular expression /\A([1-9]\d|all)\Z$/.

operatingsystem_id
optional

ID of operating system

Validations:

  • Must be a number.

Search fields

Field name Type Possible values
id integer
name string