-
Notifications
You must be signed in to change notification settings - Fork 4
API
The endpoints supported by the project are dscribed in this section.
A top level endpoint which will analyse the entire repository branch which is provided, at the current time point.
produces = "application/json" parameters:
-
url
: String - github repository url -
branch
: String - branch of the repository to be analysed
Endpoint for retrieving all owners in the database
produces = "application/json"
Endpoint for getting an owner corresponding to the provided username
produces = "application/json" variables:
-
owner
: String - username of the owner
Endpoint for getting all usernames of all owners of git repositories in the database
produces = "application/json"
Endpoint for deleting all owners in the database
Endpoint for deleting all owners in the database
variables:
-
id
: String - id of the owner in the database
Endpoint for listing all GitRepository entities in the DB.
produces = "application/json"
Endpoint for listing the names of all GitRepositories stored in the DB.
produces = "application/json"
Endpoint for getting all repositories owned by a given owner
produces = "application/json" variables:
-
owner
: String - username of the owner
Endpoint for getting a Git repository given its name and the username of its owner
produces = "application/json" variables:
-
owner
: String - username of the owner -
repository
: String - name of the git repository
Endpoint for getting all branches given a Git repository and its owner
produces = "application/json" variables:
-
owner
: String - username of the owner -
repository
: String - name of the git repository
Endpoint for getting a branch entity given a Git repository, its owner and the name of the branch
produces = "application/json" variables:
-
owner
: String - username of the owner -
repository
: String - name of the git repository -
branch
: String - name of the branch
Endpoint for getting all snapshots given the name of a Git repository, the username of its owner and name of the branch
produces = "application/json" variables:
-
owner
: String - username of the owner -
repository
: String - name of the git repository -
branch
: String - name of the branch
Endpoint for getting a snapshot give the name of a Git repository, the username of its owner, name of branch and timestamp of request
produces = "application/json" variables:
-
owner
: String - username of the owner -
repository
: String - name of the git repository -
branch
: String - name of the branch -
timestamp
: String - time when ADA received request for the snapshot
api/v1/owners/{owner}/repositories/{repository}/branches/{branch}/snapshots/{timestamp}/project-structure
- POST
get ProjectStructure object given username, repository name, branch name and timestamp when ADA received request for the snapshot
produces = "application/json" variables:
-
owner
: String - username of the owner -
repository
: String - name of the git repository -
branch
: String - name of the branch -
timestamp
: String - time when ADA received request for the snapshot