The webPDF server provides its functions in the form of RESTful web services. There are seven web services for running the server’s PDF functions. In addition, there is also a web service for setting up the document storage for the user and creating a session and a web service for managing the documents in the storage.
The documentation for the RESTful API can be found online on the webPDF server under http://localhost:8080/webPDF/help/restful/
The functions of the webPDF server for the RESTful API are accessed via a Uniform Resource Identifier (URI). The different URIs of the web services can be executed via the HTTP methods PUT, GET, POST and DELETE.
The execution and the behavior of the web services can be controlled in the JSON data structures (objects) by means of the individual elements and parameters with values.
The data’s structure is defined as an XML schema (http://schema.webpdf.de/1.0/operation.xsd) and is used as a corresponding JSON structure for the REST API. For the XML structure in the definition of the web service parameters, you will find a corresponding JSON structure for the parameters.
Example of a JSON structure when calling the “Converter" web service
The corresponding JSON structure is passed in the "request body" of the HTTP method (e.g., POST). If an HTTP request (e.g., GET) returns a response in the form of a JSON structure, the structure will be found in the response’s “response body.”
A description of all transfer and return parameters can be found in the online documentation for the RESTful API based on the "Swagger" tool (http://swagger.io/) with the OpenAPI (https://swagger.io/resources/open-api/).