update example

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
Hannah Hunter 2023-09-22 14:44:53 -04:00
parent c2a1f0fafc
commit d2a912a384
1 changed files with 19 additions and 6 deletions

View File

@ -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
}
```