With this call you get a list of all known users. User integrity is not forced in MediaMosa, but rather left to the application builder. There is however some basic knowledge of users. The /user... restcalls can be used to store basic user data. So if you create an asset with a user, this will succeed regardless the user exists in the userlist. The main purpose for the user lists in MediaMosa is the storage of the quotum per user/group.
This call returns all users which are created with /user/create and searches for all users who created objects (assets, mediafiles, collections). If the user has some quota information, this is added to the output.
/user [GET]
This call needs EGA authentication.
| Parameter (Type) | Description | Required | Default value | Max. length |
|---|---|---|---|---|
| group_id (ALPHA_NUM) | Name of the group where the user has to be a member. | Optional | - | |
| limit (INT) | Limit of the items of the result set. | Optional | 10 | - |
| mediamosa_version (MEDIAMOSA_VERSION) | Provide the version to get the REST call returned in the format of the specified MediaMosa version. Keep empty or skip to retrieve in current (latest) version. Provide '2' to retrieve the REST call in 2.x format. Or be more specific by providing up to 3 digits; '2.3.0'. This setting will override any setting used by client application or the default setting in MediaMosa. | Optional | - | |
| offset (UINT) | The starting items position in the result set. | Optional | 0 | - |
/user?limit=10&offset=0 [GET]
<items>
<item id="1">
<user_id>admin</user_id>
<group_id></group_id>
<quotum></quotum>
<created></created>
<changed></changed>
</item>
</items>