@@ -1973,12 +1973,15 @@ The complete changelog is updated in the OCM-API GitHub repository.
19731973* Added JSContact extension to IANA Considerations.
19741974* Changed example domain to use cloud.example.org per RFC 2606.
19751975
1976- # Appendix D : Resource Discovery Service
1976+ # Appendix E : Resource Discovery Service
19771977
19781978An OCM Server MAY publicly advertise available resources.
19791979This is done via the `resourceAdvertismentUri`. It is
1980- expected to expose, via anonymous HTTP GET, a JSON document
1981- with the following format :
1980+ expected to expose, via anonymous HTTPS GET, a signed JWS
1981+ document [RFC7515], where the signing key MUST be made
1982+ available via the `/.well-known/jwks.json` of the
1983+ advertising server and the payload MUST adhere to the
1984+ following format :
19821985
19831986 * REQUIRED: `server` - a human-readable name for the
19841987 Servers providing the Resource Discovery Service
@@ -2000,7 +2003,7 @@ with the following format:
20002003 "server": "OCM Server 1",
20012004 "resources": [
20022005 {
2003- "publicUrl": "https://ocm-server-1.fqdn /s/1234567890abcdef",
2006+ "publicUrl": "https://cloud.example.org /s/1234567890abcdef",
20042007 "displayName": "Public Dataset 1",
20052008 "id": "1234567890abcdef",
20062009 "rocrate": {
@@ -2022,7 +2025,7 @@ with the following format:
20222025 "name": "A RO-Crate embedded in OCM"
20232026 },
20242027 {
2025- "@id": "https://ocm-server-1.fqdn /s/1234567890abcdef",
2028+ "@id": "https://cloud.example.org /s/1234567890abcdef",
20262029 "@type": "File",
20272030 "name": "Public data file"
20282031 }
0 commit comments