Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Breeze
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
Breeze
Commits
5e82670e
Commit
5e82670e
authored
Mar 28, 2017
by
nopara73
Committed by
GitHub
Mar 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ApiSpecification.md
parent
70be37e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
23 deletions
+21
-23
ApiSpecification.md
Breeze.Documentation/ApiSpecification.md
+21
-23
No files found.
Breeze.Documentation/ApiSpecification.md
View file @
5e82670e
`/api/v1/`
`/api/v1/`
## Request/Response
RESPONSE: responsecode (
`200`
if success,
`400`
/
`500`
if error, see later)
HEADERS
`Content-Type:application/json`
## Errors
`400`
series status codes for client issues &
`500`
series status codes for server issues.
API should standardize that all
`400`
series errors come with consumable JSON error representation.
BODY
```
{
"message" : "Something bad happened :(", // ex.Message maybe?
"description" : ex.ToString()
}
```
## Key Management
## Key Management
...
@@ -32,25 +52,3 @@ GET /wallet/balance/[account1/account2] - Displays the balances of the specified
...
@@ -32,25 +52,3 @@ GET /wallet/balance/[account1/account2] - Displays the balances of the specified
POST /wallet/build-transaction/[account1/account2] - Attempts to build a transaction with the specified wallet account
POST /wallet/build-transaction/[account1/account2] - Attempts to build a transaction with the specified wallet account
POST /wallet/send-transaction - Attempts to send a transaction
POST /wallet/send-transaction - Attempts to send a transaction
```
```
## Request/Response
RESPONSE: responsecode (
`200`
if success,
`400`
/
`500`
if error, see later
HEADERS
`Content-Type:application/json`
BODY: json
## Errors
`400`
series status codes for client issues &
`500`
series status codes for server issues.
API should standardize that all
`400`
series errors come with consumable JSON error representation.
BODY
```
{
"message" : "Something bad happened :(", // ex.Message maybe?
"description" : ex.ToString()
}
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment