Skip to content

List references​

GET
/api/v1/git/references

List all references in the repository, optionally filtered by a glob pattern and type.

Parameters​

Query Parameters

filter

String filter against with the reference name

Typestring
include

Reference kinds to include, mutually exclusive with exclude

Typearray
minItems1
exclude

Reference kinds to exclude, mutually exclusive with include

Typearray
minItems1

Responses​

List of references

application/json
JSON
{
"references": [
{
"kind": "string",
"name": "string",
"target": {
"author": {
"email": "string",
"name": "string"
},
"body": "string",
"committer": {
"email": "string",
"name": "string"
},
"id": "string",
"summary": "string",
"time": "string"
}
}
]
}

Samples​