HTTP Example:POST /{BASE}/user/me
| API Example: UserWebService.post({'$entity': }); |
Update/Set the profile information (foaf) for the current user.
Post-Body should contain the property=value mapping (propterty without foaf-prefix) for the
profile. - Input:
- javax.ws.rs.core.MultivaluedMap<String,String> - the user profile (foaf, without prefix) in {@value Namespaces#MIME_TYPE_FORM_URLENC}
- Output:
- javax.ws.rs.core.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)
|