Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.superlink.me/llms.txt

Use this file to discover all available pages before exploring further.

List subdomains under specified parentdomain
// See documentation to set up the client first

let apiInstance = new superlink.SubdomainApi();
let parentDomain = "supertest.me";
let opts = {
  'paginationToken': null,
  'pageSize': 10
}

apiInstance.subdomainList(parentDomain, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log(`${data.nextPaginationToken}`)
    console.log(`${data.total}`)
    data.names.forEach(name => {
      console.log(name.name);
      console.log(name.createdTimestamp);
    })
  }
});