mirror of https://github.com/dapr/docs.git
update example
Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
parent
c2a1f0fafc
commit
d2a912a384
|
@ -45,7 +45,7 @@ appId | string | app id.
|
|||
actorTypes | json string array | List of actor types it hosts.
|
||||
updatedAt | timestamp | Timestamp of the actor registered/updated.
|
||||
|
||||
## Examples
|
||||
### Examples
|
||||
|
||||
```shell
|
||||
curl localhost:8080/placement/state
|
||||
|
@ -55,10 +55,23 @@ updatedAt | timestamp | Timestamp of the actor registered/updated.
|
|||
{
|
||||
"hostList": [{
|
||||
"name": "198.18.0.1:49347",
|
||||
"appId": "actor",
|
||||
"actorTypes": ["testActorType"],
|
||||
"appId": "actor1",
|
||||
"actorTypes": ["testActorType1", "testActorType3"],
|
||||
"updatedAt": 1690274322325260000
|
||||
}],
|
||||
},
|
||||
{
|
||||
"name": "198.18.0.2:49347",
|
||||
"appId": "actor2",
|
||||
"actorTypes": ["testActorType2"],
|
||||
"updatedAt": 1690274322325260000
|
||||
},
|
||||
{
|
||||
"name": "198.18.0.3:49347",
|
||||
"appId": "actor2",
|
||||
"actorTypes": ["testActorType2"],
|
||||
"updatedAt": 1690274322325260000
|
||||
}
|
||||
],
|
||||
"tableVersion": 1
|
||||
}
|
||||
```
|
Loading…
Reference in New Issue