Download OpenAPI specification:Download
Viaota is a telecommunications service provider. Some of the platform's features can be interacted with via the API. This documentation describes how to use with the API for Viaota. The API is versioned in major versions, for example "v1", "v2", etc. Any changes that are not backwards compatible will use the closest available major version.
This endpoint returns the DNS resolvers that should be used by your client/device. IMPORTANT - it is possible that no resolvers are available. In this case the response will be an empty array. Use your client's/device's default resolvers as a fallback if that is the case. It's recommended to cache the response for about 5 minutes.
| iccid required | string = 19 characters ^[0-9]*$ |
[- {
- "type": "uid",
- "values": [
- "foo"
]
}, - {
- "type": "dot",
- "values": [
- "foo.dns.example-server.com"
]
}, - {
- "type": "v6",
- "values": [
- "2606:4700:4700::1111",
- "2606:4700:4700::1001"
]
}
]Enabling safe mode creates custom DNS resolvers that should be used by the client/device. These DNS resolvers are returned by the endpoint. IMPORTANT - it is possible that no resolvers are available. In this case the response will be an empty array. Use your client's/device's default resolvers as a fallback if that is the case. It's recommended to cache the response for about 5 minutes.
| iccid required | string = 19 characters ^[0-9]*$ |
[- {
- "type": "uid",
- "values": [
- "foo"
]
}, - {
- "type": "dot",
- "values": [
- "foo.dns.example-server.com"
]
}, - {
- "type": "v6",
- "values": [
- "2606:4700:4700::1111",
- "2606:4700:4700::1001"
]
}
]Disabling safe mode deletes previously created custom DNS resolvers. After the operation, use your client's/device's default resolvers. It's recommended to cache the response for about 5 minutes.
| iccid required | string = 19 characters ^[0-9]*$ |
[ ]