Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions daprdocs/content/en/reference/api/jobs_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ With the jobs API, you can schedule jobs and tasks in the future.
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.

```
POST http://localhost:3500/v1.0-alpha1/jobs/<name>
POST http://localhost:<daprPort>/v1.0-alpha1/jobs/<name>
```

### URL parameters
Expand Down Expand Up @@ -100,7 +100,7 @@ $ curl -X POST \
Get a job from its name.

```
GET http://localhost:3500/v1.0-alpha1/jobs/<name>
GET http://localhost:<daprPort>/v1.0-alpha1/jobs/<name>
```

### URL parameters
Expand Down Expand Up @@ -138,7 +138,7 @@ $ curl -X GET http://localhost:3500/v1.0-alpha1/jobs/jobforjabba -H "Content-Typ
Delete a named job.

```
DELETE http://localhost:3500/v1.0-alpha1/jobs/<name>
DELETE http://localhost:<daprPort>/v1.0-alpha1/jobs/<name>
```

### URL parameters
Expand Down
14 changes: 7 additions & 7 deletions daprdocs/content/en/reference/api/workflow_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Dapr provides users with the ability to interact with workflows through its buil
Start a workflow instance with the given name and optionally, an instance ID.

```
POST http://localhost:3500/v1.0/workflows/<workflowComponentName>/<workflowName>/start[?instanceID=<instanceID>]
POST http://localhost:<daprPort>/v1.0/workflows/<workflowComponentName>/<workflowName>/start[?instanceID=<instanceID>]
```

Note that workflow instance IDs can only contain alphanumeric characters, underscores, and dashes.
Expand Down Expand Up @@ -53,7 +53,7 @@ The API call will provide a response similar to this:
Terminate a running workflow instance with the given name and instance ID.

```
POST http://localhost:3500/v1.0/workflows/<workflowComponentName>/<instanceId>/terminate
POST http://localhost:<daprPort>/v1.0/workflows/<workflowComponentName>/<instanceId>/terminate
```

{{% alert title="Note" color="primary" %}}
Expand Down Expand Up @@ -87,7 +87,7 @@ This API does not return any content.
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.

```
POST http://localhost:3500/v1.0/workflows/<workflowComponentName>/<instanceID>/raiseEvent/<eventName>
POST http://localhost:<daprPort>/v1.0/workflows/<workflowComponentName>/<instanceID>/raiseEvent/<eventName>
```

{{% alert title="Note" color="primary" %}}
Expand Down Expand Up @@ -120,7 +120,7 @@ None.
Pause a running workflow instance.

```
POST http://localhost:3500/v1.0/workflows/<workflowComponentName>/<instanceId>/pause
POST http://localhost:<daprPort>/v1.0/workflows/<workflowComponentName>/<instanceId>/pause
```

### URL parameters
Expand All @@ -147,7 +147,7 @@ None.
Resume a paused workflow instance.

```
POST http://localhost:3500/v1.0/workflows/<workflowComponentName>/<instanceId>/resume
POST http://localhost:<daprPort>/v1.0/workflows/<workflowComponentName>/<instanceId>/resume
```

### URL parameters
Expand All @@ -174,7 +174,7 @@ None.
Purge the workflow state from your state store with the workflow's instance ID.

```
POST http://localhost:3500/v1.0/workflows/<workflowComponentName>/<instanceId>/purge
POST http://localhost:<daprPort>/v1.0/workflows/<workflowComponentName>/<instanceId>/purge
```

{{% alert title="Note" color="primary" %}}
Expand Down Expand Up @@ -205,7 +205,7 @@ None.
Get information about a given workflow instance.

```
GET http://localhost:3500/v1.0/workflows/<workflowComponentName>/<instanceId>
GET http://localhost:<daprPort>/v1.0/workflows/<workflowComponentName>/<instanceId>
```

### URL parameters
Expand Down
Loading