You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: daprdocs/content/en/reference/api/jobs_api.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ With the jobs API, you can schedule jobs and tasks in the future.
20
20
Schedule a job with a name. Jobs are scheduled based on the clock of the server where the Scheduler service is running. The timestamp is not converted to UTC. You can provide the timezone with the timestamp in RFC3339 format to specify which timezone you'd like the job to adhere to. If no timezone is provided, the server's local time is used.
21
21
22
22
```
23
-
POST http://localhost:3500/v1.0-alpha1/jobs/<name>
23
+
POST http://localhost:<daprPort>/v1.0-alpha1/jobs/<name>
24
24
```
25
25
26
26
### URL parameters
@@ -100,7 +100,7 @@ $ curl -X POST \
100
100
Get a job from its name.
101
101
102
102
```
103
-
GET http://localhost:3500/v1.0-alpha1/jobs/<name>
103
+
GET http://localhost:<daprPort>/v1.0-alpha1/jobs/<name>
Copy file name to clipboardExpand all lines: daprdocs/content/en/reference/api/workflow_api.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Dapr provides users with the ability to interact with workflows through its buil
13
13
Start a workflow instance with the given name and optionally, an instance ID.
14
14
15
15
```
16
-
POST http://localhost:3500/v1.0/workflows/<workflowComponentName>/<workflowName>/start[?instanceID=<instanceID>]
16
+
POST http://localhost:<daprPort>/v1.0/workflows/<workflowComponentName>/<workflowName>/start[?instanceID=<instanceID>]
17
17
```
18
18
19
19
Note that workflow instance IDs can only contain alphanumeric characters, underscores, and dashes.
@@ -53,7 +53,7 @@ The API call will provide a response similar to this:
53
53
Terminate a running workflow instance with the given name and instance ID.
54
54
55
55
```
56
-
POST http://localhost:3500/v1.0/workflows/<workflowComponentName>/<instanceId>/terminate
56
+
POST http://localhost:<daprPort>/v1.0/workflows/<workflowComponentName>/<instanceId>/terminate
57
57
```
58
58
59
59
{{% alert title="Note" color="primary" %}}
@@ -87,7 +87,7 @@ This API does not return any content.
87
87
For workflow components that support subscribing to external events, such as the Dapr Workflow engine, you can use the following "raise event" API to deliver a named event to a specific workflow instance.
88
88
89
89
```
90
-
POST http://localhost:3500/v1.0/workflows/<workflowComponentName>/<instanceID>/raiseEvent/<eventName>
90
+
POST http://localhost:<daprPort>/v1.0/workflows/<workflowComponentName>/<instanceID>/raiseEvent/<eventName>
91
91
```
92
92
93
93
{{% alert title="Note" color="primary" %}}
@@ -120,7 +120,7 @@ None.
120
120
Pause a running workflow instance.
121
121
122
122
```
123
-
POST http://localhost:3500/v1.0/workflows/<workflowComponentName>/<instanceId>/pause
123
+
POST http://localhost:<daprPort>/v1.0/workflows/<workflowComponentName>/<instanceId>/pause
124
124
```
125
125
126
126
### URL parameters
@@ -147,7 +147,7 @@ None.
147
147
Resume a paused workflow instance.
148
148
149
149
```
150
-
POST http://localhost:3500/v1.0/workflows/<workflowComponentName>/<instanceId>/resume
150
+
POST http://localhost:<daprPort>/v1.0/workflows/<workflowComponentName>/<instanceId>/resume
151
151
```
152
152
153
153
### URL parameters
@@ -174,7 +174,7 @@ None.
174
174
Purge the workflow state from your state store with the workflow's instance ID.
175
175
176
176
```
177
-
POST http://localhost:3500/v1.0/workflows/<workflowComponentName>/<instanceId>/purge
177
+
POST http://localhost:<daprPort>/v1.0/workflows/<workflowComponentName>/<instanceId>/purge
178
178
```
179
179
180
180
{{% alert title="Note" color="primary" %}}
@@ -205,7 +205,7 @@ None.
205
205
Get information about a given workflow instance.
206
206
207
207
```
208
-
GET http://localhost:3500/v1.0/workflows/<workflowComponentName>/<instanceId>
208
+
GET http://localhost:<daprPort>/v1.0/workflows/<workflowComponentName>/<instanceId>
0 commit comments