Integrations icon indicating copy to clipboard operation
Integrations copied to clipboard

Gitlab "API V3 is no longer supported. Use API V4 instead."

Open eriksape opened this issue 6 years ago • 4 comments

Hi There,

In gitlab v11, API v3 is no longer supported.

eriksape avatar Apr 21 '19 12:04 eriksape

Thanks for the report! We don't yet have an API spec for v4, but we'll work on it.

rbren avatar May 01 '19 12:05 rbren

This issue interests me but I do not know how to go about helping in resolving it. Can some describe, or point me to a description of, the steps that needs to be done in order to resolve it?

auth00 avatar Jun 17 '19 05:06 auth00

The GitLab API is generated using this OpenAPI definition:

https://github.com/DataFire/Integrations/blob/master/integrations/generated/gitlab/openapi.json

We'd need an OpenAPI definition for v4 in order to update. This issue will hopefully get us an official spec.

Not sure how much changed from v3 to v4, but you could always go through the v3 spec and manually make the necessary changes. If it's a big update I wouldn't recommend it though.

rbren avatar Jun 17 '19 12:06 rbren

🤔 I updated some requests in the openapi.json and it works, but is a huge job cause the update on gitlab api

eriksape avatar Jun 17 '19 23:06 eriksape