Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DID parameter for dereferencing an information resource identified by a DID #480

Merged
merged 5 commits into from
Dec 27, 2020
Merged
Changes from all commits
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
19 changes: 17 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,18 @@ <h2>DID Parameters</h2>
<a data-lt="ascii string">ASCII string</a>.
</td>
</tr>
<tr>
<td>
<code>resource</code>
</td>
<td>
Indicates that the resource to be dereferenced is the <a>DID Subject</a>, rather
than the <a>DID Document</a>. This parameter is used to retrieve an information
resource identified by a <a>DID</a>. Support for this parameter is OPTIONAL.
If present, the associated value MUST be the
<a data-lt="ascii string">ASCII string</a> <code>true</code>.
</td>
</tr>
</tbody>
</table>

Expand Down Expand Up @@ -937,8 +949,7 @@ <h2>DID Parameters</h2>
</p>

<p>
Two example <a>DID URLs</a> using the <code><a>service</a></code> and
<code>version-time</code> DID parameters are shown below.
Some example <a>DID URLs</a> using DID parameters are shown below.
</p>

<pre class="example nohighlight" title="A DID URL with a 'service' DID parameter">
Expand All @@ -949,6 +960,10 @@ <h2>DID Parameters</h2>
did:foo:21tDAKCERh95uGgKbJNHYp?version-time=2002-10-10T17:00:00Z
</pre>

<pre class="example nohighlight" title="A DID URL with a 'resource' DID parameter">
did:foo:21tDAKCERh95uGgKbJNHYp?resource=true
</pre>

<p class="note" title="DID parameters and DID resolution">
The <a>DID resolution</a> and the <a>DID URL dereferencing</a> functions can
be influenced by passing input metadata to a <a>DID resolver</a> that are
Expand Down