GitLab GraphQL

फ़्री
GraphQL
द्वारा RapidAPI | अपडेट किया गया hace un mes | Education
Health Check

N/A

रीडमी

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
      }
    }
  }
}
फॉलोवर: 1
संसाधन:
उत्पाद वेबसाइट
API निर्माता:
Rapid account: Rapid API
RapidAPI
rapidapi
API को रेट करने के लिए लॉग इन करें
रेटिंग: 5 - वोट: 1