Skip to content

Commit

Permalink
clean API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
eike-hass committed Apr 26, 2024
1 parent 343a9ab commit 5cd6417
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 10 deletions.
18 changes: 18 additions & 0 deletions tooling/API/Backend/GRPC.http
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
proto < ../../../proto/user/user.proto

@host=http://selv.local:5001/backend
###
{{
//pre request script
exports.data = new TextEncoder().encode("test");
}}

GRPC /UsersService/ConnectUser
{
"did": "test",
"code": "f42f11ac-63dc-441a-9778-b6b55721ab47"
}

GRPC 0 - OK
content-type: application/grpc+proto
date: Fri, 26 Apr 2024 08:33:29 GMT
3 changes: 1 addition & 2 deletions tooling/API/Identity/GRPC.http
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ GRPC /Jwt/create
"credential_json": {{credential_json}},
"issuer_fragment": "S3zEW4inNy8FYZEMVTEthdzqqSBq1WglM2k75xKHzy0"
}

###

{{
Expand All @@ -47,4 +46,4 @@ GRPC /Signing/sign

GRPC 0 - OK
content-type: application/grpc
date: Fri, 26 Apr 2024 08:30:11 GMT
date: Fri, 26 Apr 2024 08:40:40 GMT
11 changes: 4 additions & 7 deletions tooling/API/OID4VC/GRPC.http
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ GRPC /SIOPV2/CreateRequest
"state": "test"
}
###
GRPC 0 - OK
content-type: application/grpc+proto
date: Thu, 25 Apr 2024 19:42:51 GMT
###
GRPC /OID4VP/CreateRequest
{
"state": "test",
Expand All @@ -21,6 +17,7 @@ GRPC /OID4VP/CreateRequest
}
}
###
GRPC 0 - OK
content-type: application/grpc+proto
date: Thu, 25 Apr 2024 19:43:57 GMT
GRPC /OID4VCI/CreateOffer
{
"credentials": ["wa_driving_license"]
}
2 changes: 1 addition & 1 deletion tooling/API/OID4VC/HTTP.http
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@host=http://bank.host.docker.internal:81
@host=http://bank.selv.local:81
###
GET /api/health
###
Expand Down

0 comments on commit 5cd6417

Please sign in to comment.