Skip to content

Commit

Permalink
fix job api http reference (dapr#4343)
Browse files Browse the repository at this point in the history
Signed-off-by: yaron2 <[email protected]>
Co-authored-by: Mark Fussell <[email protected]>
yaron2 and msfussell authored Sep 7, 2024
1 parent ef0a5b5 commit ca61d77
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions daprdocs/content/en/reference/api/jobs_api.md
Original file line number Diff line number Diff line change
@@ -63,13 +63,11 @@ Entry | Description | Equivalent

```json
{
"job": {
"data": {
"data": {
"@type": "type.googleapis.com/google.protobuf.StringValue",
"value": "\"someData\""
},
"dueTime": "30s"
}
}
```

@@ -90,14 +88,12 @@ $ curl -X POST \
http://localhost:3500/v1.0-alpha1/jobs/jobforjabba \
-H "Content-Type: application/json"
-d '{
"job": {
"data": {
"data": {
"@type": "type.googleapis.com/google.protobuf.StringValue",
"value": "Running spice"
},
"schedule": "@every 1m",
"repeats": 5
}
"schedule": "@every 1m",
"repeats": 5
}'
```

0 comments on commit ca61d77

Please sign in to comment.