Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-695

REST endpoints for attribute CRUD

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-M1
    • None

    Description

      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.

      GET /users/157/PLAIN
      

      Returns the list of plain attributes for user 157 (DERIVED and VIRTUAL can also be used) with values.

      GET /users/157/PLAIN/firstname
      

      Returns the list of values for the firstname plain attribute of user 157.

      PUT /users/157/PLAIN/firstname
      

      Adds or replaces the list of values for the firstname plain attribute of user 157.

      DELETE /users/157/PLAIN/firstname
      

      Removes the plain attribute firstname from user 157.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ilgrosso Francesco Chicchiriccò
            ilgrosso Francesco Chicchiriccò
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment