[
https://issues.apache.org/jira/browse/SYNCOPE-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Francesco Chicchiriccò resolved SYNCOPE-695.
--------------------------------------------
Resolution: Fixed
http://git-wip-us.apache.org/repos/asf/syncope/commit/f7d23341
> REST endpoints for attribute CRUD
> ---------------------------------
>
> Key: SYNCOPE-695
> URL: https://issues.apache.org/jira/browse/SYNCOPE-695
> Project: Syncope
> Issue Type: New Feature
> Reporter: Francesco Chicchiriccò
> Assignee: Francesco Chicchiriccò
> Labels: odata, rest
> Fix For: 2.0.0
>
>
> Currently AnyService (and its derivative, providing REST services for users,
> groups and any objects) defines CRUD methods for the whole entities, e.g.
> allows to create, update, read and delete users, groups and any objects.
> Inspired by the OData standard, new REST endpoints can be defined so that the
> following calls are allowed.
> {code}
> GET /users/157/PLAIN
> {code}
> Returns the list of plain attributes for user 157 ({{DERIVED}} and
> {{VIRTUAL}} can also be used) with values.
> {code}
> GET /users/157/PLAIN/firstname
> {code}
> Returns the list of values for the {{firstname}} plain attribute of user 157.
> {code}
> PUT /users/157/PLAIN/firstname
> {code}
> Adds or replaces the list of values for the {{firstname}} plain attribute of
> user 157.
> {code}
> DELETE /users/157/PLAIN/firstname
> {code}
> Removes the plain attribute {{firstname}} from user 157.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)