- 1 General details
- 1.1 Login method:
- 2 Data format
General details
API is implemented over HTTPs as a service. Some methods are implemented as GET requests, others are implemented as POST requests.
Generally, any method that modifies data and/or receives important data (like login/password) is expecting POST (or combined) data.
To provide maximum security only HTTPS is supported for u-Slicer API methods.
API URL is https://uslicer.iponweb.com .
Login method:
https://uauth.iponweb.com/oauth2/token/
Currently u-Slicer supports APIv2 version:
Data format
API methods accept and return serialized data in JSON.
- JSON:
is obtained by providing appropriate value in HTTP header, Accept/Content-Type: application/json
In every API request you can specify the Accept header and API will return output in the format descibed in Accept (different than Content-Type), while still accepting input parameters in Content-Type.
An error response is identified as 400 Bad Request.
To get data back from API one needs to use a parser to de-serialize a response.
Good parsers for the above formats exist for various development environments.