One ONU by position (prefer /onus/{id}).
GET
/olts/{olt}/onus/{slot}/{port}/{onuId}
const url = 'https://example.com/api/v1/olts/1/onus/1/1/1';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/olts/1/onus/1/1/1 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”olt
required
integer
slot
required
integer
port
required
integer
onuId
required
integer
Responses
Section titled “Responses”OK
Media typeapplication/json
object
data
required
object
id
required
Stable opaque ONU id (onu_…); null when the ONU has no serial or MAC.
string | null
olt_id
required
integer
olt_name
string
slot
required
integer
port
required
integer
onu_id
required
integer
interface
string | null
serial_number
Masked to the last 4 characters without nms.read.pii.
string | null
mac
string | null
type_name
string | null
name
string | null
description
string | null
customer_name
string | null
admin_state
string
phase_state
string
online
required
boolean
stale
required
boolean
last_down_cause
string | null
rx_power_dbm
number | null
rx_power_label
string | null
odp_id
integer | null
odp_name
string | null
acs
object | null
external_refs
References from other systems (system:value), e.g. maung:customer:
Array<string>
links
required
object
ui
required
string | null format: uri
Example generated
{ "data": { "id": "example", "olt_id": 1, "olt_name": "example", "slot": 1, "port": 1, "onu_id": 1, "interface": "example", "serial_number": "example", "mac": "example", "type_name": "example", "name": "example", "description": "example", "customer_name": "example", "admin_state": "example", "phase_state": "example", "online": true, "stale": true, "last_down_cause": "example", "rx_power_dbm": 1, "rx_power_label": "example", "odp_id": 1, "odp_name": "example", "acs": "example", "external_refs": [ "example" ], "links": { "ui": "https://example.com" } }}No token, expired (code token_expired) or unknown token.
Media typeapplication/json
object
message
required
string
code
string
Example generated
{ "message": "example", "code": "example"}Service_token_required, ip_not_allowed or scope_missing.
Media typeapplication/json
object
message
required
string
code
string
Example generated
{ "message": "example", "code": "example"}Not found, or belongs to another organisation.
Media typeapplication/json
object
message
required
string
code
string
Example generated
{ "message": "example", "code": "example"}Rate limit of the token; see Retry-After.
Media typeapplication/json
object
message
required
string
code
string
Example generated
{ "message": "example", "code": "example"}