Skip to content

API Madness

What's going on with the mixing of different APIs lately? I feel like half of the features are controllable via REST and the other half is controllable via GraphQL.

If I want to change some project settings, I can do that via REST. But if I want to disable the Token Access feature stuff I have to use GraphQL.

If I want to delete a package from the package registry, I can do so via REST. But if I want to remove files from a package (which is necessary because GitLab has no cleanup option for those files) I have to use GraphQL.

Using the API has become a chore because you constantly have to switch between two different APIs.