Versions
Currently, Pactima APIs only have one version and the base URL is
Version | Endpoint |
---|---|
1 | https://rest.api.pactima.com/v1 https://files.api.pactima.com/v1 |
Server Types
Pactima has two kinds of servers. When using the SDKs, the appropriate server-type is already taken into account. The files server is for long-running processes (i.e. > 30 seconds) and for files uploads / downloads.
Base path | Server kind | Request content-type |
---|---|---|
https://rest.api.pactima.com/v1 | Main server | --header 'content-type: application/json' |
https://files.api.pactima.com/v1 | Files server | --header 'content-type: multipart/form-data' |
API docs limitation
Currently, the API documentation only shows the base path to the main server, even for paths that should be called to the files server.