We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80c5e4d commit 13b6d3eCopy full SHA for 13b6d3e
.github/workflows/test-code-samples.yaml
@@ -22,7 +22,7 @@ jobs:
22
23
- name: Call Code Sample Tester Actor
24
env:
25
- APIFY_TOKEN: apify_api_2x75M2AvgF4pvx2iYfjESi5cBZdtjy2eAZNP
+ APIFY_TOKEN: apify_api_Hh2OPyR6MPVJ6te8pkfe27vS09aL1f2lquSt
26
BRANCH_NAME: ${{ env.branch_name }}
27
run: |
28
curl -X POST "https://api.apify.com/v2/acts/X8D0L4wfpO8fCL1uL/run-sync" \
apify-api/openapi/code_samples/javascript/actorRun_put.js
@@ -0,0 +1,12 @@
1
+import { ApifyClient } from 'apify-client';
2
+
3
+const apifyClient = new ApifyClient({
4
+ token: '<TOKEN>',
5
+});
6
+const updatedRun = await apifyClient
7
+ .run('<RUN ID>')
8
+ .update({
9
+ statusMessage: 'Actor has finished',
10
+ });
11
12
+console.log(updatedRun);
apify-api/openapi/code_samples/javascript/test.js
0 commit comments