Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
ewp-specs-api-discovery/manifest-example.xml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
159 lines (138 sloc)
9.62 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<manifest | |
xmlns="https://github.com/erasmus-without-paper/ewp-specs-api-discovery/tree/stable-v5" | |
xmlns:mf="https://github.com/erasmus-without-paper/ewp-specs-api-discovery/tree/stable-v5" | |
xmlns:ewp="https://github.com/erasmus-without-paper/ewp-specs-architecture/blob/stable-v1/common-types.xsd" | |
xmlns:sec="https://github.com/erasmus-without-paper/ewp-specs-sec-intro/tree/stable-v2" | |
xmlns:r="https://github.com/erasmus-without-paper/ewp-specs-api-registry/tree/stable-v1" | |
xmlns:xml="http://www.w3.org/XML/1998/namespace" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation=" | |
https://github.com/erasmus-without-paper/ewp-specs-api-discovery/tree/stable-v5 | |
https://raw.githubusercontent.com/erasmus-without-paper/ewp-specs-api-discovery/stable-v5/manifest.xsd | |
https://github.com/erasmus-without-paper/ewp-specs-api-registry/tree/stable-v1 | |
https://raw.githubusercontent.com/erasmus-without-paper/ewp-specs-api-registry/stable-v1/catalogue.xsd | |
https://github.com/erasmus-without-paper/ewp-specs-architecture/blob/stable-v1/common-types.xsd | |
https://raw.githubusercontent.com/erasmus-without-paper/ewp-specs-architecture/stable-v1/common-types.xsd | |
https://github.com/erasmus-without-paper/ewp-specs-api-echo/blob/stable-v2/manifest-entry.xsd | |
https://raw.githubusercontent.com/erasmus-without-paper/ewp-specs-api-echo/stable-v2/manifest-entry.xsd | |
https://github.com/erasmus-without-paper/ewp-specs-sec-intro/tree/stable-v2 | |
https://raw.githubusercontent.com/erasmus-without-paper/ewp-specs-sec-intro/stable-v2/schema.xsd | |
https://github.com/erasmus-without-paper/ewp-specs-sec-cliauth-none/tree/stable-v1 | |
https://raw.githubusercontent.com/erasmus-without-paper/ewp-specs-sec-cliauth-none/stable-v1/security-entries.xsd | |
https://github.com/erasmus-without-paper/ewp-specs-sec-cliauth-httpsig/tree/stable-v1 | |
https://raw.githubusercontent.com/erasmus-without-paper/ewp-specs-sec-cliauth-httpsig/stable-v1/security-entries.xsd | |
https://github.com/erasmus-without-paper/ewp-specs-sec-cliauth-tlscert/tree/stable-v1 | |
https://raw.githubusercontent.com/erasmus-without-paper/ewp-specs-sec-cliauth-tlscert/stable-v1/security-entries.xsd | |
https://github.com/erasmus-without-paper/ewp-specs-sec-srvauth-tlscert/tree/stable-v1 | |
https://raw.githubusercontent.com/erasmus-without-paper/ewp-specs-sec-srvauth-tlscert/stable-v1/security-entries.xsd | |
https://github.com/erasmus-without-paper/ewp-specs-sec-srvauth-httpsig/tree/stable-v1 | |
https://raw.githubusercontent.com/erasmus-without-paper/ewp-specs-sec-srvauth-httpsig/stable-v1/security-entries.xsd | |
https://github.com/erasmus-without-paper/ewp-specs-sec-reqencr-tls/tree/stable-v1 | |
https://raw.githubusercontent.com/erasmus-without-paper/ewp-specs-sec-reqencr-tls/stable-v1/security-entries.xsd | |
https://github.com/erasmus-without-paper/ewp-specs-sec-resencr-tls/tree/stable-v1 | |
https://raw.githubusercontent.com/erasmus-without-paper/ewp-specs-sec-resencr-tls/stable-v1/security-entries.xsd | |
" | |
> | |
<!-- This example doesn't contain many comments, but its XML Schema does! --> | |
<host> | |
<ewp:admin-email>admin-or-developer@example.com</ewp:admin-email> | |
<ewp:admin-notes>It's not a real manifest. Just an example.</ewp:admin-notes> | |
<r:apis-implemented> | |
<!-- All API entries are defined in their own separate XML namespaces. | |
You need to use proper `xmlns` in order for them to be matched properly. --> | |
<!-- The entry for the Discovery Manifest API (a self-reference). --> | |
<discovery | |
xmlns="https://github.com/erasmus-without-paper/ewp-specs-api-discovery/blob/stable-v5/manifest-entry.xsd" | |
version="5.0.0" | |
> | |
<url>https://example.com/manifest.xml</url> | |
</discovery> | |
<!-- Some other API, just for the purpose of example. Each API entry has a | |
different XML namespace and a different structure. These structures are often | |
quite similar to each other, but sometimes they're not. --> | |
<echo | |
xmlns="https://github.com/erasmus-without-paper/ewp-specs-api-echo/blob/stable-v2/manifest-entry.xsd" | |
version="2.0.0" | |
> | |
<!-- Note, that ewp:admin-email and ewp:admin-notes can be defined both on the | |
global level, and on the API level. --> | |
<ewp:admin-email>usually-a-developer@example.com</ewp:admin-email> | |
<ewp:admin-email>some-other-developer@example.com</ewp:admin-email> | |
<ewp:admin-notes>Some notes which might be useful for client developers.</ewp:admin-notes> | |
<!-- Many APIs define the security requirements of their implementations with help | |
of elements like this one. See Echo API's manifest-entry.xsd file for details. --> | |
<http-security> | |
<sec:client-auth-methods> | |
<tlscert | |
xmlns="https://github.com/erasmus-without-paper/ewp-specs-sec-cliauth-tlscert/tree/stable-v1" | |
allows-self-signed="true" | |
/> | |
<httpsig xmlns="https://github.com/erasmus-without-paper/ewp-specs-sec-cliauth-httpsig/tree/stable-v1"/> | |
</sec:client-auth-methods> | |
<sec:server-auth-methods> | |
<tlscert xmlns="https://github.com/erasmus-without-paper/ewp-specs-sec-srvauth-tlscert/tree/stable-v1"/> | |
<httpsig xmlns="https://github.com/erasmus-without-paper/ewp-specs-sec-srvauth-httpsig/tree/stable-v1"/> | |
</sec:server-auth-methods> | |
</http-security> | |
<!-- The URL at which this Echo API is served. See Echo API's manifest-entry.xsd | |
file for details. --> | |
<url>https://example.com/ewp/echo</url> | |
</echo> | |
</r:apis-implemented> | |
<mf:institutions-covered xmlns="https://github.com/erasmus-without-paper/ewp-specs-api-registry/tree/stable-v1"> | |
<hei id="uw.edu.pl"> | |
<other-id type="pic">999572294</other-id> | |
<other-id type="erasmus">PL WARSZAW01</other-id> | |
<other-id type="erasmus-charter">45834-EPP-1-2014-1-PL-EPPKA3-ECHE</other-id> | |
<name xml:lang="en">University of Warsaw</name> | |
</hei> | |
</mf:institutions-covered> | |
<client-credentials-in-use> | |
<!-- This one is used for TLS Client Authentication (optional) --> | |
<certificate> | |
MIIDuTCCAqGgAwIBAgIJAK5ps0mVHjvZMA0GCSqGSIb3DQEBCwUAMHIxCzAJBgNV | |
BAYTAlBMMRQwEgYDVQQIDAtNYXpvd2llY2tpZTERMA8GA1UEBwwIV2Fyc3phd2Ex | |
DDAKBgNVBAoMA0VXUDEsMCoGA1UEAwwjU2FtcGxlIFJTQSAyMDQ4IENlcnRpZmlj | |
YXRlIGZvciBFV1AwIBcNMTYwNjA5MjA0MzAzWhgPMjI5MDAzMjUyMDQzMDNaMHIx | |
CzAJBgNVBAYTAlBMMRQwEgYDVQQIDAtNYXpvd2llY2tpZTERMA8GA1UEBwwIV2Fy | |
c3phd2ExDDAKBgNVBAoMA0VXUDEsMCoGA1UEAwwjU2FtcGxlIFJTQSAyMDQ4IENl | |
cnRpZmljYXRlIGZvciBFV1AwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB | |
AQDaB2/WrqF3uMZquhlDAfSbmPwEDTpIwSVvx7rBD9S7H231E++Hp5YS8vHVrsaX | |
oxy/ADyK0acdSYKhMowatloycSoWMMu22iVvUNHYhcsGrXYBBev7+JJEYl688vdi | |
MGO98PeYj+orQtjSZINNUbiO3TfM+Y6AuAIO5mrcdSfBgijlUV6ia5GrfF6lysY6 | |
xKEZ6lBtWzjqBApsBKl3iYOAR5fj1t0k7bFf/JacOdZYda1adfasgcfifq3P9nkB | |
tNMU7FHcQdchbFawIENjAgSz4sJvA8rooVA6TvSj4jVjkbtWo9Q3mwY+5UICZKM+ | |
l6seNz7D5O+OXEzq9iSBy/ULAgMBAAGjUDBOMB0GA1UdDgQWBBQSkyNNL1JI4XSY | |
WUOf2c+psBT09TAfBgNVHSMEGDAWgBQSkyNNL1JI4XSYWUOf2c+psBT09TAMBgNV | |
HRMEBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQDViw6XUCdXIfZgoin5g7jr1txY | |
ZL1nCpHorwGMRezmwnfOg/4I+wPS9325eUmnFhjSVlYyIWcRWovpMEh0MEY2p6/K | |
yJEaFbSkpwNA0+c3qdQbz6/b6o2LnFU6e6mWsAwxURi6Mxf+Cs7NoU+Ef4MkcefE | |
k6edF2wZjJl58IEGnP7tY7BCqV87WYGKE9tRE7LYREHVbqNh1d+QUz3er0HRHD0l | |
YQWikBdQrF6xUnin7bA8eC1YV+G6rrxCKDeSTMQtC8mCzQUP4coGfrSaJETv1Lue | |
CAsLtNi5QyYgfvdPjvCOAS8s9t9iPSvJUvHBr01/oFZJ5aQQ3tclZcYw0mw/ | |
</certificate> | |
<!-- And this one is used for HTTP Signature Authentication --> | |
<rsa-public-key> | |
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkQojIPtX+BYGGC2f1zXr | |
U3ijq5oApW6YA+mSiB3p5pEQRUuvIHKbSKRXQaW/5hORYpWU1GzU2Wq99vykjX9b | |
8GQlM+0xbFP0cILIhjz23R0Q53mKcf2xAzQt2b3f56QOnjUaKbXsuB+ejTLAtQ4D | |
yKYSodCzUFkuUZUw+TK7G9ySMbcVHqrG8qDCw3/7CXkN0Wf9HpSnYP5fwd426fay | |
u6RXGeX5vUuX5BJkjsxoL8Smn7TB31LSFn3LbQLzG4UuxGaGgHWZCMSC35dX2d3z | |
4zcpZxgyN8LNWXCf4g95b20Ljsbnvk1dIUTJtRJJ29zbWXcgXgVl69UKQx8NxXIx | |
6wIDAQAB | |
</rsa-public-key> | |
</client-credentials-in-use> | |
<server-credentials-in-use> | |
<!-- Used for HTTP Signature Authentication --> | |
<rsa-public-key> | |
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkQojIPtX+BYGGC2f1zXr | |
U3ijq5oApW6YA+mSiB3p5pEQRUuvIHKbSKRXQaW/5hORYpWU1GzU2Wq99vykjX9b | |
8GQlM+0xbFP0cILIhjz23R0Q53mKcf2xAzQt2b3f56QOnjUaKbXsuB+ejTLAtQ4D | |
yKYSodCzUFkuUZUw+TK7G9ySMbcVHqrG8qDCw3/7CXkN0Wf9HpSnYP5fwd426fay | |
u6RXGeX5vUuX5BJkjsxoL8Smn7TB31LSFn3LbQLzG4UuxGaGgHWZCMSC35dX2d3z | |
4zcpZxgyN8LNWXCf4g95b20Ljsbnvk1dIUTJtRJJ29zbWXcgXgVl69UKQx8NxXIx | |
6wIDAQAB | |
</rsa-public-key> | |
</server-credentials-in-use> | |
</host> | |
</manifest> |