Lookup mapping of UID
Returns mapping of UID on the specific storage to Onedata user stored in LUMA DB. Mapping will be acquired again using currently setup LUMA feed. This endpoint is relevant only for POSIX compatible storages.
Path parameters
| Parameter | Type & Description |
|---|---|
| id required | string The Id of a storage constituting space support for which onedata user mapping should be returned. |
| uid required | integer The UID of the user on the storage. |
Request Examples
onepanel-rest-cli -u onepanel:$PASSPHRASE lumaGetUidToOnedataUserMapping id=$STORAGE_ID uid=$UID --host https://$HOST:9443
Responses
Mapping of UID to Onedata user.
| Property | Type & Description |
|---|---|
mappingScheme string Name of scheme used to represent user identity. | |
Unauthorized request.
Forbidden request.
Storage or mapping for UID does not exist.
Internal server error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Services needed to fulfill this request are not running.