Skip to content

Commit

Permalink
Add DID parameter for dereferencing an information resource identifie…
Browse files Browse the repository at this point in the history
…d by a DID.

Co-authored-by: Markus Sabadello <[email protected]>
  • Loading branch information
brentzundel and peacekeeper authored Dec 27, 2020
1 parent 6434f17 commit b5a6b49
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,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 @@ -950,8 +962,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"
Expand All @@ -964,6 +975,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

0 comments on commit b5a6b49

Please sign in to comment.