Lewati ke konten

ONUs connected to one ODP.

GET
/odps/{odp}/onus
curl --request GET \
--url https://example.com/api/v1/odps/1/onus \
--header 'Authorization: Bearer <token>'
odp
required
integer

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