POST /{BASE}/user/meUpdate/Set the profile information (foaf) for the current user.
Post-Body should contain the property=value mapping (propterty without foaf-prefix) for the
profile.
- HTTP Example:
POST /{BASE}/user/me | - API Example:
UserWebService.post({'$entity': }); |
- Input:
- MultivaluedMap<String,String> - the user profile (foaf, without prefix) in {@value Namespaces#MIME_TYPE_FORM_URLENC}
- Output:
- Response - {@link AccountPoJo} after the update in JSON
- Consumes:
- application/x-www-form-urlencoded
- HTTP return codes:
- 403 - When the current user is
anonymous .
- 500 - If a {@link RepositoryException} occurs (which should not happen as no
namespaces are used here)
|