-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgroup-management.yaml
65 lines (61 loc) · 1.64 KB
/
group-management.yaml
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
59
60
61
62
63
64
65
openapi: "3.0.0"
info:
description: "This is the Group API for UC4."
version: "0.15.1"
title: "UC4"
servers:
- url: https://uc4.cs.upb.de/api/experimental/group-management
- url: https://uc4.cs.upb.de/api/develop/group-management
- url: https://uc4.cs.upb.de/api/production/group-management
tags:
- name: "Version Management"
description: "Everything about the Version"
externalDocs:
description: "Find out more"
url: "https://github.com/upb-uc4"
paths:
/version:
get:
tags:
- "Version Management"
summary: "Get version"
description: "Returns the version of the current service"
operationId: "getVersion"
responses:
"200":
description: "OK"
content:
application/json:
schema:
$ref: '#/components/schemas/JsonServiceVersion'
/version/hyperledger:
get:
tags:
- "Version Management"
summary: "Get Hyperledger version"
description: "Returns the version of the current hyperledger backend"
operationId: "getVersionHyperledger"
responses:
"200":
description: "OK"
content:
application/json:
schema:
$ref: '#/components/schemas/JsonHyperledgerVersion'
components:
schemas:
JsonServiceVersion:
type: object
properties:
serviceVersion:
type: string
JsonHyperledgerVersion:
type: object
properties:
hlfApiVersion:
type: string
chaincodeVersion:
type: string
externalDocs:
description: "Find out more about Swagger"
url: "http://swagger.io"