API

API is a parent to Routes and represents the main entity that will contain your definitions. It will be the parent to all of your data

Fields


The fields available when defining a API are Name, Description, API URL and Authorization. The fields are pretty self explanatory.

API URL


API URL represents the subdomain that will be assigned to this API, along with a generated suffix, for example https://yourapi-ebefed.mockadillo.com. If you require a custom API subdomain without the suffix you can contact us.

Authorization


Authorization field represents the requirement for the clients Authorization header to contain the value that is set here. If the field is empty there is no precondition. You can use this to protect your entire API easily. A value here overrides any Route level Authorization.