Lewati ke konten

Global search (OLT name/IP, ONU serial/MAC/interface; ONU names only with nms.read.pii). external_ref = the ONUs linked to that record.

GET
/search
curl --request GET \
--url https://example.com/api/v1/search \
--header 'Authorization: Bearer <token>'
q
string

Search text.

external_ref
string

NMS-11 (R7): system:value, e.g. maung:customer:; only ONUs linked to it.

OK

Media typeapplication/json

Shape documented in docs/API.md; not frozen in v1 yet.

object

Example generated

{}

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"
}