...
C | Verb | URL | Description | Mandatory parameters | Optional parameters | Sorting fields | Response Data | Formats | Response codes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| | | Returns a list of all communities on the system or return just top level communities. | - | By default contains item count, identifier, handle and name and other referencing data, or 204 if none. Additionaly, based on parameter | | 200, 400, 500 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
• | | | Return information about | - | - | - | Contains information about community, including id, handle, name, collections, ancestors, subcommunities, administrators, metadata | | 200, 204, 400, 500 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
• | | | Return entities according to relation and parameters specified | | | - | Contains entities selected and sorted in conformance to request parameters | | 200, 204, 400, 500 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
• | | | Return a list of all ancestor communities of the | - | | Contains item count, identifiers, handle and name or 204 if id is already top-level. Additionaly, based on parameter idOnly=true the method returns only identifiers. | | 200, 204, 400, 500 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
• | | | Returns a list of immediate sub-communities (children) of the | - | | Contains item count, identifiers, handle and name or 204 if none. Additionaly, based on parameter | | 200, 204, 400, 500 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
• | | | Return a list of collections in the | - | |
| #sort_id]}} | #sort_countitems]}} | #sort_id]}} | #sort_name]}} | #sort_countitems]}} | Return a list of all ancestor communities a collection with | - | | | #sort_id]}} | #sort_name]}} | #sort_countitems]}} Mandatory parameters
property | Return entities satisfying requested property relation | Structural properties ds:isPartOfSite ds:isPartOfCommunity ds:isPartOfCollection ds:isPartOfItem ds:isPartOfBundle ds:hasCommunity ds:hasCollection ds:hasItem ds:hasBundle ds:hasBitstream ds:hasBitstreamFormat Communities and collections ds:logo Bistream format ds:support ds:fileExtension ds:mimeType Bitstream ds:messageDigest ds:messageDigestAlgorithm ds:messageDigestOriginator ds:size Eperson ds:language | 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 | |
rtype | 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 | |
rfield | 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 - contain only entity id and name in response | Note: incomplete/orientative properties, for more info check Vocabularies. Optional parameters
topLevelOnly | returns only top level communities | |
idOnly | if true return only the identifiers for the record | |
immediateOnly | return only direct parent community | Sorting fields:
id | sort results by entity id | asc | ascending desc | descending | |
name | sort results by entity name | asc | ascending desc | descending | |
desc | descending | |
lastmodified | sort results by date of last item modification | asc | ascending desc | descending | |
submitterName | sort results by submitter name | asc | ascending desc | descending | |
submitterId | sort results by submitter id | asc | ascending desc | descending | Controlling results
Repository manipulation
| Verb | URL | Description | Mandatory parameters | Optional parameters | Response Data | Formats | Response codes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
• | | /communities/{id} | Change description of | name | - | TBD | | 200, 204, 400, 500 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
• | | | Add community to the system | name | | TBD | | 200, 204, 400, 500 |
...