...
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 | | |||
• | | | Return information about | - | - | - | Contains information about community, including id, handle, name, collections, ancestors, subcommunities, administrators, metadata | | |
• | | | Return entities according to relation and parameters specified | | - | Contains entities selected and sorted in conformance to request parameters | | ||
• | | | 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. | | |||
• | | | 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 | | |||
• | | | Return a list of collections in the | - | Contains item count, identifiers, name, archival status, last modification and handle of collections, or 204 if there are none of them. Additionaly with idOnly=true only identifiers are returned. | | |||
• | | | Return a list of recent submissions to a community. | - | Contains complete items from recent submissions in community. | | |||
• | | | Return a community logo | - | - | - | Contains community logo (bitstream) | | |
• | | | Return a list of all collections in the system. | - | Contains item count, identifiers, name and handle of collections, or 204 if | | |||
• | | | Return information about | - | Contains id, name, handle, members, member groups of submitters, licence, metadata, templateitem | | |||
• | | | Return a list of all ancestor communities a collection with | - | Contains item count, identifier, name and handle of collections, or 204 if | | |||
• | | | Returns a list of all items from the collection | - | Contains full information info including name, submitter, collections related or 204 if there are none of them. In the case idOnly=true is used, return only identifiers of results. | | |||
• | | | Return a collection logo | - | - | - | Contains collection logo (bitstream) | |
Mandatory parameters
Parameter | Description | Values | Example | ||||||
---|---|---|---|---|---|---|---|---|---|
property | Return entities satisfying requested property relation | Structural properties | | ||||||
| restriction on type - only entity with specifed type(s) would be returned | | | ||||||
| restriction on fields - return only selected fields; by default all fields are returned | | |
...
Parameter | Description | ||||||
---|---|---|---|---|---|---|---|
topLevelOnly | returns only top level communities | ||||||
idOnly | if true return only the identifiers for the record | ||||||
immediateOnly | return only direct parent community | ||||||
isAuthorized | return only collections user has permission to work on | ||||||
inArchive | return archived items for respective collection |
Sorting fields:
Parameter | Description | Ordering supported | ||||||
---|---|---|---|---|---|---|---|---|
id | sort results by entity id | asc | ascending | ||||||
name | sort results by entity name | asc | ascending | ||||||
countitems | sort results by number of items contained | asc | ascending | ||||||
| sort results by date of last item modification | asc | ascending | ||||||
submitterName | sort results by submitter name | asc | ascending | ||||||
submitterId | sort results by submitter id | asc | ascending |
...
Parameter | Description | Default | Example |
---|---|---|---|
_start | position of the first entity to return | 0 (first) | _start=5 to list 6th item and onwards |
_page | page of data to display | 0 (first) | _page=2, to display second page with query results |
_perpage | number of results to show on each page | 0 (all) | _perpage=10 to display 10 results per page |
_limit | maximum number of entities to return | 0 (all) | _limit=50 |
_sort |
| the sort order to return entities in | sort=name |
Anchor | ||||
---|---|---|---|---|
|
Code | Description |
---|---|
200 | OK |
201 | Created |
204 | No content |
400 | Bad request |
401 | Unauthorized |
403 | Forbidden |
404 | Not found |
405 | Method not allowed |
500 | Internal server error |
503 | Service unavailable |
Repository manipulation
|| C || Verb || URL || Description || Mandatory parameters || Optional parameters || Response Data || Formats || Response codes |
...