Questions tagged [api-versioning]

189 questions
0
votes
1 answer

Unable to autoload serializer using Grape Gem

I'm building an API with: Ruby 2.2 Rails 4.2.6 grape-gem 0.16.2 active_model_serializers-gem 0.10.2 grape-active_model_serializers-gem (1.4 from master) My JSON serializers work well until I try to introduce API Versioning as described here:…
0
votes
1 answer

Code Versioning and maintenance

I have a project on my hands with a web server and app server and then a data layer. I frequently have a need to create versions of software for different clients of mine to use. Sometimes, only api route changes, sometimes everything changes from…
Immortal
  • 1,233
  • 4
  • 20
  • 47
0
votes
1 answer

Rails API builder with auto generated documentation

I've been wondering is there any gem to generate API documentation for Rails app not only with versioning and input parameters but with documentation for returned parameters too. Thanks!
0
votes
2 answers

Managing Android versions: using different classes for each version

I am using this class from my main activity: public class MediaInfo { public String name; public String label; // ... (other String and int fields) public MediaSession mSession; } within an ArrayList: public class MainActivity…
xagutxu
  • 81
  • 6
-1
votes
1 answer

Check API response codes irrespective of API versions

I am trying to refactor some older APIs, by changing response codes. But the client which is calling these APIs is using these response codes in their logic. So how to change response codes of APIs without breaking the client, and without API…
Manoj Majumdar
  • 505
  • 1
  • 4
  • 23
-1
votes
1 answer

Laravel - API Versioning /v2/ endpoints always return 401

I'm currently working on a Laravel API which uses Laravel Passport (OAuth2). I recently added a v2 to my Laravel application API. Everything works fine on my local machine. But on my TEST-Server, the application always throws a 401 when I send a…
Mike_NotGuilty
  • 2,253
  • 5
  • 32
  • 64
-1
votes
1 answer

I need a best effective way for Node.js API Versioning

I need a best effective way for Node.js API Versioning.
Joker
  • 111
  • 2
  • 9
-2
votes
1 answer

Restful api versioning in Laravel 8

I am trying to build a restful api using Laravel-8. Already I have setup Laravel-Passport for api authentication. Now I want to do API versioning for the Laravel-8. I've heard about Dingo being used with jwt-auth. But I am using laravel…
user11352561
  • 2,277
  • 12
  • 51
  • 102
-4
votes
1 answer

Best practices of versioning with Firestore backend

With classic REST apis it is good practice to add a version to the api url. This version can be fi. embedded in the path (api.myservice.com/v1/dataset) or as a parameter (api.myservice.com/dataset?v=1). When a new version of the api is deployed, it…
Michiel
  • 767
  • 4
  • 19
1 2 3
12
13