GitLab GraphQL

GRATIS
GraphQL
Da RapidAPI | Aggiornamento месяц назад | Education
Health Check

N/A

README

Authenticating with GraphQL
A GraphQL request can be made as a POST request to /api/graphql with the query as the payload. You can authorize your request by generating a personal access token to use as a bearer token.

To obtain your GitLab personal access token, head over to: https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html

Example Queries

Example 1

query Group {
  group(fullPath: "gitlab-org") {
    id
    name
    projects {
      nodes {
        name
      }
    }
  }
}

Get a specific project and the title of Issue #2.

query ProjectIssue {
  project(fullPath: "gitlab-org/graphql-sandbox") {
    name
    issue(iid: "2") {
      title
    }
  }
}

Pagination Example

query Test{
  project(fullPath: "gitlab-org/graphql-sandbox") {
    name
    issues(first: 2) {
      edges {
        node {
          title
        }
      }
      pageInfo {
        endCursor
        hasNextPage
      }
    }
  }
}
Follower: 1
Risorse:
Sito web del prodotto
Creatore dell'API:
Rapid account: Rapid API
RapidAPI
rapidapi
Accedi per valutare l'API
Valutazione: 5 - Voti: 1