joaofraga
joaofraga

Reputation: 643

How to add API version to Apiary Mock Server

Is there any way to add API version to Apiary Mock Server?

Ex.: http://private-XXXXX-apiname.apiary-mock.com/v1/mocks/1?school_id=1

Upvotes: 2

Views: 594

Answers (1)

Almad
Almad

Reputation: 5913

Yes, when declaring HOST, you can append suffix to it and that is then propagated as prefix to all resources:

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

Upvotes: 2

Related Questions