Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-4026

Add/remove a user to/from a group via REST API

    XMLWordPrintable

    Details

    • Attachments:
      0
    • Comments:
      0
    • Documentation Status:
      Needed

      Description

      We need to extend our LinkRestRepository to support the addition of new object in the relation.

      To add an user to a group we need to issue a POST request againt theĀ 

      /api/eperson/groups/:group-uuid/epersons 

      with a content-type

      text/uri-list

      and with the eperson URI (/api/eperson/epersons/:eperson-uuid) as request body,

      The same request using the DELETE method will remove the user from the group

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bollini Andrea Bollini (4Science)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: