...
C | Verb | URL | Description | Mandatory parameters | Optional parameters | Sorting fields | Response Data | Formats | Response codes | |
---|---|---|---|---|---|---|---|---|---|---|
• | GET | /communities/{id}/relations | Return entities according to relation and parameters specified | | | - | ontains entities selected and sorted in conformance to request parameters. For more details see description of | | [200, 204, 400, 500 | #rcodes] |
Mandatory parameters |
...
Parameter
...
Description
...
Values
...
Example
...
Return entities satisfying requested property relation
...
property=ds:hasCommunity
- return subcommunities of a community
property=ds:isPartOfCommunity
- return communities current community is part of (children)
property=ds:hasCollection
- return collections belonging to community
property=ds:hasItem
- return Items belonging to community
...
restriction on type - only entity with specifed type(s) would be returned
...
ds:Bitstream
ds:Bundle
ds:Collection
ds:Community
ds:EPerson
ds:Group
ds:Item
ds:DSpaceObject
ds:Policy
ds:Site
ds:BitstreamFormat
|
...
rtype=ds:Collection
- return entities of Collection type
...
restriction on fields - return only selected fields; by default all fields are returned
...
id
name
countitems
metadata
subcommunities
ancestors
owner
other (depending on object type, will be documented later)
...
rfield=id,name
- return only entity id and name in response
Note: incomplete/orientative properties, for more info check [Vocabularies|http://code.google.com/p/dspace-sandbox/source/browse/#svn/modules/dspace-rdf/tags/dspace-rdf-1.5.1/src/main/java/org/dspace/adapters/rdf/vocabularies].
Visitors' suggestions or wishes
...