示例

GET /api/architectures
200
{
  "total": 4,
  "subtotal": 4,
  "page": 1,
  "per_page": 20,
  "search": null,
  "sort": {
    "by": null,
    "order": null
  },
  "results": [
    {
      "created_at": "2019-11-07 09:10:05 UTC",
      "updated_at": "2019-11-07 09:10:05 UTC",
      "name": "x86_64",
      "id": 501905019
    },
    {
      "created_at": "2019-11-07 09:10:05 UTC",
      "updated_at": "2019-11-07 09:10:05 UTC",
      "name": "sparc",
      "id": 331892513
    },
    {
      "created_at": "2019-11-07 09:10:05 UTC",
      "updated_at": "2019-11-07 09:10:05 UTC",
      "name": "s390",
      "id": 381564594
    },
    {
      "created_at": "2019-11-07 09:10:05 UTC",
      "updated_at": "2019-11-07 09:10:05 UTC",
      "name": "ASIC",
      "id": 578327757
    }
  ]
}

参数

参数名字 描述
location_id
选填

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
选填

Set the current organization context for the request

Validations:

  • Must be a Integer

search
选填

过滤结果

Validations:

  • Must be a String

order
选填

排序项和顺序,例如 ‘id DESC’

Validations:

  • Must be a String

page
选填

页号,从 1 开始

Validations:

  • Must be a number.

per_page
选填

每页中显示的返回结果数

Validations:

  • Must be a number.

operatingsystem_id
选填

操作系统 ID

Validations:

  • Must be a String

搜索字段

字段名 类型 可能的值
name string