API ReferenceGit
List repositories
List repositories with metadata.
Query Parameters
limit?integer
Maximum number of repositories to return
Format
int64Range
0 <= valueoffset?integer
Offset for the list of repositories
Format
int64Range
0 <= valueResponse Body
application/json
application/json
curl -X GET "https://api.freestyle.sh/git/v1/repo"{
"repositories": [
{
"branches": {
"property1": {
"default": true,
"name": "string",
"target": "string"
},
"property2": {
"default": true,
"name": "string",
"target": "string"
}
},
"tags": {
"property1": {
"name": "string",
"target": "string",
"message": "string"
},
"property2": {
"name": "string",
"target": "string",
"message": "string"
}
},
"defaultBranch": "string"
}
],
"total": 0,
"offset": 0
}{
"error": "string",
"message": "string"
}