All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gitlab4j.api.LabelsApi Maven / Gradle / Ivy

Go to download

GitLab4J-API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories and servers via the GitLab REST API.

There is a newer version: 6.0.0-rc.9
Show newest version
package org.gitlab4j.api;

import java.util.List;

import javax.ws.rs.core.GenericType;
import javax.ws.rs.core.Response;

import org.gitlab4j.api.models.Label;

public class LabelsApi extends AbstractApi {

    public LabelsApi(GitLabApi gitLabApi) {
        super(gitLabApi);
    }

    /**
     * Get all labels of the specified project. Only returns the first page
     *
     * @param projectId the project ID to get the labels for
     * @return a list of project's labels
     * @throws GitLabApiException if any exception occurs
     */
    public List




© 2015 - 2025 Weber Informatics LLC | Privacy Policy