Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions IETF-RFC.md
Original file line number Diff line number Diff line change
Expand Up @@ -1114,20 +1114,31 @@ format:
Servers exposed by the Directory Service
* REQUIRED: `servers` - a JSON array of objects to describe the list
of OCM Servers with the following string fields:
* REQUIRED: `url` - the OCM Server's FQDN
* REQUIRED: `url` - an absolute URL identifying the
OCM Server. It MUST:
* include scheme `http://` or `https://`
Comment thread
MahdiBaghbani marked this conversation as resolved.
Outdated
* include host
(either a FQDN or IP address, with an optional PORT)
Comment thread
MahdiBaghbani marked this conversation as resolved.
Outdated
* MAY include a non-default port
* MUST NOT include a base path (e.g., `/ocm`)
* MUST NOT include userinfo, query, or fragment
* REQUIRED: `displayName` - a human-readable name for the OCM Server
Example:
```json
{
"federation" : "The ScienceMesh Directory",
"servers" : [
{
"url" : "https://ocm-server-1.fqdn",
"url" : "https://ocm-server-1.example.org",
"displayName" : "OCM Server 1"
},
{
"url" : "https://ocm-server-2.fqdn",
"url" : "https://ocm-server-2.example.org:4443",
"displayName" : "OCM Server 2"
},
{
"url" : "http://192.168.1.1:8080",
"displayName" : "OCM Server 3"
}
]
}
Expand Down
Loading