How to add API version to Apiary Mock Server

Can I add API version to Apiary Mock Server?

Example: http://private-XXXXX-apiname.apiary-mock.com/ v1

/ mocks / 1? school_id = 1

+1


source to share


1 answer


Yes, when declaring, HOST

you can add a suffix to it, which will then propagate as a prefix for all resources:



FORMAT: 1A HOST: http://api.example.tld/v1/

+1


source







All Articles