Code Monkey home page Code Monkey logo

Comments (4)

talltree avatar talltree commented on August 16, 2024

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.

dwaite avatar dwaite commented on August 16, 2024

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.

talltree avatar talltree commented on August 16, 2024

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.

iherman avatar iherman commented on August 16, 2024

grossly outdated. Closing

from did-wg.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.