-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.json
More file actions
63 lines (63 loc) · 1.29 KB
/
openapi.json
File metadata and controls
63 lines (63 loc) · 1.29 KB
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
{
"openapi": "3.1.0",
"info": {
"title": "Operations Memory HTTP API",
"version": "0.1.0",
"description": "Operations Memory Go service API."
},
"paths": {
"/healthz": {
"get": {
"summary": "Health check",
"responses": {
"200": {
"description": "Service is healthy"
},
"503": {
"description": "Service is unavailable"
}
}
}
},
"/v1/banks": {
"get": {
"summary": "List banks",
"responses": {
"200": {
"description": "Bank list"
}
}
}
},
"/v1/default/banks/{bank_id}/memories": {
"post": {
"summary": "Retain memories",
"responses": {
"200": {
"description": "Retain result"
}
}
}
},
"/v1/default/banks/{bank_id}/memories/recall": {
"post": {
"summary": "Recall memories",
"responses": {
"200": {
"description": "Recall result"
}
}
}
},
"/v1/default/banks/{bank_id}/context": {
"post": {
"summary": "Build context packet",
"responses": {
"200": {
"description": "Context packet"
}
}
}
}
}
}