API Reference
apps
components
- GETget all components for an app
- GETget all components for an org
- GETget a component
- PATCHupdate a component
- GETGet all builds for a component
- POSTcreate component build
- GETget latest build for a component
- GETget a build for a component
- GETGet component build plan
- GETget all configs for a component
- POSTcreate a docker build component config
- POSTcreate an external image component config
- POSTcreate a helm component config
- GETget latest config for a component
- POSTcreate a terraform component config
installers
installs
- GETget all installs for an app
- POSTcreate an app install
- GETget an install
- POSTCreate an app install from an installer
- GETget all installs for an org
- DELdelete an install
- PATCHupdate an install
- GETGet an install component
- GETget an installs components
- GETget an install components deploys
- GETget the latest deploy for an install component
- POSTdeploy a build to an install
- GETget an install deploy
- GETget install deploy plan
- GETget an installs inputs
- POSTcreate install inputs
- PATCHUpdates install input config for app
- GETget an installs current inputs
- GETget an installs sandbox runs
releases
general
orgs
general
Publish a metric from different nuon clients for telemetry purposes
POST
/
v1
/
general
/
metrics
curl --request POST \
--url https://ctl.prod.nuon.co/v1/general/metrics \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '[
{
"decr": {
"name": "<string>",
"tags": [
"<string>"
],
"value": 123
},
"event": {
"event": {
"aggregationKey": "<string>",
"alertType": "info",
"hostname": "<string>",
"priority": "normal",
"sourceTypeName": "<string>",
"tags": [
"<string>"
],
"text": "<string>",
"timestamp": "<string>",
"title": "<string>"
}
},
"incr": {
"name": "<string>",
"tags": [
"<string>"
],
"value": 123
},
"timing": {
"name": "<string>",
"tags": [
"<string>"
],
"value": 123
}
}
]'
"<string>"
Authorizations
Type "Bearer" followed by a space and token.
Body
application/json · object[]
Input
The body is of type object[]
.
Response
200
application/json
OK
The response is of type string
.
curl --request POST \
--url https://ctl.prod.nuon.co/v1/general/metrics \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '[
{
"decr": {
"name": "<string>",
"tags": [
"<string>"
],
"value": 123
},
"event": {
"event": {
"aggregationKey": "<string>",
"alertType": "info",
"hostname": "<string>",
"priority": "normal",
"sourceTypeName": "<string>",
"tags": [
"<string>"
],
"text": "<string>",
"timestamp": "<string>",
"title": "<string>"
}
},
"incr": {
"name": "<string>",
"tags": [
"<string>"
],
"value": 123
},
"timing": {
"name": "<string>",
"tags": [
"<string>"
],
"value": 123
}
}
]'
"<string>"