Get Available Actions

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Returns all available actions with which you can associate worker services. Availability depends on user subscriptions.

Since: 7.63.2

Security: Platform Admin, Project Admin (for Project Admin, the projectKey query parameter must be set).

Usage:GET /worker/api/v1/actions

Produces: application/json; charset=utf-8

Header parameter: Authorization: Bearer

Parameters

Parameter

Datatype

Mandatory

Description

projectKey

string

No

If set, only actions that are compatible with projects are returned. If a project admin token is used, this query parameter is required and the user must have the role project admin for the project, otherwise an HTTP error 403 is returned. The projectKey cannot be changed.

Sample Usage

curl -X GET 'https://myserver.com/worker/api/v1/system/actions'
Ok

Sample Response

[
   "BEFORE_DOWNLOAD",
   "AFTER_DOWNLOAD",
   "BEFORE_UPLOAD",
   "AFTER_CREATE",
]  

Success Response Codes:

200: OK response.

Error Response Codes:

401 Invalid credentials.

403 Insufficient permissions.