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
edacd605
Commit
edacd605
authored
Mar 29, 2017
by
nopara73
Committed by
GitHub
Mar 29, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ApiSpecification.md
parent
5e82670e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
1 deletion
+34
-1
ApiSpecification.md
Breeze.Documentation/ApiSpecification.md
+34
-1
No files found.
Breeze.Documentation/ApiSpecification.md
View file @
edacd605
...
...
@@ -15,11 +15,44 @@ API should standardize that all `400` series errors come with consumable JSON er
BODY
```
{
"message" : "Something bad happened :(", // ex.Message maybe?
"success" : "false",
"message" : "something bad happened", // ex.Message maybe?
"description" : ex.ToString()
}
```
### wallet is not created
This error message comes at all request if the wallet is not created yet, except
-
`POST /wallet/create`
-
`POST /wallet/recover`
-
`POST /wallet/send-transaction`
```
{
"success" : "false",
"message" : "wallet is not created",
"description" : ""
}
```
### wallet is not decrypted
This error message comes at all request if the wallet is not loaded yet, except
-
`POST /wallet/create`
-
`POST /wallet/recover`
-
`POST /wallet/send-transaction`
-
`POST /wallet/load`
-
`DELETE /wallet`
```
{
"success" : "false",
"message" : "wallet is not decrypted",
"description" : ""
}
```
## Key Management
```
...
...
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