cheqd / did-resolver Goto Github PK
View Code? Open in Web Editor NEWDID Resolver for the did:cheqd method
Home Page: https://docs.cheqd.io/identity/advanced/did-resolver
License: Apache License 2.0
DID Resolver for the did:cheqd method
Home Page: https://docs.cheqd.io/identity/advanced/did-resolver
License: Apache License 2.0
Dereferencing for the primary resource is already implemented. For this issue we want to have Implemented dereferencing for the secondary resource as described in doc:
https://w3c-ccg.github.io/did-resolution/#dereferencing-algorithm-secondary
There is an issue on cheqd-noded
for adding deactivated
mechanism on the ledger side.
Here is:
cheqd/cheqd-node#315
Need to support this functionality on resolver side too.
https://w3c-ccg.github.io/did-resolution/
The output for DID which was deactivated should be:
https://w3c-ccg.github.io/did-resolution/#resolving-algorithm
3.3
point.
New API:
/1.0/identifiers/did:cheqd:testnet:DAzMQo4MDMxCjgwM/resources/all
curl /1.0/identifiers/did:cheqd:testnet:DAzMQo4MDMxCjgwM/resources/all
{
"contentStream": {
resources: [
{
"collectionId": "DAzMQo4MDMxCjgwM",
"id": "44547089-170b-4f5a-bcbc-06e46e0089e4",
"name": "Resource1",
"resourceType": "CL-Schema",
"mediaType": "application/json",
"created": "2022-07-19T08:40:00Z",
"checksum": "eyAiY29udGVudCI6ICJ0ZXN0IGRhdGEiIH0K47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=",
},
{
"collectionId": "DAzMQo4MDMxCjgwM",
"id": "47547089-170b-4f5a-bcbc-06e46e00895f",
"name": "Resource2",
"resourceType": "CL-Schema",
"mediaType": "application/json",
"created": "2022-06-19T08:40:00Z",
"checksum": "thAiY29udGVudCI6ICJ0ZXN0IGRhdGEiIH0K47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hHtlf=",
}
]},
"contentMetadata": {},
"dereferencingMetadata": {
"contentType": "text/html",
"retrieved": "2022-07-29T14:43:30Z",
"did": {
"didString": "did:cheqd:testnet:DAzMQo4MDMxCjgwM",
"methodSpecificId": "DAzMQo4MDMxCjgwM",
"method": "cheqd"
}
}
}
/1.0/identifiers/did:cheqd:testnet:DAzMQo4MDMxCjgwM/resources/
/resources/
to /resources/all
/1.0/identifiers/did:cheqd:testnet:DAzMQo4MDMxCjgwM/resources
/1.0/identifiers/did:cheqd:testnet:DAzMQo4MDMxCjgwM/resources/44547089-170b-4f5a-bcbc-06e46e0089e4
/1.0/identifiers/did:cheqd:testnet:DAzMQo4MDMxCjgwM/resources/44547089-170b-4f5a-bcbc-06e46e0089e4/matadata
curl /1.0/identifiers/did:cheqd:testnet:DAzMQo4MDMxCjgwM/resources/44547089-170b-4f5a-bcbc-06e46e0089e4/matadata
{
"contentStream": {
{
"collectionId": "DAzMQo4MDMxCjgwM",
"id": "44547089-170b-4f5a-bcbc-06e46e0089e4",
"name": "Resource1",
"resourceType": "CL-Schema",
"mediaType": "application/json",
"created": "2022-07-19T08:40:00Z",
"checksum": "eyAiY29udGVudCI6ICJ0ZXN0IGRhdGEiIH0K47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=",
},
"contentMetadata": {},
"dereferencingMetadata": {
"contentType": "text/html",
"retrieved": "2022-07-29T14:43:30Z",
"did": {
"didString": "did:cheqd:testnet:DAzMQo4MDMxCjgwM",
"methodSpecificId": "DAzMQo4MDMxCjgwM",
"method": "cheqd"
}
}
}
Links:
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.