You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2015/09/18 10:50:04 UTC

[jira] [Assigned] (SYNCOPE-695) REST endpoints for attribute CRUD

     [ https://issues.apache.org/jira/browse/SYNCOPE-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francesco Chicchiriccò reassigned SYNCOPE-695:
----------------------------------------------

    Assignee: Francesco Chicchiriccò

> 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)