cluster_agents
List all agents
Lists all agents registered for the project. You must have the Developer, Maintainer, or Owner role to use this endpoint.
get/api/v4/projects/{id}/cluster_agents
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID or URL-encoded path of the project
Query parameters
pageinteger
Current page number
per_pageinteger
Number of items per page
Response
List all agents
Example response
{
"id": 1,
"config_project": {
"id": 1,
"description": "desc",
"name": "project1",
"name_with_namespace": "John Doe / project1",
"path": "project1",
"path_with_namespace": "namespace1/project1",
"created_at": "2020-05-07T04:27:17.016Z"
},
"created_by_user_id": 1
}Changes
No recorded changes to this operation across all 5 revisions of this API.