bus
Get metrics
Returns the metrics for the specified key
get/bus/metric/{key}
Path parameters
key'contract' | 'contractprune' | 'performance' | 'wallet' required
The type of metric to fetch
Query parameters
startstring date-time required
Start time for the metrics query
ninteger required
Number of intervals to fetch
intervalinteger required
Interval duration in milliseconds
Example:30000
contractidstring
A unique identifier for a file contract
hostkeystring
A ed25519 public key
hostversionstring
Response
Successfully retrieved metrics
Example response
[
{
"revisionNumber": 246
}
]Changes
Changed in 3 of the 50 revisions of this API.22
- ▲
removed the media type
text/plainfor the response with the status500response-media-type-removed
- ○
api tag
busaddedapi-tag-added
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 99 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲