Comments (3)
I like the idea of versioning the /vc/v0.0.1
on a per-component basis with respect to the spec version. This way we can also have /didcomm/v0.1.0
coexisting. If we add non-standard endpoints, we could be explicit and call it /${customName}/${customVersion}/
.
from didkit.
The API we implemented is now frozen/archived as v0.0.1
of vc-http-api
.
We could have DIDKit support multiple vc-http-api
versions. One of the other vendors appear to be doing this, i.e. Transmute has these endpoints:
- https://vc.transmute.world/v0.1.0/issue/credentials - maybe should be
v0.0.1
rather thanv0.1.0
? - https://vc.transmute.world/v0.0.0/credentials/issueCredential -
0.0.0
is the oldervc-http-api
version which we have not implemented.
The latest vc-http-api
now has version 0.0.2-unstable
. The previous spec version one is archived at versions/v0.0.1/
(repo, web). We could serve our latest-tracking implementation under /v0.0.2-unstable/
, and move the current API to /v0.0.0/
.
Alternatively, we could only support the latest API. Then if someone wants to use multiple then they can run multiple versions of didkit-http
and use e.g. nginx
to reverse-proxy to them under different paths.
In either case, maybe this should be a different issue but I wonder how didkit-http
should handle non-vc-http-api
routes. e.g. HTTP(S) Binding for DID resolvers, or DID controller APIs, or DIDComm endpoints. Should these all be versioned (or dated) too, and differentiated by subdirectories? e.g. instead of the current route /verify/credentials
, we could have /vc/v0.0.1/verify/credentials
. Another option could be to instead version the didkit-http
API as a whole, and say e.g. /1.0/vc/
provides vc-http-api v0.0.1
, and /1.0/identifiers/
provides DID resolution according to the spec as of 2020-12-02 (going loosely by the endpoint example in the did-resolution
spec).
from didkit.
didkit-http was updated to use the controller pattern (vc-http-api v0.0.2
) in #102. But the routes are not yet versioned.
from didkit.
Related Issues (20)
- Windows support for Make commands
- Python Django examples throws error - no running event loop HOT 1
- Uncaught (in promise) ReferenceError: DIDKitLoader is not defined
- Unable to build due to missing feature p256
- failed to select a version for did-tz
- Java example fails on run HOT 1
- didkit build error HOT 1
- implement AWAKE inbound/outbound upgrade HOT 1
- keyToVerificationMethod failing
- Support for Selective Disclosure using bbs+ signatures HOT 1
- Key expansion failed when issuing presentation using ldp proof format HOT 1
- Failed to build didkit for iOS simulator HOT 1
- Using library inside WASM HOT 3
- Missing key when issuing credential for didkit-http HOT 5
- Cannot build on macOS M1
- Verify Invocation Assumes Delegation
- error: unable to find library -lunwind HOT 1
- Flutter : Failed to load dynamic library 'libdidkit.so': dlopen failed: library "libdidkit.so" not found HOT 3
- Could not add additional field into "credentialSubject" when issuing credential HOT 1
- Add support for runtime fetching of context fiels HOT 3
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 didkit.