View

Learn how to view active platform settings.

Endpoint

GET  /api/v1/admin/settings

Permissions

COMING SOON!

Responses

Status CodeDescription
200indicates the request has succeeded
401indicates the user does not have proper permissions
404indicates the server was unable to retrieve a resource

Sample

Request

curl \
  -X GET \
  -H "Authorization: Bearer <token>" \
  "http://127.0.0.1:8080/api/v1/admin/settings"

Response

{
	"id": 1,
	"compiler": {
		"clone_image": "target/vela-git:latest",
		"template_depth": 3,
		"starlark_exec_limit": 7500
	},
	"queue": {
		"routes": [
			"vela"
		]
	},
	"repo_allowlist": [
		"*",
	],
	"schedule_allowlist": [
		"github/octocat",
	],
	"created_at": 1715718878,
	"updated_at": 1715718879,
	"updated_by": "octocat"
}