Difference between revisions of "GetAllPersons"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{Api_Method_Spec| | {{Api_Method_Spec| | ||
Description=Returns a list of [[Person]] registered on the instance. | Description=Returns a list of [[Person]] registered on the instance. | ||
− | The result is ordered by | + | The result is default ordered by the title field. |
This method can be used by anonymous login or logged user. | This method can be used by anonymous login or logged user. | ||
Line 14: | Line 14: | ||
}} | }} | ||
{{Api_Parameter| | {{Api_Parameter| | ||
− | ParamName= | + | ParamName=offset |
|ParamType=int | |ParamType=int | ||
− | |ParamRequired= | + | |ParamRequired=optional |
− | |ParamDescription= | + | |ParamDescription=The offset number of the returned values for this request |
+ | }} | ||
+ | {{Api_Parameter| | ||
+ | ParamName=limit | ||
+ | |ParamType=int | ||
+ | |ParamRequired=optional | ||
+ | |ParamDescription=The limit number of values for this request | ||
}} | }} | ||
Line 26: | Line 32: | ||
{ | { | ||
− | : <span style="color: #a11">" | + | : <span style="color: #a11">"Offset"</span>: 0, |
− | : <span style="color: #a11">" | + | : <span style="color: #a11">"Limit"</span>: 100, |
− | : <span style="color: #a11">" | + | : <span style="color: #a11">"Count"</span>: 6, |
− | : <span style="color: #a11">" | + | : <span style="color: #a11">"List"</span>: |
:: [ Array of [[Person]] object ] | :: [ Array of [[Person]] object ] | ||
} | } |
Latest revision as of 13:59, 16 July 2014
Description
Returns a list of Person registered on the instance. The result is default ordered by the title field.
This method can be used by anonymous login or logged user.
Parameters
- token (String, required)
- A valid token for identifying the API session context. The token can be anonymous or logged.
- offset (int, optional)
- The offset number of the returned values for this request
- limit (int, optional)
- The limit number of values for this request
Returns
Returns a JSON object containing an array of Person.
Example:
{
- "Offset": 0,
- "Limit": 100,
- "Count": 6,
- "List":
- [ Array of Person object ]
}
Exceptions
- None
Caching
This method is cached.
Known issues
- None
Version history
API Version Number | Change description | Changes author |
---|---|---|
1.0 | Initial method design | Harley Cabral |