API StatusDomainRepository: Difference between revisions

From Webhosting24 Wiki
local>ImportBot
Imported from old wiki
 
m 1 revision imported
 
(No difference)

Latest revision as of 12:56, 14 March 2025

<sidebar>

</sidebar> The StatusDomainRepository command is used to get informations about your RegistrarOC domain repository.
For example: How many domains/nameservers/contacts are in the repository? How many transfers/trades are processing?
The informations are retrieved directly from the database.
The parameter TRIGGER is required if the RegistarOC handler is not assigned to the user (or one of his subusers) requested the command.

[COMMAND]

  (required)
  command = StatusDomainRepository
  repository = (REPOSITORY)

  (optional)
  trigger = (TRIGGER)
  wide = 0 | 1

EOF


[RESPONSE]

  (required)
  code = (CODE)
  description = (DESCRIPTION)
  property[sum_domains][0] = (INT)
  property[sum_active_domains][0] = (INT)
  property[sum_pending_domains][0] = (INT)
  property[sum_requested_domains][0] = (INT)
  property[sum_processing_domains][0] = (INT)
  property[sum_trades][0] = (INT)
  property[sum_incoming_transfers][0] = (INT)
  property[sum_outgoing_transfers][0] = (INT)
  property[sum_nameservers][0] = (INT)
  property[sum_contacts][0] = (INT)
  property[sum_whois_queries][0] = (INT)
  property[zones][0] = (TEXT)

  property[repository_transfer_outgoing_max][0] = (INT)
  property[repository_trades_max][0] = (INT)

  (optional)
  property[sum_domains_<zone>][0] = (INT)
  property[sum_trades_<zone>][0] = (INT)
  property[sum_incoming_transfers_<zone>][0] = (INT)
  property[sum_outgoing_transfers_<zone>][0] = (INT)
  property[sum_nameservers_<zone>][0] = (INT)
  property[sum_contacts_<zone>][0] = (INT)

EOF