Merge pull request #139 from dapr/yaron2-patch-12

Delete metadata.md
This commit is contained in:
Mark Fussell 2019-10-15 23:11:43 -07:00 committed by GitHub
commit 85bb7d72e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 44 deletions

View File

@ -1,44 +0,0 @@
# Metadata
## Get Dapr metadata
This endpoint lets you inspect additional data related to the running Dapr runtime instance.
### HTTP Request
`GET http://localhost:3500/v1.0/metadata`
### HTTP Response codes
Code | Description
---- | -----------
200 | Request successful
500 | Request failed
```shell
curl http://localhost:3500/v1.0/metadata \
-H "Content-Type: application/json"
```
> The above command returns the following JSON:
```json
{
"id": "myApp",
"protocol": "gRPC",
"stateStore": "redis",
"appAddress": "http://localhost:8080",
"healthy": true,
"stateItemsCount": 1000,
"actors": [
{
"actorType": "sith",
"activatedContexts": [
"darth-vader",
"darth-nihilus",
"darth sidious"
]
}
]
}
```