Questions tagged [api-versioning]
189 questions
1
vote
0 answers
FastAPI API Versioning - specifying deprecated version in Header
I am using a Header named Accept-Version to handle API versioning in my FastAPI project at the function level. Following fastapi documentation, a sub-class that inherits from str and from Enum is used to predefine the version that the header can…

wavingtide
- 1,032
- 4
- 19
1
vote
1 answer
API versioning using Openshift API gateway
We have a requirement where we need to have multiple versions of the same API with few changes in it, but we cannot change the URI whatsoever.
URI versioning : api.example.com/v1/resource
Domain versioning : apiv1.example.com/resource
(Request)…

pratik t
- 21
- 2
1
vote
0 answers
Linkedin versioning Marketing API - isDSC returns True by default
I'm trying to use Linkedin versioning (the new approach) Marketing API to publish posts on the company page.
I'm following the official docs and trying to use provided…

jackaaxc
- 21
- 5
1
vote
0 answers
update Kubernetes ingress version in helm chart
good day all, I want to know how I can update my Kubernetes ingress API version to networking.k8s.io/v1 in my helm chart template. will I use the kubectl apply command?
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: api-ingress
…

Ore-aruwaji tola
- 11
- 1
1
vote
1 answer
Can i make changes in the published version of aws lambda?
Lets consider i have a lambda function , i have two versions of it v1 and v2
and both version are published
If in any case i want to make code changes in v1 can i go directly to v1 and make code changes and publish the same version again?

theBeginner
- 85
- 10
1
vote
1 answer
Azure APIM versioning changing the path
I am trying to create api and expose them via APIM. The path of the api that I expect is
baseUrl/v1/Product/Upload.
But when i try to use versioning of APIM, I could only come up with something like
baseUrl/Product/v1/Upload, where Product is API…

venkatesh k
- 49
- 1
- 9
1
vote
1 answer
ASP.NET API version ranges
Our product is a client/server app that has multiple versions of the client out in the field but has only one server that runs the latest version to service all API calls. We have/will have hundreds of API endpoints and I'm trying how best to handle…

tmwoods
- 2,353
- 7
- 28
- 55
1
vote
1 answer
REST API best practice - adding new parameters in request/response of existing API
I am working with .NET 5.0. I have a REST based API currently deployed in production and merchants are already integrated with it. Now there is a requirement that I need to add a few more parameters in request and response as well.
Is that bad…

Shazia Tabassum
- 115
- 11
1
vote
2 answers
API Versioning in dotnet core
I am working on APIs in dotnet core 2.2 and I'd like to version my API.
I'm looking for some solutions except:
Routing method (api/v1/controller, api/v2/contoller)
Routing method using APIVersioning package, (api/v{version:…

Aakash Rana
- 23
- 2
1
vote
1 answer
How to manage different versions a Rails API with config changes
I currently have a Rails 5 API with namespaced routes: /api/v1/...
I want to release a new version (/api/v2/...) that uses different authentication / CORS configurations. Specifically, v1 uses credential authentication. But in v2 I want to switch to…

emersonthis
- 32,822
- 59
- 210
- 375
1
vote
1 answer
Changing API Versioning Strategy
I'm working on an API, using django rest framework which is currently in production. The versioning strategy in use is namespace versioning. I would like to switch to acceptheader versioning as it seems to suit the project better.
Is there a way to…

Timothy Oliver
- 470
- 9
- 19
1
vote
2 answers
Managing API versions using nextjs and vercel
I'm starting to build out an API using nextjs with Vercel deployments. It's quite simple to get setup, simply create files under pages/api/. For example the create endpoints /shows, /movies, /sports I have:
./pages/api/
/shows
/movies
…

b.lyte
- 6,518
- 4
- 40
- 51
1
vote
2 answers
netcore - api versioning returns 404
I'm implementing Api Versioning in my NetCore 3 project using package Microsoft.AspNetCore.Mvc.Versioning but it's throwing me an error if I try to add version into my router - it works fine if I don't pass the route.
Here is what I have done:
using…

placplacboom
- 614
- 8
- 16
1
vote
1 answer
How to apply validation versioning on Rails API models?
I was searching about building Rails APIs and how to right apply some versioning on model validations.
Suppose there is a model and a route like these ones:
class Person < ApplicationRecord
validates :name, presence: true
end
namespace :v1
…

Daniel
- 13
- 5
1
vote
1 answer
how can I use lambda versions and aliases to version my API with CloudFormation?
We have an API which needs to be versioned. We are using API Gateway and Lambda on AWS. All code is deployed using CICD, and we use SAM templates on top of CloudFormation.
NB we are using API Gateway stages to handle different environments (e.g.…

mdarwin
- 1,684
- 7
- 28
- 72