Download OpenAPI specification:Download
Woodpecker is a simple, yet powerful CI/CD engine with great extensibility. To get a personal access token (PAT) for authentication, please log in your Woodpecker server, and go to you personal profile page, by clicking the user icon at the top right.
| page | integer Default: 1 for response pagination, page offset number |
| perPage | integer Default: 50 for response pagination, max items per page |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "backend": "string",
- "capacity": 0,
- "created": 0,
- "custom_labels": {
- "property1": "string",
- "property2": "string"
}, - "filters": {
- "property1": "string",
- "property2": "string"
}, - "id": 0,
- "last_contact": 0,
- "last_work": 0,
- "name": "string",
- "no_schedule": true,
- "org_id": 0,
- "owner_id": 0,
- "platform": "string",
- "token": "string",
- "updated": 0,
- "version": "string"
}
]Creates a new agent with a random token
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the agent's data (only 'name', 'no_schedule' and 'filters' are read)
| backend | string |
| capacity | integer |
| created | integer |
object | |
object Server side enforced agent filters | |
| id | integer |
| last_contact | integer |
| last_work | integer last time the agent did something, this value is used to determine if the agent is still doing work used by the autoscaler |
| name | string |
| no_schedule | boolean |
| org_id | integer OrgID is counted as unset if set to -1, this is done to ensure a new(Agent) still enforce the OrgID check by default |
| owner_id | integer |
| platform | string |
| token | string |
| updated | integer |
| version | string |
{- "backend": "string",
- "capacity": 0,
- "created": 0,
- "custom_labels": {
- "property1": "string",
- "property2": "string"
}, - "filters": {
- "property1": "string",
- "property2": "string"
}, - "id": 0,
- "last_contact": 0,
- "last_work": 0,
- "name": "string",
- "no_schedule": true,
- "org_id": 0,
- "owner_id": 0,
- "platform": "string",
- "token": "string",
- "updated": 0,
- "version": "string"
}| agent_id required | integer the agent's id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "backend": "string",
- "capacity": 0,
- "created": 0,
- "custom_labels": {
- "property1": "string",
- "property2": "string"
}, - "filters": {
- "property1": "string",
- "property2": "string"
}, - "id": 0,
- "last_contact": 0,
- "last_work": 0,
- "name": "string",
- "no_schedule": true,
- "org_id": 0,
- "owner_id": 0,
- "platform": "string",
- "token": "string",
- "updated": 0,
- "version": "string"
}| agent_id required | integer the agent's id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the agent's data
| backend | string |
| capacity | integer |
| created | integer |
object | |
object Server side enforced agent filters | |
| id | integer |
| last_contact | integer |
| last_work | integer last time the agent did something, this value is used to determine if the agent is still doing work used by the autoscaler |
| name | string |
| no_schedule | boolean |
| org_id | integer OrgID is counted as unset if set to -1, this is done to ensure a new(Agent) still enforce the OrgID check by default |
| owner_id | integer |
| platform | string |
| token | string |
| updated | integer |
| version | string |
{- "backend": "string",
- "capacity": 0,
- "created": 0,
- "custom_labels": {
- "property1": "string",
- "property2": "string"
}, - "filters": {
- "property1": "string",
- "property2": "string"
}, - "id": 0,
- "last_contact": 0,
- "last_work": 0,
- "name": "string",
- "no_schedule": true,
- "org_id": 0,
- "owner_id": 0,
- "platform": "string",
- "token": "string",
- "updated": 0,
- "version": "string"
}| agent_id required | integer the agent's id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "agent_id": 0,
- "concurrency_group": "string",
- "concurrency_limit": 0,
- "created": 0,
- "dep_status": {
- "property1": "skipped",
- "property2": "skipped"
}, - "dependencies": [
- "string"
], - "id": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "repo_id": 0,
- "run_on": [
- "string"
]
}
]| org_id required | integer the organization's id |
| page | integer Default: 1 for response pagination, page offset number |
| perPage | integer Default: 50 for response pagination, max items per page |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "backend": "string",
- "capacity": 0,
- "created": 0,
- "custom_labels": {
- "property1": "string",
- "property2": "string"
}, - "filters": {
- "property1": "string",
- "property2": "string"
}, - "id": 0,
- "last_contact": 0,
- "last_work": 0,
- "name": "string",
- "no_schedule": true,
- "org_id": 0,
- "owner_id": 0,
- "platform": "string",
- "token": "string",
- "updated": 0,
- "version": "string"
}
]Creates a new agent with a random token, scoped to the specified organization
| org_id required | integer the organization's id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the agent's data (only 'name', 'no_schedule' and 'filters' are read)
| backend | string |
| capacity | integer |
| created | integer |
object | |
object Server side enforced agent filters | |
| id | integer |
| last_contact | integer |
| last_work | integer last time the agent did something, this value is used to determine if the agent is still doing work used by the autoscaler |
| name | string |
| no_schedule | boolean |
| org_id | integer OrgID is counted as unset if set to -1, this is done to ensure a new(Agent) still enforce the OrgID check by default |
| owner_id | integer |
| platform | string |
| token | string |
| updated | integer |
| version | string |
{- "backend": "string",
- "capacity": 0,
- "created": 0,
- "custom_labels": {
- "property1": "string",
- "property2": "string"
}, - "filters": {
- "property1": "string",
- "property2": "string"
}, - "id": 0,
- "last_contact": 0,
- "last_work": 0,
- "name": "string",
- "no_schedule": true,
- "org_id": 0,
- "owner_id": 0,
- "platform": "string",
- "token": "string",
- "updated": 0,
- "version": "string"
}| org_id required | integer the organization's id |
| agent_id required | integer the agent's id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the agent's updated data
| backend | string |
| capacity | integer |
| created | integer |
object | |
object Server side enforced agent filters | |
| id | integer |
| last_contact | integer |
| last_work | integer last time the agent did something, this value is used to determine if the agent is still doing work used by the autoscaler |
| name | string |
| no_schedule | boolean |
| org_id | integer OrgID is counted as unset if set to -1, this is done to ensure a new(Agent) still enforce the OrgID check by default |
| owner_id | integer |
| platform | string |
| token | string |
| updated | integer |
| version | string |
{- "backend": "string",
- "capacity": 0,
- "created": 0,
- "custom_labels": {
- "property1": "string",
- "property2": "string"
}, - "filters": {
- "property1": "string",
- "property2": "string"
}, - "id": 0,
- "last_contact": 0,
- "last_work": 0,
- "name": "string",
- "no_schedule": true,
- "org_id": 0,
- "owner_id": 0,
- "platform": "string",
- "token": "string",
- "updated": 0,
- "version": "string"
}CCMenu displays the pipeline status of projects on a CI server as an item in the Mac's menu bar. More details on how to install, you can find at http://ccmenu.org/ The response format adheres to CCTray v1 Specification, https://cctray.org/v1/
| repo_id required | integer the repository id |
Only available, when server was started with WOODPECKER_LOG_LEVEL=debug
| debug | integer Default: 1 Use debug=2 as a query parameter to export in the same format as an un-recovered panic |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
Only available, when server was started with WOODPECKER_LOG_LEVEL=debug
| gc | string Default: "" You can specify gc=heap to run GC before taking the heap sample |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
Only available, when server was started with WOODPECKER_LOG_LEVEL=debug After you get the profile file, use the go tool pprof command to investigate the profile.
| seconds required | integer You can specify the duration in the seconds GET parameter. |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
Only available, when server was started with WOODPECKER_LOG_LEVEL=debug Looks up the program counters listed in the request, responding with a table mapping program counters to function names. The requested program counters can be provided via GET + query parameters, or POST + body parameters. Program counters shall be space delimited.
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
Only available, when server was started with WOODPECKER_LOG_LEVEL=debug Looks up the program counters listed in the request, responding with a table mapping program counters to function names. The requested program counters can be provided via GET + query parameters, or POST + body parameters. Program counters shall be space delimited.
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
Only available, when server was started with WOODPECKER_LOG_LEVEL=debug After you get the profile file, use the go tool pprof command to investigate the profile.
| seconds required | integer You can specify the duration in the seconds GET parameter. |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
| page | integer Default: 1 for response pagination, page offset number |
| perPage | integer Default: 50 for response pagination, max items per page |
| Authorization | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "additional_options": {
- "property1": null,
- "property2": null
}, - "client": "string",
- "id": 0,
- "name": "string",
- "oauth_host": "string",
- "orgs": [
- "string"
], - "skip_verify": true,
- "type": "github",
- "url": "string"
}
]Creates a new forge with a random token
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the forge's data (only 'name' and 'no_schedule' are read)
object | |
| client | string |
| id | integer |
| name | string |
| oauth_client_secret | string |
| oauth_host | string public url for oauth if different from url |
| orgs | Array of strings members of those orgs may log in using this forge, in addition to the globally allowed ones |
| skip_verify | boolean |
| type | string (model.ForgeType) Enum: "github" "gitlab" "gitea" "forgejo" "bitbucket" "bitbucket-dc" "addon" |
| url | string |
{- "additional_options": {
- "property1": null,
- "property2": null
}, - "client": "string",
- "id": 0,
- "name": "string",
- "oauth_host": "string",
- "orgs": [
- "string"
], - "skip_verify": true,
- "type": "github",
- "url": "string"
}| forge_id required | integer the forge's id |
| Authorization | string Default: Bearer <personal access token> Insert your personal access token |
{- "additional_options": {
- "property1": null,
- "property2": null
}, - "client": "string",
- "id": 0,
- "name": "string",
- "oauth_host": "string",
- "orgs": [
- "string"
], - "skip_verify": true,
- "type": "github",
- "url": "string"
}| forge_id required | integer the forge's id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the forge's data
object | |
| client | string |
| id | integer |
| name | string |
| oauth_client_secret | string |
| oauth_host | string public url for oauth if different from url |
| orgs | Array of strings members of those orgs may log in using this forge, in addition to the globally allowed ones |
| skip_verify | boolean |
| type | string (model.ForgeType) Enum: "github" "gitlab" "gitea" "forgejo" "bitbucket" "bitbucket-dc" "addon" |
| url | string |
{- "additional_options": {
- "property1": null,
- "property2": null
}, - "client": "string",
- "id": 0,
- "name": "string",
- "oauth_host": "string",
- "orgs": [
- "string"
], - "skip_verify": true,
- "type": "github",
- "url": "string"
}Endpoint sets the current logging level. Requires admin rights.
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the new log level, one of <debug,trace,info,warn,error,fatal,panic,disabled>
| log-level | string |
{- "log-level": "string"
}Returns all registered orgs in the system. Requires admin rights.
| page | integer Default: 1 for response pagination, page offset number |
| perPage | integer Default: 50 for response pagination, max items per page |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "forge_id": 0,
- "id": 0,
- "is_user": true,
- "name": "string",
- "require_org_agents": true
}
]| org_full_name required | string the organizations full name / slug |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "forge_id": 0,
- "id": 0,
- "is_user": true,
- "name": "string",
- "require_org_agents": true
}| org_id required | string the organization's id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "forge_id": 0,
- "id": 0,
- "is_user": true,
- "name": "string",
- "require_org_agents": true
}
]| org_id required | string the organization's id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the org's updated data
| require_org_agents | boolean |
{- "forge_id": 0,
- "id": 0,
- "is_user": true,
- "name": "string",
- "require_org_agents": true
}| org_id required | string the organization's id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "admin": true,
- "member": true
}
]| org_id required | string the org's id |
| page | integer Default: 1 for response pagination, page offset number |
| perPage | integer Default: 50 for response pagination, max items per page |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "address": "string",
- "id": 0,
- "org_id": 0,
- "password": "string",
- "readonly": true,
- "repo_id": 0,
- "username": "string"
}
]| org_id required | string the org's id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the new registry
| address | string |
| id | integer |
| org_id | integer |
| password | string |
| readonly | boolean |
| repo_id | integer |
| username | string |
{- "address": "string",
- "id": 0,
- "org_id": 0,
- "password": "string",
- "readonly": true,
- "repo_id": 0,
- "username": "string"
}| org_id required | string the org's id |
| registry required | string the registry's address |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "address": "string",
- "id": 0,
- "org_id": 0,
- "password": "string",
- "readonly": true,
- "repo_id": 0,
- "username": "string"
}| org_id required | string the org's id |
| registry required | string the registry's name |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the update registry data
| address | string |
| id | integer |
| org_id | integer |
| password | string |
| readonly | boolean |
| repo_id | integer |
| username | string |
{- "address": "string",
- "id": 0,
- "org_id": 0,
- "password": "string",
- "readonly": true,
- "repo_id": 0,
- "username": "string"
}| org_id required | string the org's id |
| page | integer Default: 1 for response pagination, page offset number |
| perPage | integer Default: 50 for response pagination, max items per page |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "events": [
- "push"
], - "id": 0,
- "images": [
- "string"
], - "name": "string",
- "note": "string",
- "org_id": 0,
- "repo_id": 0,
- "value": "string"
}
]| org_id required | string the org's id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the new secret
| events | Array of strings (WebhookEvent) Items Enum: "push" "pull_request" "pull_request_closed" "pull_request_metadata" "tag" "release" "deployment" "cron" "manual" |
| id | integer |
| images | Array of strings |
| name | string |
| note | string |
| org_id | integer |
| repo_id | integer |
| value | string |
{- "events": [
- "push"
], - "id": 0,
- "images": [
- "string"
], - "name": "string",
- "note": "string",
- "org_id": 0,
- "repo_id": 0,
- "value": "string"
}| org_id required | string the org's id |
| secret required | string the secret's name |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "events": [
- "push"
], - "id": 0,
- "images": [
- "string"
], - "name": "string",
- "note": "string",
- "org_id": 0,
- "repo_id": 0,
- "value": "string"
}| org_id required | string the org's id |
| secret required | string the secret's name |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the update secret data
| events | Array of strings (WebhookEvent) Items Enum: "push" "pull_request" "pull_request_closed" "pull_request_metadata" "tag" "release" "deployment" "cron" "manual" |
| images | Array of strings |
| name | string |
| note | string |
| value | string |
{- "events": [
- "push"
], - "id": 0,
- "images": [
- "string"
], - "name": "string",
- "note": "string",
- "org_id": 0,
- "repo_id": 0,
- "value": "string"
}| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "author": "string",
- "author_avatar": "string",
- "author_email": "string",
- "branch": "string",
- "commit": "string",
- "created": 0,
- "event": "push",
- "finished": 0,
- "full_name": "string",
- "id": 0,
- "message": "string",
- "number": 0,
- "ref": "string",
- "refspec": "string",
- "release": {
- "is_prerelease": true,
- "title": "string"
}, - "repo_id": 0,
- "started": 0,
- "status": "string",
- "tag_title": "string",
- "title": "string"
}
]Returns pipeline queue information with agent details
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "paused": true,
- "pending": [
- {
- "agent_id": 0,
- "agent_name": "string",
- "concurrency_group": "string",
- "concurrency_limit": 0,
- "created": 0,
- "dep_status": {
- "property1": "skipped",
- "property2": "skipped"
}, - "dependencies": [
- "string"
], - "id": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "pipeline_number": 0,
- "repo_id": 0,
- "run_on": [
- "string"
]
}
], - "running": [
- {
- "agent_id": 0,
- "agent_name": "string",
- "concurrency_group": "string",
- "concurrency_limit": 0,
- "created": 0,
- "dep_status": {
- "property1": "skipped",
- "property2": "skipped"
}, - "dependencies": [
- "string"
], - "id": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "pipeline_number": 0,
- "repo_id": 0,
- "run_on": [
- "string"
]
}
], - "stats": {
- "pending_count": 0,
- "running_count": 0,
- "waiting_on_deps_count": 0,
- "worker_count": 0
}, - "waiting_on_deps": [
- {
- "agent_id": 0,
- "agent_name": "string",
- "concurrency_group": "string",
- "concurrency_limit": 0,
- "created": 0,
- "dep_status": {
- "property1": "skipped",
- "property2": "skipped"
}, - "dependencies": [
- "string"
], - "id": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "pipeline_number": 0,
- "repo_id": 0,
- "run_on": [
- "string"
]
}
]
}| page | integer Default: 1 for response pagination, page offset number |
| perPage | integer Default: 50 for response pagination, max items per page |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "address": "string",
- "id": 0,
- "org_id": 0,
- "password": "string",
- "readonly": true,
- "repo_id": 0,
- "username": "string"
}
]| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the registry object data
| address | string |
| id | integer |
| org_id | integer |
| password | string |
| readonly | boolean |
| repo_id | integer |
| username | string |
{- "address": "string",
- "id": 0,
- "org_id": 0,
- "password": "string",
- "readonly": true,
- "repo_id": 0,
- "username": "string"
}| registry required | string the registry's name |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "address": "string",
- "id": 0,
- "org_id": 0,
- "password": "string",
- "readonly": true,
- "repo_id": 0,
- "username": "string"
}| registry required | string the registry's name |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the registry's data
| address | string |
| id | integer |
| org_id | integer |
| password | string |
| readonly | boolean |
| repo_id | integer |
| username | string |
{- "address": "string",
- "id": 0,
- "org_id": 0,
- "password": "string",
- "readonly": true,
- "repo_id": 0,
- "username": "string"
}Returns a list of all repositories. Requires admin rights.
| active | boolean only list active repos |
| page | integer Default: 1 for response pagination, page offset number |
| perPage | integer Default: 50 for response pagination, max items per page |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "active": true,
- "allow_deploy": true,
- "allow_pr": true,
- "approval_allowed_users": [
- "string"
], - "avatar_url": "string",
- "cancel_previous_pipeline_events": [
- "push"
], - "clone_url": "string",
- "clone_url_ssh": "string",
- "config_extension_endpoint": "string",
- "config_extension_exclusive": true,
- "config_extension_netrc": true,
- "config_file": "string",
- "default_branch": "string",
- "forge_id": 0,
- "forge_remote_id": "string",
- "forge_url": "string",
- "full_name": "string",
- "has_forge_name_conflict": true,
- "has_no_forge_repo": true,
- "id": 0,
- "name": "string",
- "netrc_trusted": [
- "string"
], - "org_id": 0,
- "owner": "string",
- "pr_enabled": true,
- "private": true,
- "registry_extension_endpoint": "string",
- "registry_extension_netrc": true,
- "require_approval": "none",
- "secret_extension_endpoint": "string",
- "secret_extension_netrc": true,
- "timeout": 0,
- "trusted": {
- "network": true,
- "security": true,
- "volumes": true
}, - "visibility": "public",
- "visibility_sync": true
}
]| forge_remote_id required | string the id of a repository at the forge |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "active": true,
- "allow_deploy": true,
- "allow_pr": true,
- "approval_allowed_users": [
- "string"
], - "avatar_url": "string",
- "cancel_previous_pipeline_events": [
- "push"
], - "clone_url": "string",
- "clone_url_ssh": "string",
- "config_extension_endpoint": "string",
- "config_extension_exclusive": true,
- "config_extension_netrc": true,
- "config_file": "string",
- "default_branch": "string",
- "forge_id": 0,
- "forge_remote_id": "string",
- "forge_url": "string",
- "full_name": "string",
- "has_forge_name_conflict": true,
- "has_no_forge_repo": true,
- "id": 0,
- "name": "string",
- "netrc_trusted": [
- "string"
], - "org_id": 0,
- "owner": "string",
- "pr_enabled": true,
- "private": true,
- "registry_extension_endpoint": "string",
- "registry_extension_netrc": true,
- "require_approval": "none",
- "secret_extension_endpoint": "string",
- "secret_extension_netrc": true,
- "timeout": 0,
- "trusted": {
- "network": true,
- "security": true,
- "volumes": true
}, - "visibility": "public",
- "visibility_sync": true
}| repo_full_name required | string the repository full name / slug |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "active": true,
- "allow_deploy": true,
- "allow_pr": true,
- "approval_allowed_users": [
- "string"
], - "avatar_url": "string",
- "cancel_previous_pipeline_events": [
- "push"
], - "clone_url": "string",
- "clone_url_ssh": "string",
- "config_extension_endpoint": "string",
- "config_extension_exclusive": true,
- "config_extension_netrc": true,
- "config_file": "string",
- "default_branch": "string",
- "forge_id": 0,
- "forge_remote_id": "string",
- "forge_url": "string",
- "full_name": "string",
- "has_forge_name_conflict": true,
- "has_no_forge_repo": true,
- "id": 0,
- "name": "string",
- "netrc_trusted": [
- "string"
], - "org_id": 0,
- "owner": "string",
- "pr_enabled": true,
- "private": true,
- "registry_extension_endpoint": "string",
- "registry_extension_netrc": true,
- "require_approval": "none",
- "secret_extension_endpoint": "string",
- "secret_extension_netrc": true,
- "timeout": 0,
- "trusted": {
- "network": true,
- "security": true,
- "volumes": true
}, - "visibility": "public",
- "visibility_sync": true
}| repo_id required | integer the repository id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "active": true,
- "allow_deploy": true,
- "allow_pr": true,
- "approval_allowed_users": [
- "string"
], - "avatar_url": "string",
- "cancel_previous_pipeline_events": [
- "push"
], - "clone_url": "string",
- "clone_url_ssh": "string",
- "config_extension_endpoint": "string",
- "config_extension_exclusive": true,
- "config_extension_netrc": true,
- "config_file": "string",
- "default_branch": "string",
- "forge_id": 0,
- "forge_remote_id": "string",
- "forge_url": "string",
- "full_name": "string",
- "has_forge_name_conflict": true,
- "has_no_forge_repo": true,
- "id": 0,
- "name": "string",
- "netrc_trusted": [
- "string"
], - "org_id": 0,
- "owner": "string",
- "pr_enabled": true,
- "private": true,
- "registry_extension_endpoint": "string",
- "registry_extension_netrc": true,
- "require_approval": "none",
- "secret_extension_endpoint": "string",
- "secret_extension_netrc": true,
- "timeout": 0,
- "trusted": {
- "network": true,
- "security": true,
- "volumes": true
}, - "visibility": "public",
- "visibility_sync": true
}| repo_id required | integer the repository id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "active": true,
- "allow_deploy": true,
- "allow_pr": true,
- "approval_allowed_users": [
- "string"
], - "avatar_url": "string",
- "cancel_previous_pipeline_events": [
- "push"
], - "clone_url": "string",
- "clone_url_ssh": "string",
- "config_extension_endpoint": "string",
- "config_extension_exclusive": true,
- "config_extension_netrc": true,
- "config_file": "string",
- "default_branch": "string",
- "forge_id": 0,
- "forge_remote_id": "string",
- "forge_url": "string",
- "full_name": "string",
- "has_forge_name_conflict": true,
- "has_no_forge_repo": true,
- "id": 0,
- "name": "string",
- "netrc_trusted": [
- "string"
], - "org_id": 0,
- "owner": "string",
- "pr_enabled": true,
- "private": true,
- "registry_extension_endpoint": "string",
- "registry_extension_netrc": true,
- "require_approval": "none",
- "secret_extension_endpoint": "string",
- "secret_extension_netrc": true,
- "timeout": 0,
- "trusted": {
- "network": true,
- "security": true,
- "volumes": true
}, - "visibility": "public",
- "visibility_sync": true
}| repo_id required | integer the repository id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the repository's information
| allow_deploy | boolean |
| allow_pr | boolean |
| approval_allowed_users | Array of strings |
| cancel_previous_pipeline_events | Array of strings (WebhookEvent) Items Enum: "push" "pull_request" "pull_request_closed" "pull_request_metadata" "tag" "release" "deployment" "cron" "manual" |
| config_extension_endpoint | string |
| config_extension_exclusive | boolean |
| config_extension_netrc | boolean |
| config_file | string |
| netrc_trusted | Array of strings |
| registry_extension_endpoint | string |
| registry_extension_netrc | boolean |
| require_approval | string |
| secret_extension_endpoint | string |
| secret_extension_netrc | boolean |
| timeout | integer |
object (model.TrustedConfigurationPatch) | |
| visibility | string |
| visibility_sync | boolean |
{- "active": true,
- "allow_deploy": true,
- "allow_pr": true,
- "approval_allowed_users": [
- "string"
], - "avatar_url": "string",
- "cancel_previous_pipeline_events": [
- "push"
], - "clone_url": "string",
- "clone_url_ssh": "string",
- "config_extension_endpoint": "string",
- "config_extension_exclusive": true,
- "config_extension_netrc": true,
- "config_file": "string",
- "default_branch": "string",
- "forge_id": 0,
- "forge_remote_id": "string",
- "forge_url": "string",
- "full_name": "string",
- "has_forge_name_conflict": true,
- "has_no_forge_repo": true,
- "id": 0,
- "name": "string",
- "netrc_trusted": [
- "string"
], - "org_id": 0,
- "owner": "string",
- "pr_enabled": true,
- "private": true,
- "registry_extension_endpoint": "string",
- "registry_extension_netrc": true,
- "require_approval": "none",
- "secret_extension_endpoint": "string",
- "secret_extension_netrc": true,
- "timeout": 0,
- "trusted": {
- "network": true,
- "security": true,
- "volumes": true
}, - "visibility": "public",
- "visibility_sync": true
}| repo_id required | integer the repository id |
| page | integer Default: 1 for response pagination, page offset number |
| perPage | integer Default: 50 for response pagination, max items per page |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- "string"
]| repo_id required | integer the repository id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "active": true,
- "allow_deploy": true,
- "allow_pr": true,
- "approval_allowed_users": [
- "string"
], - "avatar_url": "string",
- "cancel_previous_pipeline_events": [
- "push"
], - "clone_url": "string",
- "clone_url_ssh": "string",
- "config_extension_endpoint": "string",
- "config_extension_exclusive": true,
- "config_extension_netrc": true,
- "config_file": "string",
- "default_branch": "string",
- "forge_id": 0,
- "forge_remote_id": "string",
- "forge_url": "string",
- "full_name": "string",
- "has_forge_name_conflict": true,
- "has_no_forge_repo": true,
- "id": 0,
- "name": "string",
- "netrc_trusted": [
- "string"
], - "org_id": 0,
- "owner": "string",
- "pr_enabled": true,
- "private": true,
- "registry_extension_endpoint": "string",
- "registry_extension_netrc": true,
- "require_approval": "none",
- "secret_extension_endpoint": "string",
- "secret_extension_netrc": true,
- "timeout": 0,
- "trusted": {
- "network": true,
- "security": true,
- "volumes": true
}, - "visibility": "public",
- "visibility_sync": true
}The repository permission, according to the used access token.
| repo_id required | integer the repository id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "admin": true,
- "created": 0,
- "pull": true,
- "push": true,
- "synced": 0,
- "updated": 0
}| repo_id required | integer the repository id |
| page | integer Default: 1 for response pagination, page offset number |
| perPage | integer Default: 50 for response pagination, max items per page |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "index": "string",
- "title": "string"
}
]| repo_id required | integer the repository id |
| page | integer Default: 1 for response pagination, page offset number |
| perPage | integer Default: 50 for response pagination, max items per page |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "branch": "string",
- "created": 0,
- "creator_id": 0,
- "enabled": true,
- "id": 0,
- "name": "string",
- "next_exec": 0,
- "repo_id": 0,
- "schedule": "string",
- "timezone": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}
]| repo_id required | integer the repository id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the new cron job
| branch | string |
| created | integer |
| creator_id | integer TODO: drop with next major version |
| enabled | boolean |
| id | integer |
| name | string |
| next_exec | integer |
| repo_id | integer |
| schedule | string @weekly, 3min, ... |
| timezone | string |
object |
{- "branch": "string",
- "created": 0,
- "creator_id": 0,
- "enabled": true,
- "id": 0,
- "name": "string",
- "next_exec": 0,
- "repo_id": 0,
- "schedule": "string",
- "timezone": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}| repo_id required | integer the repository id |
| cron required | string the cron job id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "branch": "string",
- "created": 0,
- "creator_id": 0,
- "enabled": true,
- "id": 0,
- "name": "string",
- "next_exec": 0,
- "repo_id": 0,
- "schedule": "string",
- "timezone": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}| repo_id required | integer the repository id |
| cron required | string the cron job id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the cron job data
| branch | string |
| enabled | boolean |
| name | string |
| schedule | string |
| timezone | string |
object |
{- "branch": "string",
- "created": 0,
- "creator_id": 0,
- "enabled": true,
- "id": 0,
- "name": "string",
- "next_exec": 0,
- "repo_id": 0,
- "schedule": "string",
- "timezone": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}| repo_id required | integer the repository id |
| cron required | string the cron job id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "author": "string",
- "author_avatar": "string",
- "author_email": "string",
- "branch": "string",
- "cancel_info": {
- "canceled_by_step": "string",
- "canceled_by_user": "string",
- "superseded_by": 0
}, - "changed_files": [
- "string"
], - "commit": "string",
- "created": 0,
- "cron": "string",
- "deploy_task": "string",
- "deploy_to": "string",
- "errors": [
- {
- "data": null,
- "is_warning": true,
- "message": "string",
- "type": "linter"
}
], - "event": "push",
- "event_reason": [
- "string"
], - "finished": 0,
- "forge_url": "string",
- "from_fork": true,
- "id": 0,
- "is_prerelease": true,
- "message": "string",
- "number": 0,
- "parent": 0,
- "pr_draft": true,
- "pr_labels": [
- "string"
], - "pr_milestone": "string",
- "ref": "string",
- "refspec": "string",
- "release": {
- "is_prerelease": true,
- "title": "string"
}, - "rerun_count": 0,
- "reviewed": 0,
- "reviewed_by": "string",
- "selected_workflow": "string",
- "sender": "string",
- "started": 0,
- "status": "skipped",
- "tag_title": "string",
- "timestamp": 0,
- "title": "string",
- "updated": 0,
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "version": "string",
- "workflows": [
- {
- "agent_id": 0,
- "children": [
- {
- "depends_on": [
- "string"
], - "error": "string",
- "exit_code": 0,
- "finished": 0,
- "id": 0,
- "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "ppid": 0,
- "started": 0,
- "state": "skipped",
- "type": "clone",
- "uuid": "string"
}
], - "depends_on": [
- "string"
], - "environ": {
- "property1": "string",
- "property2": "string"
}, - "error": "string",
- "finished": 0,
- "id": 0,
- "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "platform": "string",
- "started": 0,
- "state": "skipped"
}
]
}| repo_id required | integer the repository id |
| pipeline_number required | integer the number of the pipeline |
| step_id required | integer the step id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
| repo_id required | integer the repository id |
| pipeline_number required | integer the number of the pipeline |
| step_id required | integer the step id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "data": [
- 0
], - "id": 0,
- "line": 0,
- "step_id": 0,
- "time": 0,
- "type": 0
}
]| repo_id required | integer the repository id |
| pipeline_number required | integer the number of the pipeline |
| step_id required | integer the step id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
Get a list of pipelines for a repository.
| repo_id required | integer the repository id |
| page | integer Default: 1 for response pagination, page offset number |
| perPage | integer Default: 50 for response pagination, max items per page |
| before | string only return pipelines before this RFC3339 date |
| after | string only return pipelines after this RFC3339 date |
| branch | string filter pipelines by branch |
| event | string filter pipelines by webhook events (comma separated) |
| ref | string filter pipelines by strings contained in ref |
| status | string filter pipelines by status |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "author": "string",
- "author_avatar": "string",
- "author_email": "string",
- "branch": "string",
- "cancel_info": {
- "canceled_by_step": "string",
- "canceled_by_user": "string",
- "superseded_by": 0
}, - "changed_files": [
- "string"
], - "commit": "string",
- "created": 0,
- "cron": "string",
- "deploy_task": "string",
- "deploy_to": "string",
- "errors": [
- {
- "data": null,
- "is_warning": true,
- "message": "string",
- "type": "linter"
}
], - "event": "push",
- "event_reason": [
- "string"
], - "finished": 0,
- "forge_url": "string",
- "from_fork": true,
- "id": 0,
- "is_prerelease": true,
- "message": "string",
- "number": 0,
- "parent": 0,
- "pr_draft": true,
- "pr_labels": [
- "string"
], - "pr_milestone": "string",
- "ref": "string",
- "refspec": "string",
- "release": {
- "is_prerelease": true,
- "title": "string"
}, - "rerun_count": 0,
- "reviewed": 0,
- "reviewed_by": "string",
- "selected_workflow": "string",
- "sender": "string",
- "started": 0,
- "status": "skipped",
- "tag_title": "string",
- "timestamp": 0,
- "title": "string",
- "updated": 0,
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "version": "string",
- "workflows": [
- {
- "agent_id": 0,
- "children": [
- {
- "depends_on": [
- "string"
], - "error": "string",
- "exit_code": 0,
- "finished": 0,
- "id": 0,
- "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "ppid": 0,
- "started": 0,
- "state": "skipped",
- "type": "clone",
- "uuid": "string"
}
], - "depends_on": [
- "string"
], - "environ": {
- "property1": "string",
- "property2": "string"
}, - "error": "string",
- "finished": 0,
- "id": 0,
- "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "platform": "string",
- "started": 0,
- "state": "skipped"
}
]
}
]| repo_id required | integer the repository id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the options for the pipeline to run
| branch | string |
| message | string |
object | |
| workflow | string only run this workflow and its hard dependencies |
{- "author": "string",
- "author_avatar": "string",
- "author_email": "string",
- "branch": "string",
- "cancel_info": {
- "canceled_by_step": "string",
- "canceled_by_user": "string",
- "superseded_by": 0
}, - "changed_files": [
- "string"
], - "commit": "string",
- "created": 0,
- "cron": "string",
- "deploy_task": "string",
- "deploy_to": "string",
- "errors": [
- {
- "data": null,
- "is_warning": true,
- "message": "string",
- "type": "linter"
}
], - "event": "push",
- "event_reason": [
- "string"
], - "finished": 0,
- "forge_url": "string",
- "from_fork": true,
- "id": 0,
- "is_prerelease": true,
- "message": "string",
- "number": 0,
- "parent": 0,
- "pr_draft": true,
- "pr_labels": [
- "string"
], - "pr_milestone": "string",
- "ref": "string",
- "refspec": "string",
- "release": {
- "is_prerelease": true,
- "title": "string"
}, - "rerun_count": 0,
- "reviewed": 0,
- "reviewed_by": "string",
- "selected_workflow": "string",
- "sender": "string",
- "started": 0,
- "status": "skipped",
- "tag_title": "string",
- "timestamp": 0,
- "title": "string",
- "updated": 0,
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "version": "string",
- "workflows": [
- {
- "agent_id": 0,
- "children": [
- {
- "depends_on": [
- "string"
], - "error": "string",
- "exit_code": 0,
- "finished": 0,
- "id": 0,
- "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "ppid": 0,
- "started": 0,
- "state": "skipped",
- "type": "clone",
- "uuid": "string"
}
], - "depends_on": [
- "string"
], - "environ": {
- "property1": "string",
- "property2": "string"
}, - "error": "string",
- "finished": 0,
- "id": 0,
- "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "platform": "string",
- "started": 0,
- "state": "skipped"
}
]
}| repo_id required | integer the repository id |
| pipeline_number required | integer the number of the pipeline, OR 'latest' |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "author": "string",
- "author_avatar": "string",
- "author_email": "string",
- "branch": "string",
- "cancel_info": {
- "canceled_by_step": "string",
- "canceled_by_user": "string",
- "superseded_by": 0
}, - "changed_files": [
- "string"
], - "commit": "string",
- "created": 0,
- "cron": "string",
- "deploy_task": "string",
- "deploy_to": "string",
- "errors": [
- {
- "data": null,
- "is_warning": true,
- "message": "string",
- "type": "linter"
}
], - "event": "push",
- "event_reason": [
- "string"
], - "finished": 0,
- "forge_url": "string",
- "from_fork": true,
- "id": 0,
- "is_prerelease": true,
- "message": "string",
- "number": 0,
- "parent": 0,
- "pr_draft": true,
- "pr_labels": [
- "string"
], - "pr_milestone": "string",
- "ref": "string",
- "refspec": "string",
- "release": {
- "is_prerelease": true,
- "title": "string"
}, - "rerun_count": 0,
- "reviewed": 0,
- "reviewed_by": "string",
- "selected_workflow": "string",
- "sender": "string",
- "started": 0,
- "status": "skipped",
- "tag_title": "string",
- "timestamp": 0,
- "title": "string",
- "updated": 0,
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "version": "string",
- "workflows": [
- {
- "agent_id": 0,
- "children": [
- {
- "depends_on": [
- "string"
], - "error": "string",
- "exit_code": 0,
- "finished": 0,
- "id": 0,
- "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "ppid": 0,
- "started": 0,
- "state": "skipped",
- "type": "clone",
- "uuid": "string"
}
], - "depends_on": [
- "string"
], - "environ": {
- "property1": "string",
- "property2": "string"
}, - "error": "string",
- "finished": 0,
- "id": 0,
- "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "platform": "string",
- "started": 0,
- "state": "skipped"
}
]
}Restarts a pipeline optional with altered event, deploy or environment
| repo_id required | integer the repository id |
| pipeline_number required | integer the number of the pipeline |
| event | string override the event type |
| deploy_to | string override the target deploy value |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "author": "string",
- "author_avatar": "string",
- "author_email": "string",
- "branch": "string",
- "cancel_info": {
- "canceled_by_step": "string",
- "canceled_by_user": "string",
- "superseded_by": 0
}, - "changed_files": [
- "string"
], - "commit": "string",
- "created": 0,
- "cron": "string",
- "deploy_task": "string",
- "deploy_to": "string",
- "errors": [
- {
- "data": null,
- "is_warning": true,
- "message": "string",
- "type": "linter"
}
], - "event": "push",
- "event_reason": [
- "string"
], - "finished": 0,
- "forge_url": "string",
- "from_fork": true,
- "id": 0,
- "is_prerelease": true,
- "message": "string",
- "number": 0,
- "parent": 0,
- "pr_draft": true,
- "pr_labels": [
- "string"
], - "pr_milestone": "string",
- "ref": "string",
- "refspec": "string",
- "release": {
- "is_prerelease": true,
- "title": "string"
}, - "rerun_count": 0,
- "reviewed": 0,
- "reviewed_by": "string",
- "selected_workflow": "string",
- "sender": "string",
- "started": 0,
- "status": "skipped",
- "tag_title": "string",
- "timestamp": 0,
- "title": "string",
- "updated": 0,
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "version": "string",
- "workflows": [
- {
- "agent_id": 0,
- "children": [
- {
- "depends_on": [
- "string"
], - "error": "string",
- "exit_code": 0,
- "finished": 0,
- "id": 0,
- "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "ppid": 0,
- "started": 0,
- "state": "skipped",
- "type": "clone",
- "uuid": "string"
}
], - "depends_on": [
- "string"
], - "environ": {
- "property1": "string",
- "property2": "string"
}, - "error": "string",
- "finished": 0,
- "id": 0,
- "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "platform": "string",
- "started": 0,
- "state": "skipped"
}
]
}| repo_id required | integer the repository id |
| pipeline_number required | integer the number of the pipeline |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "author": "string",
- "author_avatar": "string",
- "author_email": "string",
- "branch": "string",
- "cancel_info": {
- "canceled_by_step": "string",
- "canceled_by_user": "string",
- "superseded_by": 0
}, - "changed_files": [
- "string"
], - "commit": "string",
- "created": 0,
- "cron": "string",
- "deploy_task": "string",
- "deploy_to": "string",
- "errors": [
- {
- "data": null,
- "is_warning": true,
- "message": "string",
- "type": "linter"
}
], - "event": "push",
- "event_reason": [
- "string"
], - "finished": 0,
- "forge_url": "string",
- "from_fork": true,
- "id": 0,
- "is_prerelease": true,
- "message": "string",
- "number": 0,
- "parent": 0,
- "pr_draft": true,
- "pr_labels": [
- "string"
], - "pr_milestone": "string",
- "ref": "string",
- "refspec": "string",
- "release": {
- "is_prerelease": true,
- "title": "string"
}, - "rerun_count": 0,
- "reviewed": 0,
- "reviewed_by": "string",
- "selected_workflow": "string",
- "sender": "string",
- "started": 0,
- "status": "skipped",
- "tag_title": "string",
- "timestamp": 0,
- "title": "string",
- "updated": 0,
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "version": "string",
- "workflows": [
- {
- "agent_id": 0,
- "children": [
- {
- "depends_on": [
- "string"
], - "error": "string",
- "exit_code": 0,
- "finished": 0,
- "id": 0,
- "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "ppid": 0,
- "started": 0,
- "state": "skipped",
- "type": "clone",
- "uuid": "string"
}
], - "depends_on": [
- "string"
], - "environ": {
- "property1": "string",
- "property2": "string"
}, - "error": "string",
- "finished": 0,
- "id": 0,
- "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "platform": "string",
- "started": 0,
- "state": "skipped"
}
]
}| repo_id required | integer the repository id |
| pipeline_number required | integer the number of the pipeline |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "data": [
- 0
], - "hash": "string",
- "name": "string"
}
]| repo_id required | integer the repository id |
| pipeline_number required | integer the number of the pipeline |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "author": "string",
- "author_avatar": "string",
- "author_email": "string",
- "branch": "string",
- "cancel_info": {
- "canceled_by_step": "string",
- "canceled_by_user": "string",
- "superseded_by": 0
}, - "changed_files": [
- "string"
], - "commit": "string",
- "created": 0,
- "cron": "string",
- "deploy_task": "string",
- "deploy_to": "string",
- "errors": [
- {
- "data": null,
- "is_warning": true,
- "message": "string",
- "type": "linter"
}
], - "event": "push",
- "event_reason": [
- "string"
], - "finished": 0,
- "forge_url": "string",
- "from_fork": true,
- "id": 0,
- "is_prerelease": true,
- "message": "string",
- "number": 0,
- "parent": 0,
- "pr_draft": true,
- "pr_labels": [
- "string"
], - "pr_milestone": "string",
- "ref": "string",
- "refspec": "string",
- "release": {
- "is_prerelease": true,
- "title": "string"
}, - "rerun_count": 0,
- "reviewed": 0,
- "reviewed_by": "string",
- "selected_workflow": "string",
- "sender": "string",
- "started": 0,
- "status": "skipped",
- "tag_title": "string",
- "timestamp": 0,
- "title": "string",
- "updated": 0,
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "version": "string",
- "workflows": [
- {
- "agent_id": 0,
- "children": [
- {
- "depends_on": [
- "string"
], - "error": "string",
- "exit_code": 0,
- "finished": 0,
- "id": 0,
- "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "ppid": 0,
- "started": 0,
- "state": "skipped",
- "type": "clone",
- "uuid": "string"
}
], - "depends_on": [
- "string"
], - "environ": {
- "property1": "string",
- "property2": "string"
}, - "error": "string",
- "finished": 0,
- "id": 0,
- "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "platform": "string",
- "started": 0,
- "state": "skipped"
}
]
}| repo_id required | integer the repository id |
| pipeline_number required | integer the number of the pipeline |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "curr": {
- "author": "string",
- "avatar": "string",
- "commit": {
- "author": {
- "email": "string",
- "name": "string"
}, - "branch": "string",
- "changed_files": [
- "string"
], - "draft": true,
- "labels": [
- "string"
], - "message": "string",
- "milestone": "string",
- "ref": "string",
- "refspec": "string",
- "sha": "string",
- "timestamp": 0
}, - "created": 0,
- "cron": "string",
- "event": "push",
- "event_reason": [
- "string"
], - "finished": 0,
- "forge_url": "string",
- "number": 0,
- "parent": 0,
- "release": {
- "is_prerelease": true,
- "title": "string"
}, - "rerun_count": 0,
- "started": 0,
- "status": "string",
- "target": "string",
- "task": "string"
}, - "forge": {
- "host": "string",
- "type": "string",
- "url": "string"
}, - "id": "string",
- "prev": {
- "author": "string",
- "avatar": "string",
- "commit": {
- "author": {
- "email": "string",
- "name": "string"
}, - "branch": "string",
- "changed_files": [
- "string"
], - "draft": true,
- "labels": [
- "string"
], - "message": "string",
- "milestone": "string",
- "ref": "string",
- "refspec": "string",
- "sha": "string",
- "timestamp": 0
}, - "created": 0,
- "cron": "string",
- "event": "push",
- "event_reason": [
- "string"
], - "finished": 0,
- "forge_url": "string",
- "number": 0,
- "parent": 0,
- "release": {
- "is_prerelease": true,
- "title": "string"
}, - "rerun_count": 0,
- "started": 0,
- "status": "string",
- "target": "string",
- "task": "string"
}, - "repo": {
- "clone_url": "string",
- "clone_url_ssh": "string",
- "default_branch": "string",
- "forge_url": "string",
- "id": 0,
- "name": "string",
- "org_id": 0,
- "owner": "string",
- "private": true,
- "remote_id": "string",
- "trusted": {
- "network": true,
- "security": true,
- "volumes": true
}
}, - "step": {
- "name": "string",
- "number": 0
}, - "sys": {
- "arch": "string",
- "host": "string",
- "name": "string",
- "url": "string",
- "version": "string"
}, - "workflow": {
- "matrix": {
- "property1": "string",
- "property2": "string"
}, - "name": "string",
- "number": 0
}
}Returns the snapshot of the agent taken when it got the workflow assigned, so it is also available after the agent got deleted. It holds no secrets, so every logged in user who can see the pipeline may read it.
| repo_id required | integer the repository id |
| pipeline_number required | integer the number of the pipeline |
| workflow_id required | integer the workflow id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "backend": "string",
- "custom_labels": {
- "property1": "string",
- "property2": "string"
}, - "id": 0,
- "name": "string",
- "org_id": 0,
- "platform": "string"
}Fetches the pipeline config of the branch head and lists the workflows that run on the manual event.
| repo_id required | integer the repository id |
| branch | string the branch to load the config from, defaults to the default branch |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "depends_on": [
- "string"
], - "name": "string"
}
]| repo_id required | integer the repository id |
| page | integer Default: 1 for response pagination, page offset number |
| perPage | integer Default: 50 for response pagination, max items per page |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "address": "string",
- "id": 0,
- "org_id": 0,
- "password": "string",
- "readonly": true,
- "repo_id": 0,
- "username": "string"
}
]| repo_id required | integer the repository id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the new registry data
| address | string |
| id | integer |
| org_id | integer |
| password | string |
| readonly | boolean |
| repo_id | integer |
| username | string |
{- "address": "string",
- "id": 0,
- "org_id": 0,
- "password": "string",
- "readonly": true,
- "repo_id": 0,
- "username": "string"
}| repo_id required | integer the repository id |
| registry required | string the registry name |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "address": "string",
- "id": 0,
- "org_id": 0,
- "password": "string",
- "readonly": true,
- "repo_id": 0,
- "username": "string"
}| repo_id required | integer the repository id |
| registry required | string the registry name |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the attributes for the registry
| address | string |
| id | integer |
| org_id | integer |
| password | string |
| readonly | boolean |
| repo_id | integer |
| username | string |
{- "address": "string",
- "id": 0,
- "org_id": 0,
- "password": "string",
- "readonly": true,
- "repo_id": 0,
- "username": "string"
}| repo_id required | integer the repository id |
| page | integer Default: 1 for response pagination, page offset number |
| perPage | integer Default: 50 for response pagination, max items per page |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "events": [
- "push"
], - "id": 0,
- "images": [
- "string"
], - "name": "string",
- "note": "string",
- "org_id": 0,
- "repo_id": 0,
- "value": "string"
}
]| repo_id required | integer the repository id |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the new secret
| events | Array of strings (WebhookEvent) Items Enum: "push" "pull_request" "pull_request_closed" "pull_request_metadata" "tag" "release" "deployment" "cron" "manual" |
| id | integer |
| images | Array of strings |
| name | string |
| note | string |
| org_id | integer |
| repo_id | integer |
| value | string |
{- "events": [
- "push"
], - "id": 0,
- "images": [
- "string"
], - "name": "string",
- "note": "string",
- "org_id": 0,
- "repo_id": 0,
- "value": "string"
}| repo_id required | integer the repository id |
| secretName required | string the secret name |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "events": [
- "push"
], - "id": 0,
- "images": [
- "string"
], - "name": "string",
- "note": "string",
- "org_id": 0,
- "repo_id": 0,
- "value": "string"
}| repo_id required | integer the repository id |
| secretName required | string the secret name |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the secret itself
| events | Array of strings (WebhookEvent) Items Enum: "push" "pull_request" "pull_request_closed" "pull_request_metadata" "tag" "release" "deployment" "cron" "manual" |
| images | Array of strings |
| name | string |
| note | string |
| value | string |
{- "events": [
- "push"
], - "id": 0,
- "images": [
- "string"
], - "name": "string",
- "note": "string",
- "org_id": 0,
- "repo_id": 0,
- "value": "string"
}| page | integer Default: 1 for response pagination, page offset number |
| perPage | integer Default: 50 for response pagination, max items per page |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "events": [
- "push"
], - "id": 0,
- "images": [
- "string"
], - "name": "string",
- "note": "string",
- "org_id": 0,
- "repo_id": 0,
- "value": "string"
}
]| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the secret object data
| events | Array of strings (WebhookEvent) Items Enum: "push" "pull_request" "pull_request_closed" "pull_request_metadata" "tag" "release" "deployment" "cron" "manual" |
| id | integer |
| images | Array of strings |
| name | string |
| note | string |
| org_id | integer |
| repo_id | integer |
| value | string |
{- "events": [
- "push"
], - "id": 0,
- "images": [
- "string"
], - "name": "string",
- "note": "string",
- "org_id": 0,
- "repo_id": 0,
- "value": "string"
}| secret required | string the secret's name |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "events": [
- "push"
], - "id": 0,
- "images": [
- "string"
], - "name": "string",
- "note": "string",
- "org_id": 0,
- "repo_id": 0,
- "value": "string"
}| secret required | string the secret's name |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the secret's data
| events | Array of strings (WebhookEvent) Items Enum: "push" "pull_request" "pull_request_closed" "pull_request_metadata" "tag" "release" "deployment" "cron" "manual" |
| images | Array of strings |
| name | string |
| note | string |
| value | string |
{- "events": [
- "push"
], - "id": 0,
- "images": [
- "string"
], - "name": "string",
- "note": "string",
- "org_id": 0,
- "repo_id": 0,
- "value": "string"
}| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "admin": true,
- "admin_env": true,
- "admin_revoked": true,
- "avatar_url": "string",
- "email": "string",
- "forge_id": 0,
- "forge_remote_id": "string",
- "id": 0,
- "login": "string",
- "org_id": 0
}The feed lists the most recent pipeline for the currently authenticated user.
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "author": "string",
- "author_avatar": "string",
- "author_email": "string",
- "branch": "string",
- "commit": "string",
- "created": 0,
- "event": "push",
- "finished": 0,
- "full_name": "string",
- "id": 0,
- "message": "string",
- "number": 0,
- "ref": "string",
- "refspec": "string",
- "release": {
- "is_prerelease": true,
- "title": "string"
}, - "repo_id": 0,
- "started": 0,
- "status": "string",
- "tag_title": "string",
- "title": "string"
}
]Retrieve the currently authenticated User's Repository list
| all | boolean query all repos, including inactive ones |
| name | string filter repos by name |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "active": true,
- "allow_deploy": true,
- "allow_pr": true,
- "approval_allowed_users": [
- "string"
], - "avatar_url": "string",
- "cancel_previous_pipeline_events": [
- "push"
], - "clone_url": "string",
- "clone_url_ssh": "string",
- "config_extension_endpoint": "string",
- "config_extension_exclusive": true,
- "config_extension_netrc": true,
- "config_file": "string",
- "default_branch": "string",
- "forge_id": 0,
- "forge_remote_id": "string",
- "forge_url": "string",
- "full_name": "string",
- "has_forge_name_conflict": true,
- "has_no_forge_repo": true,
- "id": 0,
- "last_pipeline": {
- "author": "string",
- "author_avatar": "string",
- "author_email": "string",
- "branch": "string",
- "cancel_info": {
- "canceled_by_step": "string",
- "canceled_by_user": "string",
- "superseded_by": 0
}, - "changed_files": [
- "string"
], - "commit": "string",
- "created": 0,
- "cron": "string",
- "deploy_task": "string",
- "deploy_to": "string",
- "errors": [
- {
- "data": null,
- "is_warning": true,
- "message": "string",
- "type": "linter"
}
], - "event": "push",
- "event_reason": [
- "string"
], - "finished": 0,
- "forge_url": "string",
- "from_fork": true,
- "id": 0,
- "is_prerelease": true,
- "message": "string",
- "number": 0,
- "parent": 0,
- "pr_draft": true,
- "pr_labels": [
- "string"
], - "pr_milestone": "string",
- "ref": "string",
- "refspec": "string",
- "release": {
- "is_prerelease": true,
- "title": "string"
}, - "rerun_count": 0,
- "reviewed": 0,
- "reviewed_by": "string",
- "selected_workflow": "string",
- "sender": "string",
- "started": 0,
- "status": "skipped",
- "tag_title": "string",
- "timestamp": 0,
- "title": "string",
- "updated": 0,
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "version": "string",
- "workflows": [
- {
- "agent_id": 0,
- "children": [
- {
- "depends_on": [
- "string"
], - "error": "string",
- "exit_code": 0,
- "finished": 0,
- "id": 0,
- "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "ppid": 0,
- "started": 0,
- "state": "skipped",
- "type": "clone",
- "uuid": "string"
}
], - "depends_on": [
- "string"
], - "environ": {
- "property1": "string",
- "property2": "string"
}, - "error": "string",
- "finished": 0,
- "id": 0,
- "name": "string",
- "pid": 0,
- "pipeline_id": 0,
- "platform": "string",
- "started": 0,
- "state": "skipped"
}
]
}, - "name": "string",
- "netrc_trusted": [
- "string"
], - "org_id": 0,
- "owner": "string",
- "pr_enabled": true,
- "private": true,
- "registry_extension_endpoint": "string",
- "registry_extension_netrc": true,
- "require_approval": "none",
- "secret_extension_endpoint": "string",
- "secret_extension_netrc": true,
- "timeout": 0,
- "trusted": {
- "network": true,
- "security": true,
- "volumes": true
}, - "visibility": "public",
- "visibility_sync": true
}
]Returns all registered, active users in the system. Requires admin rights.
| page | integer Default: 1 for response pagination, page offset number |
| perPage | integer Default: 50 for response pagination, max items per page |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
[- {
- "admin": true,
- "admin_env": true,
- "admin_revoked": true,
- "avatar_url": "string",
- "email": "string",
- "forge_id": 0,
- "forge_remote_id": "string",
- "id": 0,
- "login": "string",
- "org_id": 0
}
]Creates a new user account with the specified external login. Requires admin rights.
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the user's data
| admin | boolean Admin indicates the user is a system administrator. NOTE: If the username is part of the WOODPECKER_ADMIN environment variable, this value will be set to true on login. |
| admin_env | boolean |
| admin_revoked | boolean AdminRevoked is set when the user is listed in WOODPECKER_ADMIN, but admin was revoked and is not granted again before the next server restart. |
| avatar_url | string the avatar url for this user. |
string Email is the email address for this user. required: true | |
| forge_id | integer |
| forge_remote_id | string |
| id | integer the id for this user. required: true |
| login | string Login is the username for this user. required: true |
| org_id | integer OrgID is the of the user as model.Org. |
{- "admin": true,
- "admin_env": true,
- "admin_revoked": true,
- "avatar_url": "string",
- "email": "string",
- "forge_id": 0,
- "forge_remote_id": "string",
- "id": 0,
- "login": "string",
- "org_id": 0
}Deletes the given user. Requires admin rights.
| login required | string the user's login name |
| forge_id required | string specify forge (else default will be used) |
| forge_remote_id | string specify user id at forge (else fallback to login) |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
Returns a user with the specified login name. Requires admin rights.
| login required | string the user's login name |
| forge_id required | string specify forge (else default will be used) |
| forge_remote_id | string specify user id at forge (else fallback to login) |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
{- "admin": true,
- "admin_env": true,
- "admin_revoked": true,
- "avatar_url": "string",
- "email": "string",
- "forge_id": 0,
- "forge_remote_id": "string",
- "id": 0,
- "login": "string",
- "org_id": 0
}Changes the data of an existing user. Requires admin rights.
| login required | string the user's login name |
| Authorization required | string Default: Bearer <personal access token> Insert your personal access token |
the user's data
| admin | boolean Admin indicates the user is a system administrator. NOTE: If the username is part of the WOODPECKER_ADMIN environment variable, this value will be set to true on login. |
| admin_env | boolean |
| admin_revoked | boolean AdminRevoked is set when the user is listed in WOODPECKER_ADMIN, but admin was revoked and is not granted again before the next server restart. |
| avatar_url | string the avatar url for this user. |
string Email is the email address for this user. required: true | |
| forge_id | integer |
| forge_remote_id | string |
| id | integer the id for this user. required: true |
| login | string Login is the username for this user. required: true |
| org_id | integer OrgID is the of the user as model.Org. |
{- "admin": true,
- "admin_env": true,
- "admin_revoked": true,
- "avatar_url": "string",
- "email": "string",
- "forge_id": 0,
- "forge_remote_id": "string",
- "id": 0,
- "login": "string",
- "org_id": 0
}{- "admin": true,
- "admin_env": true,
- "admin_revoked": true,
- "avatar_url": "string",
- "email": "string",
- "forge_id": 0,
- "forge_remote_id": "string",
- "id": 0,
- "login": "string",
- "org_id": 0
}