w3c / did-resolution

RELEASED DRAFT: Decentralized Identifier Resolution (DID Resolution) 0.2 Specification
https://w3c.github.io/did-resolution/
Other
14 stars 9 forks source link

[DID Reference] REQUIREMENT: Ability to `ping` a DID Resolver to see if it is alive and responsive #27

Closed mwherman2000 closed 5 years ago

mwherman2000 commented 5 years ago

Ability to ping a DID Resolver to see if it is alive and responsive.

Sample request: did:?ping

Response: A DID Resolver Response containing a JSON subelement containing a current TOD timestamp in milliseconds.

peacekeeper commented 5 years ago

Thanks @mwherman2000 this seems like a useful feature. I'm not sure if this should be part of the DID Resolution spec, since it's not directly related to the resolution process itself. Instead it could be an implementation-specific feature. But let's discuss.

mwherman2000 commented 5 years ago

@peacekeeper I think we need to revisit and rework the Purpose of the DID Resolution spec this week - especially wrt scope.

I'm perhaps thinking more broadly as the DID Resolution spec being the "API" for a DID Resolver ...which embraces then extends actual DID resolution.

QUESTION: If functions/capabilities like ping aren't defined in the DID Resolution spec, which document/specification should they be defined in?

TomCJones commented 5 years ago

it would be much better if a real json object were returned - same with error - in fact any invalid request should be a fine ping.

mwherman2000 commented 5 years ago

Closed in favor of https://github.com/w3c-ccg/did-resolution/issues/32 Use case 5