We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4d91766 + 028831a commit 526b869Copy full SHA for 526b869
spec/http.yml
@@ -2,7 +2,7 @@ openapi: 3.0.0
2
3
info:
4
title: Numary Ledger API
5
- version: 1.0.0-alpha
+ version: 1.0-beta
6
7
servers:
8
- url: http://localhost:3068
@@ -72,7 +72,7 @@ paths:
72
schema:
73
type: object
74
75
- /accounts:
+ /{ledger}/accounts:
76
get:
77
summary: List accounts
78
responses:
@@ -85,6 +85,18 @@ paths:
85
items:
86
$ref: "#/components/schemas/account"
87
88
+ /{ledger}/stats:
89
+ get:
90
+ summary: Stats accounts
91
+ responses:
92
+ 200:
93
+ description: The stats for account
94
+ content:
95
+ application/json:
96
+ schema:
97
+ type: array
98
+ items:
99
+ $ref: "#/components/schemas/stats"
100
/{ledger}/accounts/{reference}:
101
102
summary: Get an account by its fully-qualified reference
0 commit comments