-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from noahrav/rest-api
Backend Rest API
- Loading branch information
Showing
12 changed files
with
1,044 additions
and
56 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,5 @@ _deps | |
|
||
.idea/ | ||
build/ | ||
cmake-build-debug/ | ||
cmake-build-debug/ | ||
cmake-build-debug-wsl/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
API Protocol | ||
======== | ||
|
||
| Endpoint URL | Request type | Request data type | Response data type | Description | | ||
|---------------------|--------------|-------------------|---------------------|----------------------------------------------------------------------------| | ||
| / | GET | | string | Check if server is up | | ||
| /chgen | POST | JSON | JSON | Scan builds for changes, returns changelog and exports it into a text file | | ||
| /transfer | POST | JSON | JSON | Scan builds for transfer changelog, returns changelog | | ||
| /transfer/confirm | POST | JSON | string | Executes transfer based on last scanned transfer changelog | | ||
| /transfer/changelog | GET | | JSON | Returns last scanned transfer changelog | | ||
| /submit | POST | JSON | JSON | Scan builds for submit changelog, returns changelog | | ||
| /submit/confirm | GET | JSON | string | Executes submit based on last scanned submission changelog | | ||
| /submit/changelog | GET | | JSON | Returns last scanned submit changelog | |
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
Oops, something went wrong.