GET /api/compute_profiles
運算設定檔清單

參數

參數名字 描述
search
選填

篩選結果

Validations:

  • Must be a String

order
選填

排序結果

Validations:

  • Must be a String

page
選填

編頁結果

Validations:

  • Must be a String

per_page
選填

每個請求的項目數量

Validations:

  • Must be a String


GET /api/compute_profiles/:id
顯示運算設定檔

參數

參數名字 描述
id
必填

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


POST /api/compute_profiles
建立運算設定檔

參數

參數名字 描述
compute_profile
必填

Validations:

  • Must be a Hash

compute_profile[name]
必填

Validations:

  • Must be a String


PUT /api/compute_profiles/:id
更新運算設定檔

參數

參數名字 描述
id
必填

Validations:

  • Must be a String

compute_profile
必填

Validations:

  • Must be a Hash

compute_profile[name]
選填

Validations:

  • Must be a String


DELETE /api/compute_profiles/:id
刪除運算設定檔

參數

參數名字 描述
id
必填

Validations:

  • Must be a String