ServerMania logo

Get Resolver Details

To get details for a particular resolver, use the following request:

GET /settings/nameservers/:id.xml
GET /settings/nameservers/:id.json

XML Request Example

curl -i -X GET -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url http://test/settings/nameservers/1.xml

JSON Request Example

curl -i -X GET -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url http://test/settings/nameservers/1.json

XML Output Example

<created_at type="datetime">2011-02-14T15:55:44+02:00</created_at>
<network_id type="integer">1</network_id>
<updated_at type="datetime">2011-02-14T15:55:44+02:00</updated_at>
<id type="integer">1</id>

The parameters are the same as for Get List of Resolvers request.