Skip to content

Commit ca1edf2

Browse files
authored
fix(api): adjust Webhook creation example (#2230)
The actorId in the webhook condition contained a name, not an ID. This is misleading as we don't support names. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Documentation-only change to an OpenAPI example payload; no runtime behavior or API schema is modified. > > **Overview** > Fixes the `Create webhook` OpenAPI example payload to use an actual `actorId` value instead of a `username~actor-name` identifier in the `condition` object, avoiding misleading documentation about supported identifiers during webhook creation. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 6eb8bb2. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 959d053 commit ca1edf2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apify-api/openapi/paths/webhooks/webhooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ post:
109109
"ACTOR.RUN.ABORTED"
110110
],
111111
"condition" : {
112-
"actorId": "janedoe~my-actor",
112+
"actorId": "5sTMwDQywwsLzKRRh",
113113
"actorTaskId" : "W9bs9JE9v7wprjAnJ"
114114
},
115115
"payloadTemplate": "",

0 commit comments

Comments
 (0)