GALAglobal / translationapi

The API is for anyone who wants to adopt best practices for a translation services API to interact with counterparts directly from your application or content management system. The API helps ensure interoperability for the most common tasks.
https://translate.taus.net/translate/taus-translation-api
MIT License
12 stars 3 forks source link

Adding api version to urls in Hello world #16

Open vinodMS opened 9 years ago

vinodMS commented 9 years ago

The Hello world example in the user guide demonstrates how a translation request can be created, modified, and retrieved. The specified urls in the example are as follows, https://www.abctranslations.com/translation https://www.abctranslations.com/translation/2b575fdc-f6af-4b9e-850d-9dc0884c6595

The specification describes the use of API versioning and how it is added as part of the URL of the request. For consistency and to not have the reader confused, it would be better add the version to URLs used in the example. https://www.abctranslations.com/v2.0/translation https://www.abctranslations.com/v2.0/translation/2b575fdc-f6af-4b9e-850d-9dc0884c6595