Skip to content

Commit d0cf23e

Browse files
authored
Landing page: GraphQL API (#60339)
1 parent 115cebe commit d0cf23e

23 files changed

Lines changed: 60 additions & 14 deletions

content/graphql/guides/forming-calls-with-graphql.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ versions:
99
ghec: '*'
1010
ghes: '*'
1111
shortTitle: Form calls with GraphQL
12+
category:
13+
- Get started and make API calls
1214
---
1315

1416
## Authenticating with GraphQL

content/graphql/guides/introduction-to-graphql.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ versions:
88
fpt: '*'
99
ghec: '*'
1010
ghes: '*'
11+
category:
12+
- Get started and make API calls
1113
---
1214

1315
## GraphQL terminology

content/graphql/guides/managing-enterprise-accounts.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ versions:
77
ghec: '*'
88
ghes: '*'
99
shortTitle: Manage enterprise accounts
10+
category:
11+
- Get started and make API calls
1012
---
1113

1214
## About managing enterprise accounts with GraphQL

content/graphql/guides/migrating-from-rest-to-graphql.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ versions:
99
ghec: '*'
1010
ghes: '*'
1111
shortTitle: Migrate from REST to GraphQL
12+
category:
13+
- Understand API changes and limits
1214
---
1315

1416
## Differences in API logic

content/graphql/guides/migrating-graphql-global-node-ids.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ versions:
55
fpt: '*'
66
ghec: '*'
77
shortTitle: Migrating global node IDs
8+
category:
9+
- Understand API changes and limits
810
---
911

1012
## Background

content/graphql/guides/using-global-node-ids.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ versions:
77
fpt: '*'
88
ghec: '*'
99
ghes: '*'
10+
category:
11+
- Get started and make API calls
1012
---
1113

1214
You can access most objects in GitHub (users, issues, pull requests, etc.) using either the REST API or the GraphQL API. You can find the **global node ID** of many objects from within the REST API and use these IDs in your GraphQL operations. For more information, see [Preview GraphQL API Node IDs in REST API resources](https://developer.github.com/changes/2017-12-19-graphql-node-id/).

content/graphql/guides/using-graphql-clients.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ versions:
99
fpt: '*'
1010
ghec: '*'
1111
ghes: '*'
12+
category:
13+
- Get started and make API calls
1214
---
1315

1416

content/graphql/guides/using-pagination-in-the-graphql-api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ versions:
66
ghes: '*'
77
ghec: '*'
88
shortTitle: Pagination
9+
category:
10+
- Get started and make API calls
911
---
1012

1113
## About pagination

content/graphql/guides/using-the-graphql-api-for-discussions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ versions:
66
ghes: '*'
77
ghec: '*'
88
shortTitle: Use GraphQL for Discussions
9+
category:
10+
- Get started and make API calls
911
---
1012

1113
The {% data variables.product.prodname_discussions %} GraphQL API allows you to get, create, edit, and delete discussion posts. For more information about {% data variables.product.prodname_discussions %}, see [AUTOTITLE](/discussions/collaborating-with-your-community-using-discussions/about-discussions).

content/graphql/index.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,25 @@ intro: 'To create integrations, retrieve data, and automate your workflows, use
44
shortTitle: GraphQL API
55
introLinks:
66
overview: /graphql/overview/about-the-graphql-api
7-
featuredLinks:
8-
startHere:
9-
- /graphql/guides/forming-calls-with-graphql
10-
- /graphql/guides/introduction-to-graphql
11-
- /graphql/guides/using-graphql-clients
12-
popular:
13-
- /graphql/overview/public-schema
14-
- /graphql/guides/using-pagination-in-the-graphql-api
15-
guideCards:
16-
- /graphql/guides/migrating-from-rest-to-graphql
17-
- /graphql/guides/managing-enterprise-accounts
18-
- /graphql/guides/using-global-node-ids
7+
quickstart: /graphql/guides/forming-calls-with-graphql
198
changelog:
209
label: 'api, apis'
21-
layout: product-landing
10+
layout: discovery-landing
2211
redirect_from:
2312
- /v4
2413
- /graphql/overview/schema-previews
14+
includedCategories:
15+
- Get started and make API calls
16+
- Explore the schema reference
17+
- Understand API changes and limits
18+
carousels:
19+
recommended:
20+
- /graphql/overview/about-the-graphql-api
21+
- /graphql/guides/introduction-to-graphql
22+
- /graphql/guides/forming-calls-with-graphql
23+
- /graphql/guides/using-pagination-in-the-graphql-api
24+
- /graphql/guides/migrating-from-rest-to-graphql
25+
- /graphql/overview/rate-limits-and-query-limits-for-the-graphql-api
2526
versions:
2627
fpt: '*'
2728
ghec: '*'
@@ -30,4 +31,5 @@ children:
3031
- /overview
3132
- /reference
3233
- /guides
34+
contentType: landing
3335
---

0 commit comments

Comments
 (0)