Nubenautas API
Integra nuestros servicios con los tuyos.
https://cloud.nubenautas.com/apiauthorization: Bearer [token] except for /sign_in
Authentication
/sign_inemail=[string]password=[string]200tokencurl -i -X POST -d 'email=[..]&password=[..]' https://cloud.nubenautas.com/api/sign_in
HTTP/2 200
server: nginx/1.18.0
date: Tue, 16 Feb 2021 19:02:08 GMT
content-type: application/json
content-length: 84
authorization: Bearer [token]
x-content-type-options: nosniff
{"id":"[..]","email":"[..]","firstname":"[..]","lastname":"[..]"}
/sign_out200curl -i -X DELETE -H 'authorization: Bearer [token]' https://cloud.nubenautas.com/api/sign_outHTTP/2 200 server: nginx/1.18.0 date: Tue, 16 Feb 2021 20:28:06 GMT content-type: application/json content-length: 4 x-content-type-options: nosniff true
DNS
/dns/[domain_name]/records200
[
{
"id": 20142611,
"content": "127.0.0.1",
"created_at": "2020-10-25T22:23:09Z",
"domain_id": "sentidocomun.ninja",
"name": "",
"prio": null,
"ttl": 3600,
"type": "A"
},
{
"id": 22545628,
"content": "127.0.0.1",
"created_at": "2020-10-25T22:23:14Z",
"domain_id": "sentidocomun.ninja",
"name": "www",
"prio": null,
"ttl": 3600,
"type": "A"
}
]
/dns/[domain_name]/recordstype=[string]name=[string]content=[string]ttl=[string]prio=[string]200
{
"id": 20245620,
"content": "127.0.0.1",
"created_at": "2020-10-25T22:23:14Z",
"domain_id": "sentidocomun.ninja",
"name": "test",
"prio": null,
"ttl": 3600,
"type": "A"
}
/dns/[domain_name]/records/[record_id]type=[string]name=[string]content=[string]ttl=[string]prio=[string]200
{
"id": 20245620,
"content": "127.0.0.1",
"created_at": "2020-10-25T22:23:14Z",
"domain_id": "sentidocomun.ninja",
"name": "test",
"prio": null,
"ttl": 3600,
"type": "A"
}
/dns/[domain_name]/records/[record_id]200Tools
http://ip.nubenautas.net for current public IPcurl http://ip.nubenautas.net 187.225.224.88