Base URL

All MotorPress API endpoints have a base url of https://api.motorpress.co.za. No version number is included in the URL.

All requests must be made to the https base URL. There is no non-https version and any requests to http://api.motorpress.co.za will fail.

Endpoints are resource based so everything after the first / is the name of a resource. This could be articles, images, galleries or organisations among others. Each slash in the URL indicates more specificity. For example, articles/46e3001c-d2ec-417b-ab2d-7a53038a11fd would be a request for an article with the specific ID.

Resources sometimes have more than one identifier, however, only the UUID can be used in a URL request. For example, articles are also given a unique slug, which can only be used when referencing an article through the MotorPress web application.

Last Updated:
Contributors: warrick