-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
03b8e2c
commit 88040c9
Showing
6 changed files
with
67 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 0 additions & 40 deletions
40
resources/public/api/conf/1.0/examples/Totals.get.array.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"empRef" : "840/GZ00064", | ||
"credit" : 100, | ||
"debit" : 0, | ||
"_links" : { | ||
"empRefs" : { | ||
"href" : "/" | ||
} | ||
} | ||
} |
90 changes: 0 additions & 90 deletions
90
resources/public/api/conf/1.0/schemas/Totals.get.schema.array.json
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
resources/public/api/conf/1.0/schemas/Totals.get.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"type": "object", | ||
"description": "An object containing the outstanding debits and outstanding credits", | ||
"properties": { | ||
"_links": { | ||
"type": "object", | ||
"description": "An object of links to explore further data", | ||
"properties": { | ||
"empRefs": { | ||
"type": "object", | ||
"description": "An object holding the link back to the entry endpoint", | ||
"properties": { | ||
"href": { | ||
"type": "string", | ||
"description": "Link to the entry endpoint" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"credit": { | ||
"type": "integer", | ||
"description": "The currently outstanding credits on your account." | ||
}, | ||
"debit": { | ||
"type": "integer", | ||
"description": "The currently outstanding debits on your account." | ||
} | ||
} | ||
} |