At 3/27/02 8:48 AM, Scott Allan wrote:

>At 11:25 AM 3/27/02 -0500, Mark Jeftovic wrote:
>
>>I would like to see a command available in the API to obtain a list
>>of renewals in specific categories, similar to what CIRA has in place.
>>
>>Every time OpenSRS changes the format of the daily renewal reminder
>>(without notice) our parsers break resulting in unintended behaviour
>>(most recently, prematurely deleting all domains in the deactivated
>>category)
>>
>>If we have an API command to get the same results we can initiate
>>specific jobs to get specific sets and eliminate the guesswork.
>
>
>This already exists  in get_domain - see page 60 of the API doc 
>at  http://www.opensrs.org/docs/opensrs_client_protocol_spec252.PDF .

I think Mark was saying he wanted to be able to get a list of all 
expiring domains for the reseller, not just a list of all domains 
expiring under a certain user profile. The current get_domain method 
requires that the reseller knows the username and password, and must be 
repeated for each profile.

The current API is really geared towards end-user management functions 
(because you have to have the end-user password to even log in). To 
perform reseller-management functions, you have to use the RWI.

What I'd like to see OpenSRS think about is creating a new set of API 
functions that perform the same types of tasks available in the RWI. For 
example, I'd like to be able to get the expiration dates for all my 
domains, set the locking for certain domains, etc. -- all the stuff 
people currently are told to do by scripting the RWI. Most of the backend 
code for such an API already must exist inside the RWI CGIs (and the CGIs 
could eventually be made to just call the API, which would probably help 
OpenSRS in the long run by making things use a documented interface).

--
Robert L Mathews, Tiger Technologies

"The trouble with doing something right the first time is that nobody
appreciates how difficult it was."

Reply via email to