Best Practices - How Do You Get the Most Recent Version of Swagger?

When using our Swagger documentation APIs, we recommend using the parameter version=-1 to ensure you are getting the most up-to-date version.

For example:

curl -X GET "https://staging.cloud-elements.com/elements/api-v2/elements/{elementId}/docs?version=-1" -H "accept: application/json" -H "Authorization: *********************"