跳转到内容
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
This is the documentation of the next version, still under development. See the latest release.

Get a global runner

GET
/admin/actions/runners/{runner_id}
curl --request GET \
--url https://gitea.com/api/v1/admin/actions/runners/example \
--header 'Authorization: Basic <credentials>'
runner_id
required
string

Id of the runner

Runner

Media typeapplication/json

ActionRunner represents a Runner

object
busy
boolean
disabled
boolean
ephemeral
boolean
id
integer format: int64
labels
Array<object>

ActionRunnerLabel represents a Runner Label

object
id
integer format: int64
name
string
type
string
name
string
status
string
Examplegenerated
{
"busy": true,
"disabled": true,
"ephemeral": true,
"id": 1,
"labels": [
{
"id": 1,
"name": "example",
"type": "example"
}
],
"name": "example",
"status": "example"
}

APIError is error format response

Media typeapplication/json
message
string
url
string

APINotFound is a not found empty response

Media typeapplication/json