Ghost Inspector
- PATCH
- /workspaces
- /:workspace
- /projects
- /:project_name
- /pipelines
- /:pipeline_id
- /actions
- /:action_id
Update Ghost Inspector action configuration
Warning
You can't change the type of an existing action. To change the type, remove the action and add it again.
Request example
curl -X PATCH "https://api.buddy.works/workspaces/:workspace/projects/:project_name/pipelines/:pipeline_id/actions/:action_id" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"name": "Ghost Inspector Action",
"type": "GHOST_INSPECTOR",
"trigger_time": "ON_EVERY_EXECUTION",
"variables": [
{
"key": "filePath",
"value": "variable.csv"
}
],
"user": "username",
"password": "ha16@sdharj21529aA==",
"immediate": false,
"disable_notification": false,
"region": "us-east-1",
"browser": "opera",
"suite": "5c9ca42171f823532163ef760",
"folder": "5cd019551a5fads555105142",
"channel": "slack_channel_name",
"viewport": "5c9ca42171f8231b363ef760",
"data_file": "$filePath",
"start_url": "https://app.buddy.works/nickname",
"user_agent": "usernameghost",
"integration": {
"identifier": "ghost-inspector"
}
}'STATUS200 OK