erasmus-without-paper / ewp-specs-api-discovery

Specifications of EWP's Discovery API.
MIT License
3 stars 1 forks source link

Discovery API

Summary

Discovery API is the first API that the partner developer needs to implement in order to become a basic member of the Erasmus Without Paper Network.

Discovery manifest files serve to announce which HEIs your system covers, which features (APIs) you have implemented, and which credentials your clients are going to use when fetching the data from the EWP Network.

Server requirements

Note, that this API doesn't currently follow rules of the Authentication and Security document (the one that most other APIs explicitly follow). It declares its own security requirements.

In order to implement the Discovery API, you will need to:

Client requirements

In general, Manifest files should be read by the Registry Service only. You SHOULD NOT process the Manifest files of other partners by yourself. Use the Registry instead, to access this data.

Discovery Manifest File

manifest-entry.xsd files

Each manifest file contains multiple API descriptions (in its <apis-implemented> element). Each such API description is described by its own XML namespace (why?), and manifest-entry.xsd files describe these namespaces - one namespace per API.

In other words, you will see a single manifest-entry.xsd file in each EWP API specification (Discovery Manifest API also has one).

For more information on <apis-implemented> element, see Registry API's catalogue schema.