| {Base} | Base URL of the service (currently running at https://info.nbirn.org:8443/cxfiis/reg) |
| {Name} | This defines the name of the registry. Each registry manages XML documents of different types, while all entries within the same registry are of the same type. We support the names 'CapabilityRegistry' and 'CapabilityDefinitionRegistry', which are the root elements of the currently supported XML types. |
| {Id} | Unique identifier for a document in a registry |
| Url | GET | PUT | POST | DELETE |
|---|---|---|---|---|
| {Base}/{Name} | X | X | ||
| {Base}/{Name}/schema | X | |||
| {Base}/{Name}/atom | X | |||
| {Base}/{Name}/rss | X | |||
| {Base}/{Name}/xpath?expression=<XPATH_EXPRESSION> | X | |||
| {Base}/{Name}/entry/{Id} | X | X | ||
| {Base}/{Name}/entry/{Id}/html | X | |||
| {Base}/{Name}/entry/{Id}/xpath?expression=<XPATH_EXPRESSION> | X |
| GET | Get a collection of all entries currently stored in the registry. The format is plain XML. No authentication or authorization required. |
| POST | Store the serialized XML entity from the body in the registry. Authentication and authorization required. We currently don't make a difference between adding a new resource to a registry and updating an existing resource. POST applies to both use cases. |
| GET | Get the schema of the registry in plain XML format. No authentication or authorization required. |
| GET | Get a collection of all entries currently stored in the registry in Atom syndication format. No authentication or authorization required. |
| GET | Get a collection of all entries currently stored in the registry in RSS format. No authentication or authorization required. |
| GET | Evaluate XPATH_EXPRESSION on all entries currently stored in the registry. No authentication or authorization required. |
| GET | Get a serialized XML string representation of the entry with id {Id}. The format is plain XML. No authentication or authorization required. |
| DELETE | Delete entry {Id} from the registry. Authentication and authorization required. |
| GET | Get an HTML representation of the entry with id {Id}. No authentication or authorization required. |
| GET | Evaluate XPATH_EXPRESSION on entry {Id} in the registry. the registry. No authentication or authorization required. |
GET {registry-base-url}/lifetime)GET {registry-base-url}/entry/{resource-id}/expirationDate)| 200 - Ok | Upon all successful requests. We currently don't return '201 - Created' upon a successful POST request. |
| 401 - Unauthorized | The user cannot be authentication or is not authorized to for a request to a certain resource |
| 404 - Not Found | The requested resource does not exist |
| 500 - Internal Server Error | All other errors, including server errors |