Questions tagged [api-versioning]
189 questions
0
votes
1 answer
How do you target the same NuGet package, with different versions, within the same .Net MAUI project?
I'm seeing the following NuGet version conflict error after upgrading a Xamarin Forms library project to .Net7.0 MAUI;
"Version conflict detected for Xamarin.Android.Support.Annotations.
Install/reference Xamarin.Android.Support.Annotations 28.0.0.3…

monstermunch
- 1
- 1
0
votes
0 answers
JWT Token with api version
I have a problem with JWT authentication with API Version.
In a .Net 6 Web Api project secured with JWT token we have added the versioning.
Whe use the api-version parameter in header of the call.
We have added a version 2.0 of one api.
If I work…

Lorenzo Soncini
- 41
- 1
- 2
0
votes
2 answers
API Versioning Best Practices - Should v1 get show v2 items?
Our service has shipped our api with a public version we'll support for at least 18 months. We're now starting on some new features which will be in v2.
I'm reading up on it but haven't found the answer yet.
When designing a new API Version for a…

FoxDeploy
- 12,569
- 2
- 33
- 48
0
votes
0 answers
What should be the mapping template for api gateway with fast api versioning (minor versioning ) open api
I have terraform modules for api gateway which uses the open api spec. The current spec generated from fast api versioing exposes /docs , /openapi.json. endpoints and the spec is generated for these 2 endpoints. Is there any other way to make this…

Sravya Chebolu
- 21
- 1
0
votes
1 answer
How do you adjust context-paths with Springdoc OpenAPI & GroupedOpenApi
Background:
The task that we have is to move from two legacy APIs / services, to consolidate them and to introduce a newer v2 API - that all utilize the same underlying codebase.
My approach has been to utilize multiple @RestControllers, each with a…

Sean Dukehart
- 69
- 1
- 6
0
votes
1 answer
How do we version a new endpoint being added to an existing API
We have our API versioning strategy based on URL.
I have couple of scenarios to add new enpoints , where I could not find any strategical reference for this.
Scenario 1:
An existing API having endpoints varyingly ranging from versions v1 to v4. Few…

Muthukumar Palaniappan
- 1,622
- 5
- 25
- 49
0
votes
1 answer
Issue with IsApiVersionNeutral in asp.net minimal api versioning
Hi I am trying to implement versioning in asp.net core minimal api (net7.0). But I am seeing some url access issues with certain api versions. Hope someone can give me some clarity about why the urls are throwing 404 below.
I am trying to build…

SanjayD
- 156
- 4
- 12
0
votes
1 answer
getting error -> does not support the API version '2022-05-01' while making query for AZURE-ARM using CURL
I am trying to get the AML token using CLI.
I am able to get the token using the command -> token=$(az account get-access-token --subscription {subscri ID} --resource-type arm --query accessToken --output tsv)
but when I use this token to get the…

Onki
- 1,879
- 6
- 38
- 58
0
votes
2 answers
Call a versioned webapi controller path ending with a number
Why does adding versioning to a webApi project removes number from the controller path name?
Replication steps :
Create a fresh .net6 project. And rename WeatherForecastController to WeatherForecast2Controller.
Run app and call…

Daniel Pace
- 131
- 1
- 6
0
votes
1 answer
microservices consuming different version of same service events
I have following scenario
Account Service handles user accounts
Reports Service for handling historical reports
When new user is registered via Account Service it triggers a Kafka event which is consumed by Reports Service which inserts one record…

chebus
- 762
- 1
- 8
- 26
0
votes
0 answers
Api versioning tops CPU
I use default .Net CPU Versioning to handle 2 versions of my API, but I noticed on AWS ECS monitors that my CPU usage is hitting steadily 100%, which should not be the case.
I'm using all boilerplate code from Microsoft to configure and handle this…

Thiago Cardoso
- 503
- 7
- 13
0
votes
0 answers
Redirect /api/v1 to /api/v2 in Rails 6
I have a Rails 6 app, where I am upgrading some functionalities and upgrading the API version to v2. There are older clients out there that are using the v1 API versions. For all these, I have to change the incoming url in v1 to v2.
Example,
a…

anz
- 987
- 7
- 21
0
votes
1 answer
Coinbase API: Where can I find the CB_VERSION date?
My responses from the coinbase v2 api at https://api.coinbase.com/v2 always return:
"warnings": [
{
"id": "missing_version",
"message": "Please supply API version (YYYY-MM-DD) as CB-VERSION header",
"url":…

Nick Carbone
- 445
- 1
- 4
- 9
0
votes
2 answers
Should location returned by HTTP header have version information?
Is there a standard or convention on whether location retuned by a REST server should also include the version information?
Per REST, the URI is to a resource so by that definition, the URI returned in the Location header should not have a…

Xavier John
- 8,474
- 3
- 37
- 51
0
votes
1 answer
API versioning in api-platform
I have an API working with API-platform 2.6 and I have some breaking changes on my API so I really need to have api/v2 but it looks like there is no versioning support in api-platform. Very simple example is a field that was not mandatory in V1 but…

Rassoul
- 174
- 16