Apis
From Socialwiki
Contents |
REST Api
Information Functions
/users/getLastRegistered
Returns the last registered users in the current server.
Parameters:
- (optional) Integer => The number of results returned. (10 by default)
Formats: HTML,XML,JSON
Examples of use:
- http://www.socialdns.net/users/getLastRegistered/20
- http://www.socialdns.net/users/getLastRegistered.xml
- http://www.socialdns.net/users/getLastRegistered/2.json
/domains/getUserDomains
Returns the domains owned by a given user.
Parameters:
- (mandatory) String => The username of the domains owner.
Formats: HTML,XML,JSON
Examples of use:
- http://www.socialdns.net/domains/getUserDomains/pedro
- http://www.socialdns.net/domains/getUserDomains/marc.xml
- http://www.socialdns.net/domains/getUserDomains/sgomez.json
/domains/hosts
Returns information about domains.
Parameters:
- (optional) String => A certain domain name.
The use of this function without this parameter is not recommended due to its cost in time.
Formats: XML
Examples of use:
- http://www.socialdns.net/domains/hosts/jisko.xml
- http://www.socialdns.net/domains/hosts/urv.xml
- http://www.socialdns.net/domains/hosts.xml
Resolution Functions
/domains/resolve
Resolves SocialDNS domains.
Parameters:
- (mandatory) String => A certain domain name.
Examples of use:
