mirror of https://github.com/dapr/docs.git
fix job api http reference (#4343)
Signed-off-by: yaron2 <schneider.yaron@live.com> Co-authored-by: Mark Fussell <markfussell@gmail.com>
This commit is contained in:
parent
ef0a5b5641
commit
ca61d77c72
|
@ -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
|
||||
}'
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue