How to Get the Domain Configuration

Take the object_id from body response of the domain create POST and use it to get the current configuration of the domain.

https://api.nuubit.net/v1/domains/55c0222fe9032a2d741b9f38

cURL Example:

curl -u '[email protected]:password' -H 'Content-Type: application/json' http://api.nuubit.net/v1/domains/55c0222fe9032a2d741b9f38

Body response:

{
  "companyId": "5588869fbde7a0d00338ce8f",
  "id": "55c0222fe9032a2d741b9f38",
  "name": "www.example.com",
  "origin_server": "origin.example.com",
  "sync_status": "Success",
  "tolerance": "4000",
  "updated_at": "2015-08-04T02:24:14.204Z",
  "created_at": "2015-08-04T02:23:43.759Z",
  "origin_server_location": "San Jose, CA",
  "origin_host_header": "www.example.com",
  "cname": "www.example.com.revdn.net"
}
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk