Comments (4)
To put it a different way, I'm unclear what the resource is of a DID URL with a path - while a DID URL without a path is unambiguously referencing the subject as the resource.
If a DID URL has a path, the root of the path is the resource represented by the DID. Depending on the DID method—and the resource identified by the DID—the path itself could represent any hierarchical tree of subresources. For example, if the DID subject was the home page of a website, then the path could be used to navigate the resources at the website just like the path on an HTTP URL. If the DID subject was a blog, the path could be used to navigate categories of posts on the blog. If the DID subject was a database, the path could be used to navigate within the database. And so on.
from did-wg.
So if I understand correctly, resolving a DID URL without a path represents a defined resource of the DID subject, with defined query parameter and fragment behavior, defined content, etc (similar to a .well-known URL in the HTTP-based specification space).
However, resolving a DID URL with a path no longer references the subject or has a well-defined relationship to the subject. Resolving such a pathed URL no longer returns a DID document but rather arbitrary content, query parameters and fragment identifiers may have behavior different from that defined for resolving DID documents with that method, and so on.
Any path behavior is outside this specification and is currently custom behavior defined by a DID method, possibly configured via a method outside this specification by the DID controller.
Are there any DID methods and resolvers which would allow testing this behavior?
from did-wg.
Any path behavior is outside this specification and is currently custom behavior defined by a DID method, possibly configured via a method outside this specification by the DID controller.
Yes.
Are there any DID methods and resolvers which would allow testing this behavior?
That's a question best directed to @peacekeeper who runs the Universal Resolver project at the Decentralized Identity Foundation. I am aware of several DID methods that have plans to specify DID URL path functionality for certain types of resources, but I don't know the state of their implementations.
from did-wg.
grossly outdated. Closing
from did-wg.
Related Issues (11)
- 2020-02-11-action1: create the did-core-registry repo (Ivan Herman) HOT 1
- 2020-02-11-action2: create the did-imp-guide repo (Ivan Herman) HOT 1
- Add CODEOWNERS + Turn on branch protection HOT 5
- 2020-05-19-action1: rename the github registry (Ivan Herman) HOT 1
- rename master branches HOT 12
- 2020-09-29-action1: pre-process the WoT issue list with Manu at [https://github.com/w3c/wot/issues/932](https://github.com/w3c/wot/issues/932) (Markus Sabadello) HOT 1
- How to register did method HOT 2
- Formal objections need a separate response HOT 2
- TPAC 2024 Presentations
- Position/differentiate DIDs and DID Documents (and the DID Resolution protocol) relative to existing Internet concepts and protocols HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from did-wg.