Apis

From Socialwiki

Jump to: navigation, search

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:

/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:

/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:

Resolution Functions

/domains/resolve

Resolves SocialDNS domains.

Parameters:

  • (mandatory) String => A certain domain name.

Examples of use:

Personal tools