XML-RPC interface for cdli-translit
File functions
Serverurl: http://cdlitranslit.mpiwg-berlin.mpg.de/cdli_main
Methods
getAllPNumbers()
returns a list of all p-numbers
getFile(pnumber)
return the atf file with pnumber
returns an empty string if file not found
Basket functions
Serverurl: http://cdlitranslit.mpiwg-berlin.mpg.de/basketContainer
Methods
getBasketAsOneFile(basketName,current="no")
Returns all files of basket combined in one file.
- basketName: Name of the basket
- current: (optional) if current is set to "yes" then the most current version of
all files are downloaded and not the versions of the files as stored in the basket
getPNumbersOfBasket(basketName)
get all pnumbers of a basket as a list, returns an empty list if basket not found
*basketName: name of the basket
returns all atf files of the basket combined in one file
uploadATFRPC(data,username)
Returns an XML-file with debug information. Upload an basket.
- data contains the atf-basket file
- username has to be a valid username of the system.
The return file has the following structure:
<return> <errors> <error atf="P00001">ERROR MESSAGE</error> .... </errors> <changed> <change atf="P00002">APROX. NUMBER OF CHANGED LINES</change> ... </changed> <newPs> <new atf="P000042/> </newPs> </return>