DevArmor Repositories API
The repositories API from DevArmor — 12 operation(s) for repositories.
Operations 22
DELETE
/projects/{project_id}/threat-models/{threat_model_id}/versions/{version}/repo/sections/{section_id}
Detach a section of a repository from a threat model version
#
GET
/projects/{project_id}/threat-models/{threat_model_id}/versions/{version}/repo/sections/{repo_address}
List sections of a repository attached to a threat model version
#
POST
/projects/{project_id}/threat-models/{threat_model_id}/versions/{version}/repo/sections/{repo_address}
Attach a section of a repository to a threat model version
#
GET
/available-repos/contents/{repo_addr}
Get contents of an available repository from integrations (e.g Github)
#
GET
/available-repos/{repo_addr}
Get an available repository from integrations (e.g. GitHub, GitLab)
#
GET
/projects/{project_id}/threat-models/{threat_model_id}/versions/{version}/repos
List repositories in a threat model version
#
POST
/projects/{project_id}/threat-models/{threat_model_id}/versions/{version}/repos
Create a new repository in a threat model version
#
GET
/projects/{project_id}/threat-models/{threat_model_id}/versions/{version}/repo/{repo_address}
Get a repository from a threat model version
#
PUT
/projects/{project_id}/threat-models/{threat_model_id}/versions/{version}/repo/{repo_address}
Update a repository in a threat model version
#
DELETE
/projects/{project_id}/threat-models/{threat_model_id}/versions/{version}/repo/{repo_address}
Delete a repository from a threat model version
#