Retrieves users from a specified region.
GET
/regions/{code}/users请求参数
Path 参数
code
string
必需
A region's code
Query 参数
Order
array[string]
可选
The field(s) by which the result is sorted.
Desc
array[string]
可选
Whether the result is sorted in descending order on each field.
Page
integer
可选
The page number. Defaults to 1.
PerPage
integer
可选
The number of entries that are presented in one page. Defaults to DataSettings:PaginationPerPage.
Search
string
可选
The search string. Optional.
Predicate
string
可选
The predicate string, which will be evaluated into a Func
and filter the query result.
Optional. Administrators only.
MinId
integer
可选
MaxId
integer
可选
RangeId
array[string]
可选
ContainsUserName
string
可选
EqualsUserName
string
可选
RangeGender
array[string]
可选
RangeRole
array[string]
可选
MinExperience
integer
可选
MaxExperience
integer
可选
RangeExperience
array[string]
可选
ContainsTag
string
可选
EqualsTag
string
可选
RangeTag
array[string]
可选
ContainsLanguage
string
可选
EqualsLanguage
string
可选
RangeLanguage
array[string]
可选
MinRks
number
可选
MaxRks
number
可选
MinFollowerCount
integer
可选
MaxFollowerCount
integer
可选
RangeFollowerCount
array[string]
可选
MinFolloweeCount
integer
可选
MaxFolloweeCount
integer
可选
RangeFolloweeCount
array[string]
可选
RangeRegionId
array[string]
可选
EarliestDateLastLoggedIn
string
可选
LatestDateLastLoggedIn
string
可选
EarliestDateJoined
string
可选
LatestDateJoined
string
可选
EarliestDateOfBirth
string
可选
LatestDateOfBirth
string
可选
示例代码
返回响应
Returns an array of users.(200)
When any of the parameters is invalid.(400)
When the specified region is not found.(404)
Returns an array of users.
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
No schema defined
示例
未设置
修改于 2 个月前