-
Notifications
You must be signed in to change notification settings - Fork 9
/
openapi.yml
58 lines (51 loc) · 1.41 KB
/
openapi.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
openapi: '3.0.0'
info:
version: 1.0.0
title: Open API for Interoperable Traceability
description: Identifier and Credentials APIs for DID.
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: https://api.did.actor
tags:
- name: Discovery
- name: Identifiers
- name: Credentials
- name: Presentations
paths:
/did.json:
$ref: './resources/api-configuration.yml'
/identifiers/{did}:
$ref: './resources/did.yml'
/credentials/issue:
$ref: './resources/credential-issuer.yml'
/credentials/status:
$ref: './resources/credential-status.yml'
/credentials/verify:
$ref: './resources/credential-verifier.yml'
/credentials/{credential-id}:
$ref: './resources/credential.yml'
/presentations:
$ref: './resources/presentations.yml'
/presentations/prove:
$ref: './resources/presentation-prover.yml'
/presentations/verify:
$ref: './resources/presentation-verifier.yml'
/presentations/available:
$ref: './resources/presentation-available.yml'
/presentations/submissions:
$ref: './resources/presentation-submissions.yml'
components:
securitySchemes:
OAuth2:
type: oauth2
flows:
clientCredentials:
tokenUrl: https://example.com/oauth/token
parameters:
$ref: './parameters/_index.yml'
schemas:
$ref: './schemas/_index.yml'
responses:
$ref: './responses/_index.yml'