Difference between revisions of "REST Interface"

From Transkribus Wiki
Jump to: navigation, search
(Login)
(Collections)
Line 7: Line 7:
  
 
=Collections=
 
=Collections=
 +
<code>https://transkribus.eu/TrpServer/rest/collections/list.xml</code>

Revision as of 08:34, 10 September 2015

The Transkribus application communicates with the server via a set of RESTful service methods. The complete definition can be found in the file application.wadl. The parameters for all the methods described below can be found in that service description file.

Login

Most of the methods require the user to be logged in to the services which is achieved by POSTing the user credentials to the login method:
https://transkribus.eu/TrpServer/rest/auth/login
The method returns an XML with the user profile and the collections that are allowed to be accessed by this user.

Collections

https://transkribus.eu/TrpServer/rest/collections/list.xml