Skip to content

Commit

Permalink
feat: Add Metrics.appInfo API
Browse files Browse the repository at this point in the history
  • Loading branch information
jlacivita committed May 22, 2024
1 parent 7b1ddb4 commit 3a144ca
Showing 1 changed file with 44 additions and 1 deletion.
45 changes: 44 additions & 1 deletion src/openrpc/metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,50 @@
}
}
]
}
},
{
"name": "appInfo",
"tags": [
{
"name": "capabilities",
"x-uses": [
"xrn:firebolt:capability:metrics:general"
]
}
],
"summary": "Inform the platform about an app's build info.",
"params": [
{
"name": "build",
"summary": "The build / version of this app.",
"schema": {
"type": "string"
},
"required": true
}
],
"result": {
"name": "result",
"schema": {
"type": "null"
}
},
"examples": [
{
"name": "Send appInfo metric",
"params": [
{
"name": "build",
"value": "1.2.2"
}
],
"result": {
"name": "result",
"value": null
}
}
]
},
],
"components": {
"schemas": {
Expand Down

0 comments on commit 3a144ca

Please sign in to comment.