DiscountASP.NET Control Panel API: General Information

Discussion in 'Control Panel API' started by Takeshi Eto, Oct 17, 2006.

  1. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

    DiscountASP.NET Control Panel API
    The DiscountASP.NET Control Panel ASP.NET Web Service API consists of an API library and associated documentation that allows you to display results, obtain specific information and news, and to manipulate/modify settings and certain aspects of your DiscountASP.NET web hosting account.

    The main Control Panel functional areas that we have exposedare:
    - Email Manager
    - IIS Manager
    - Usage Summary
    - Database Usage Meter
    - News

    API Access
    To access the Web Service API, you will first need to log into your control panel at https://my.discountasp.net and navigate to the new Control Panel API section, where you can register to gain access to the Control Panel Web Service API. When you register, we will assign you with unique Authentication keys.

    API access requires use of alphanumeric case sensitive Authentication Keys and requires you to white list the IP addresses that will access the Web Service API. You can view your Authentication Keys and white list your IP addresses in the Control Panel API section of the Control Panel.

    What are the keys and how to use them
    - Sandbox Key: This key is intended to be used for development purpose only. It is a read-only key. When this key is used to call a method that requires write access, no action will be performed.
    - API Key: This key is intended for production use.

    Restrictions
    We have placed a few restrictions on the API to increase reliability. These include:
    1. Certain methods cannot be called too frequently to avoid system abuse (you will receive an error message, if the frequency is higher than the configured threshold).
    2. You are limited to 1000 API calls per day.
    3. Our system will block an IP address after 25 failed login attempts have been detected within a certain timeframe.
    NOTE: DiscountASP.NET may modify these restrictions at any time.

    Control Panel API Documentation
    Attached is a helpfile (.chm) which contains the documentation for all the objects and methods.

    Sample Applications
    We will be posting a few sample applications to demonstrate how you may use the Control Panel API. Please stay tuned.

    User Support
    User support for issues related to the Control Panel API is only provided through peer support in this forum.

    DiscountASP.NET API Terms and Conditions
    Posted at: http://www.discountasp.net/userpolicy_api.aspx

    To make the Control Panel API program a success, we need your feedback. Please participate in the forum.

    The DiscountASP.NET Team
    http://www.DiscountASP.NET
     

    Attached Files:

  2. FrankC

    FrankC DiscountASP.NET Staff

    API Release Notes

    May 5, 2020 - New methods added

    Added new MS SQL generic methods for getting disk usage and create backup
    · SqlGetUsage
    · SqlCreateBackup
    · SqlCreateBackupJob

    These new methods will work with any version of SQL servers that is supported (up to SQL 2017)

    Existing legacy methods (below) will continue to work but you should use consider using the new method.
    • Sql[xxxx]GetUsage
    • Sql[xxxx]CreateBackup
    • Sql[xxxx]CreateBackupJob

    August 30, 2018 - New methods added

    Added support for SQL 2016
    · Sql2016GetUsage
    · Sql2016CreateBackup
    · Sql2016CreateBackupJob

    March 17, 2017 - New methods added

    - Sql2000CreateBackupJob
    - Sql2005CreateBackupJob
    - Sql2008CreateBackupJob
    - Sql2008R2CreateBackupJob
    - Sql2012CreateBackupJob

    These methods allow you to create an asynchronous backup job. You get a GUID as return variable.

    We'll add a method for user to query the status of a job in the future.

    These methods are created to address customers having problems backing up larger databases.


    April 4, 2012 - New methods added

    SQL 20012
    - Create backup
    - Get disk usage

    March 3, 2011 - New methods added

    SQL2008R2
    - Create backup
    - Get disk usage

    March 9, 2009 - DNS and SQL 2008 functions added

    The first post in this thread has been updated with the new API documentation chm.

    SQL 2008
    - Create backup
    - Get disk usage

    DNS
    - Get A, CNAME, MX, and TXT records
    - Add A, CNAME, MX, and TXT records
    - Delete A, CNAME, MX, and TXT records

    To update a DNS record, you must delete and add.

    We also removed all methods relating to our old email system. All email accounts should be in SmarterMail now.

    March 16, 2008 - Update

    The SQL backup methods now create the backup in the /_database directory rather than the website root.

    October 18, 2007 - New API features added

    SmarterMail
    - Create and delete SmarterMail users and aliases
    - Update passwords and quotas
    - List users and aliases
     

Share This Page