Versioning and Server Types

Versions

Currently, Pactima APIs only have one version and the base URL is

VersionEndpoint
1https://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 pathServer kindRequest content-type
https://rest.api.pactima.com/v1Main server --header 'content-type: application/json'
https://files.api.pactima.com/v1Files 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.