Ramp API
6 operations. Back to the API overview. Examples use synthetic data.
List ramps
GET /admin/v1/ramps
Needs the permission: metrics:read.
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
endpoint | object (any fields) | optional | - |
ramps | any | optional | - |
{
"endpoint": {},
"ramps": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/ramps"Create ramp
POST /admin/v1/ramps
Needs the permission: config:write.
Request body
{}Response 201
| Field | Type | Presence | Description |
|---|---|---|---|
code | string | optional | - |
code_expires_at | any | optional | - |
endpoint | object (any fields) | optional | - |
id | string | optional | - |
install | map of string | optional | - |
{
"code": "example",
"code_expires_at": {},
"endpoint": {},
"id": "example-id",
"install": {
"example": "example"
}
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/ramps"Get ramp
GET /admin/v1/ramps/{id}
Needs the permission: metrics:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
certificate_requests | any | optional | - |
config_history | any | optional | - |
device_sheets | any | optional | - |
endpoint | object (any fields) | optional | - |
lan_access | any | optional | - |
ramp | object (RampView) | optional | rampView is a Ramp as the console shows it (metadata only). |
ramp.alerts | array of string | optional | - |
ramp.arch | string | optional | - |
ramp.cert_not_after | string (date-time) | optional | - |
ramp.cert_sha256 | string | optional | - |
ramp.cloud_oldest_waiting | string (date-time) | optional | - |
ramp.cloud_waiting | integer | optional | - |
ramp.config | any | optional | - |
ramp.config_doc | object (RampConfig) | optional | Config is one Ramp's configuration: which local ports it listens on and where cloud deliveries go. Version increases with every change. |
ramp.config_version | integer | optional | - |
ramp.created_at | string (date-time) | optional | - |
ramp.enrolled_at | string (date-time) | optional | - |
ramp.heartbeat | any | optional | - |
ramp.heartbeat_doc | object (RampHeartbeat) | optional | Heartbeat is Ramp's status, sent every HeartbeatSeconds. Metadata only: counts, versions, codes; never message content or patient data. |
ramp.hostname | string | optional | - |
ramp.id | string | optional | - |
ramp.last_seen_at | string (date-time) | optional | - |
ramp.name | string | optional | - |
ramp.os | string | optional | - |
ramp.queue_bytes | integer | optional | - |
ramp.queue_messages | integer | optional | - |
ramp.revoked_at | string (date-time) | optional | - |
ramp.sender_id | string | optional | - |
ramp.state | string | optional | pending, online, offline, revoked |
ramp.status | string | optional | - |
ramp.version | string | optional | - |
{
"certificate_requests": {},
"config_history": {},
"device_sheets": {},
"endpoint": {},
"lan_access": {},
"ramp": {
"alerts": [
"example"
],
"arch": "example",
"cert_not_after": "2026-01-15T14:30:00Z",
"cert_sha256": "example",
"cloud_oldest_waiting": "2026-01-15T14:30:00Z",
"cloud_waiting": 1,
"config": {},
"config_doc": {
"endpoints": [
{}
],
"heartbeat_seconds": 1,
"listeners": [
{}
],
"queue": {
"alert_percent": 1,
"max_bytes": 1,
"max_messages": 1
},
"update": {
"channel": "example",
"window": {}
},
"version": 1
},
"config_version": 1,
"created_at": "2026-01-15T14:30:00Z",
"enrolled_at": "2026-01-15T14:30:00Z",
"heartbeat": {},
"heartbeat_doc": {
"arch": "example",
"cert_not_after": "2026-01-15T14:30:00Z",
"cloud_rejected": 1,
"config_version": 1,
"delivered": 1,
"dicom_refusals": [
{}
],
"endpoints": [
{}
],
"lan_addrs": [
"example"
],
"listeners": [
{}
],
"os": "example",
"queue": {
"bytes": 1,
"full": true,
"max_bytes": 1,
"max_messages": 1,
"messages": 1,
"oldest_seconds": 1
},
"started_at": "2026-01-15T14:30:00Z",
"update": {
"at": "2026-01-15T14:30:00Z",
"channel": "example",
"error": "Example text",
"from_version": "1",
"state": "ok",
"version": "1"
},
"uplinked": 1,
"version": "1"
},
"hostname": "host.example.org",
"id": "example-id",
"last_seen_at": "2026-01-15T14:30:00Z",
"name": "example-name",
"os": "example",
"queue_bytes": 1,
"queue_messages": 1,
"revoked_at": "2026-01-15T14:30:00Z",
"sender_id": "example-id",
"state": "ok",
"status": "ok",
"version": "1"
}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/ramps/example-id"New ramp code
POST /admin/v1/ramps/{id}/code
Needs the permission: config:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
code | string | optional | - |
code_expires_at | any | optional | - |
id | any | optional | - |
install | map of string | optional | - |
{
"code": "example",
"code_expires_at": {},
"id": {},
"install": {
"example": "example"
}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/ramps/example-id/code"Put ramp config
PUT /admin/v1/ramps/{id}/config
Needs the permission: config:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
it_action | any | optional | - |
version | any | optional | - |
{
"it_action": {},
"version": {}
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request PUT \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/ramps/example-id/config"Ends a Ramp at once
POST /admin/v1/ramps/{id}/revoke
Ends a Ramp at once: its certificate digests are removed from its sender (refused from the next request), the Ramp is marked revoked (deliveries to it dead-letter), and its certificates are revoked at the CA.
Needs the permission: config:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
id | any | optional | - |
status | any | optional | - |
{
"id": {},
"status": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/ramps/example-id/revoke"Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.