List Repository List
GET/code/api/v1/repositories
Retrieve a list of integrated repositories. each repository item includes: id, repoName, source, owner, isPublic, creationDate
Request
Query Parameters
errorsCount string
Responses
- 200
- 422
- 500
repositories for customer
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- Array [
- ]
creationDate string
defaultBranch string
description string
errors double
id stringrequired
isPublic boolean
lastScanDate string
owner stringrequired
repository stringrequired
runs doublerequired
source stringrequired
url string
[
{
"creationDate": "string",
"defaultBranch": "string",
"description": "string",
"errors": 0,
"id": "string",
"isPublic": true,
"lastScanDate": "string",
"owner": "string",
"repository": "string",
"runs": 0,
"source": "string",
"url": "string"
}
]
[
{
"creationDate": "2022-02-21T12:37:56.188Z",
"defaultBranch": "master",
"description": "description",
"errors": null,
"id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
"isPublic": false,
"lastScanDate": null,
"owner": "yourname",
"repository": "foo",
"runs": 0,
"source": "Github"
},
{
"creationDate": "2022-02-21T09:26:22.848Z",
"defaultBranch": "master",
"errors": 343,
"id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
"isPublic": false,
"lastScanDate": "2022-02-21T09:26:43.945Z",
"owner": "yourname",
"repository": "terragoat",
"runs": 2,
"source": "Github"
}
]
Request arguments validation error
Could not fetch Repositories for customer
Loading...