From fdce239436b8ef91f597951355104df60831d972 Mon Sep 17 00:00:00 2001 From: Ben Bosman Date: Mon, 3 Feb 2020 17:14:56 +0100 Subject: [PATCH] Removing parent groups since there's also no Service implementation at this point in time --- epersongroups.md | 71 +----------------------------------------------- 1 file changed, 1 insertion(+), 70 deletions(-) diff --git a/epersongroups.md b/epersongroups.md index 4d233054..cc904708 100644 --- a/epersongroups.md +++ b/epersongroups.md @@ -30,9 +30,6 @@ "subgroups": { "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/groups" }, - "parentgroups": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/parentgroups" - }, "epersons": { "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/epersons" }, @@ -66,69 +63,6 @@ To create a new EPerson Group, perform a post with the JSON below to the eperson ## Parent Groups of a single parent EPerson Group -### Get Parent Groups of a single parent EPerson Group - -**GET /api/eperson/groups/<:uuid>/parentgroups** - -Retrieves direct parent groups of the given group. -Requesting indirect parent groups is not supported - -Sample: -* GET /rest/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/parentgroups - -```json -{ - "_embedded": { - "groups": [ - { - "id": "3b1de75d-5bf9-4ca3-bf4d-42bc8abd0d42", - "uuid": "3b1de75d-5bf9-4ca3-bf4d-42bc8abd0d42", - "name": "Parent group", - "handle": null, - "metadata": { - "dc.title": [ - { - "value": "Parent group", - "language": null, - "authority": "", - "confidence": -1, - "place": 0 - } - ] - }, - "permanent": true, - "type": "group", - "_links": { - "subgroups": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/3b1de75d-5bf9-4ca3-bf4d-42bc8abd0d42/groups" - }, - "parentgroups": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/3b1de75d-5bf9-4ca3-bf4d-42bc8abd0d42/parentgroups" - }, - "epersons": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/3b1de75d-5bf9-4ca3-bf4d-42bc8abd0d42/epersons" - }, - "self": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/3b1de75d-5bf9-4ca3-bf4d-42bc8abd0d42" - } - } - } - ] - }, - "_links": { - "self": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/groups" - } - }, - "page": { - "number": 0, - "size": 10, - "totalPages": 1, - "totalElements": 10 - } -} -``` - ## Sub Groups in a single parent EPerson Group ### Get Sub Groups in a single parent EPerson Group @@ -167,9 +101,6 @@ Sample: "subgroups": { "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/subgroups" }, - "parentgroups": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/parentgroups" - }, "epersons": { "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/epersons" }, @@ -387,4 +318,4 @@ Return codes: This supports a basic search in the metadata. It will search in: * UUID (exact match) -* group name \ No newline at end of file +* group name