...
Earlier Implementation Description - GSoC09
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 |
Parameter | Description | ||||||||
Anchor | toplevelonly | toplevelonly | returns only top level communities | ||||||
Anchor | idonly | idonly | if true return only the identifiers for the record |
Name and description | Value and notes |
---|---|
Base URI: | |
Description: | Returns a list of all communities on the system or return just top level communities. |
HTTP method: | |
Optional parameters: | |
Sorting fields supported: | |
Response formats: | |
Status codes | 200: OK |
Response details | By default contains item count, identifier, handle and name and other |
Name and description | Value and notes |
---|---|
Base URI: | /communities/{id}/parents?idOnly=false&immediateOnly=true |
Description: | Returns a list of all parent communities of the |
HTTP method: | |
Optional parameters: | idOnly=false: if true return only the identifiers for the record, by default |
Sorting fields supported: | |
Response formats: | |
Status codes | 200: OK |
Response details | Contains item count, identifiers, handle and name or 204 if id is already |
|
|
| Return information about | - | - | - | TBD |
| 200, 204, 400, 500 | |||
• |
|
| Change description of |
| - | - | TBD |
| 200, 204, 500, 501 | |||
• |
|
| Add community to the system |
|
| - | TBD |
| 200, 201, 204, 500, 501 | |||
|
|
| Return a list of all parent communities of the | - | idOnly=false |
| ||||||
Name and description | Value and notes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Base URI: | /communities/ | |||||||||||
Description: | Returns a list of immediate sub-communities (children) of the | |||||||||||
HTTP method: | | |||||||||||
Optional parameters: | idOnly=false: if true return only the identifiers for the record, by default | |||||||||||
Sorting fields supported: | | |||||||||||
Response formats: | | |||||||||||
Status codes | 200: OK | |||||||||||
Response details | Contains item count, identifiers, handle and name or 204 if none. | |||||||||||
Name and description | Value and notes | |||||||||||
| 200, 204, 400, 500 | |||||||||||
|
|
| Description: |
| Returns a list of collections in of immediate sub-communities (children) of the | |||||||
HTTP method: | | |||||||||||
Optional parameters: | idOnly=false: if true return only the identifiers for the record, by default | |||||||||||
Sorting fields supported: | | |||||||||||
Response formats: | | |||||||||||
. | - | idOnly=false |
| 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 | - | idOnly=false |
| Status codes | 200: OK | Response details | Contains item count, identifiers, name, archival status, last modification and |
| 200, 204, 400, 500 |
Parameter | Description | ||||||
---|---|---|---|---|---|---|---|
topLevelOnly | returns only top level communities | ||||||
idOnly | if true return only the identifiers for the record |
Name and description | Value and notes |
---|---|
Base URI: | /communities/ |
Description: | Returns a list of recent submissions to a community |
HTTP method: | |
Optional parameters: | idOnly=false: if true return only the identifiers for the record, by default |
Sorting fields supported: | |
Response formats: | |
Status codes | 200: OK |
Response details | Contains complete items from recent submissions in community. |
...