webhook
webhook events
Get the supported webhook event types.
Arguments
PROJECT_NAME_OR_ID
Name or ID of the project to use. Prefix with 'id:'
to specify an ID.
Type: text
Required: ✅
webhook jobs
Get project webhook jobs for a given policy.
Arguments
PROJECT_NAME_OR_ID
Name or ID of the project to use. Prefix with 'id:'
to specify an ID.
Type: text
Required: ✅
POLICY_ID
ID of the webhook policy to list jobs for.
Type: integer
Required: ✅
Options
--query
<QUERY>
Query parameters to filter the results.
See harborapi docs for more information.
Type: text
--sort
<SORT>
Sorting order of the results. Example: 'name,-id'
to sort by name ascending and id descending.
Type: text
--page
<PAGE>
(Advanced) Page to begin fetching from.
Type: integer
Default: 1
--page-size
<PAGE_SIZE>
(Advanced) Results to fetch per API call.
Type: integer
Default: 10
--limit
<LIMIT>
Maximum number of results to fetch.
Type: integer
webhook triggers
Get the last triggers for a webhook policy.
Arguments
PROJECT_NAME_OR_ID
Name or ID of the project to use. Prefix with 'id:'
to specify an ID.
Type: text
Required: ✅