Open amis92 opened 5 years ago
Out of those, non-critical endpoints include POST ones plus the atom feed.
Both the issue and atom are useful and see usage. The file update is almost never used.
The account from which the issues and file updates are created on GitHub: @BSDataAnon
GET /repos
endpoint when the user selects which repositories they want to "subscribe" to. Details of the subscribed repository are saved, including repositoryUrl
and indexUrl
endpoints.GET /repos/{repo}/index.bsi
file as provided by the RepositoryVm.indexUrl
.~
App requests GET /repos/{repo}
endpoint as provided by the RepositoryVm.repositoryUrl
. If the request fails, it falls back to the index.bsi endpoint.index.bsi
(those that are new/have higher revision), which currently is the GET /repos/{repo}/{filename}
endpoint.~
App downloads files from RepositoryVm.repositoryFiles.fileUrl
endpoint. It may or may not verify given file's revision before attempting download.GET /repos
list.RepositoryVm.repositoryUrl
, currently GET /repos/{repo}
.
POST
endpoints for issue submission and file update submission
REST API definition:
https://github.com/BSData/bsdata/blob/41af6dbb415918dd9d1d074f23c36d3fc05919f4/src/main/java/org/battlescribedata/rest/RepoResource.java
Endpoints:
GET
/{repo}/{filename}
GET
/{repo}
GET
/feeds/{repo}.atom
all
which is an aggregate of all other feeds.GET
/
POST
/{repo}/{filename}
POST
/{repo}/{filename}/issue