Page 1 of 1

New API call for version?

Posted: Wed Dec 19, 2018 10:28 pm
by emcodem
Dear steinar,

would it be easily possible to add a version api call so i am able to determine if my API consuming code is prepared/tested for a specific version?

cheers!
emcodem

Re: New API call for version?

Posted: Fri Dec 21, 2018 7:50 pm
by admin
Yes of course..i think so. How you think would be the best way to implement API versioning?

-steinar

Re: New API call for version?

Posted: Fri Dec 21, 2018 10:17 pm
by emcodem
I guess that is an easy one, if you can just return a string representing the build number, e.g. the same as "Help->About FFAstrans": "0.9.4.44".
In other enterprise apps i know, this call works like a "test" call, it is the first thing that everyone who wants to use the API calls.

On the other hand, while creating the WEBUI, i noticed some strange things. I shall open another thread about stuff that makes life of API consumers hard soon...

Re: New API call for version?

Posted: Sat Dec 22, 2018 6:14 am
by admin
Ok, the version will be inplemented according to your suggestion. I'm keen to know about all problems you encounter! :-)

-steinar