© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
J. PainterPractical GitLab Serviceshttps://doi.org/10.1007/979-8-8688-0427-4_11

11. There’s an API for That

Jeffrey Painter1  
(1)
Sugar Grove, IL, USA
 

Up to now, almost everything we have done has been directly through the GitLab UI or remotely using Git commands. There are times, though, when you, as a developer or administrator, want to create automation scripts to do routine maintenance not provided by GitLab through its UI. For these situations, GitLab has provided an Application Programming Interface (API). In fact, there are two APIs provided by GitLab: the REST API and the GraphQL API.

In this chapter, we will describe the two APIs provided by GitLab ...

Get Practical GitLab Services: A Complete DevOps Guide for Developers and Administrators now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.