参数

参数名字 描述
location_id
选填

设置请求的当前位置上下文

Validations:

  • Must be a Integer

organization_id
选填

设置请求的当前组织上下文

Validations:

  • Must be a Integer

search
选填

搜尋字串

Validations:

  • Must be a String

page
选填

页号,从 1 开始

Validations:

  • Must be a number.

per_page
选填

每页中显示的返回结果数

Validations:

  • Must be a number.

order
选填

排序欄位與次序,例如「name DESC」

Validations:

  • Must be a String

sort
选填

「order」參數的雜湊版本

Validations:

  • Must be a Hash

sort[by]
选填

用來排序結果的欄位

Validations:

  • Must be a String

sort[order]
选填

如何排序結果的順序(比方說 ASC 從下到上)

Validations:

  • Must be a String