Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/rest/overview/resources-in-the-rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,10 @@ gem:
>> tmpl.expand
=> "/notifications"

>> tmpl.expand :all => 1
>> tmpl.expand all: 1
=> "/notifications?all=1"

>> tmpl.expand :all => 1, :participating => 1
>> tmpl.expand all: 1, participating: 1
=> "/notifications?all=1&participating=1"

[rfc]: https://datatracker.ietf.org/doc/html/rfc6570
Expand Down
10 changes: 10 additions & 0 deletions data/graphql/ghec/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -45646,6 +45646,11 @@ type SponsorsListing implements Node {
url: URI!
}

"""
A record that can be featured on a GitHub Sponsors profile.
"""
union SponsorsListingFeatureableItem = Repository | User

"""
A record that is promoted on a GitHub Sponsors profile.
"""
Expand All @@ -45661,6 +45666,11 @@ type SponsorsListingFeaturedItem implements Node {
from their GitHub profile page.
"""
description: String

"""
The record that is featured on the GitHub Sponsors profile.
"""
featureable: SponsorsListingFeatureableItem!
id: ID!

"""
Expand Down
10 changes: 10 additions & 0 deletions data/graphql/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -45646,6 +45646,11 @@ type SponsorsListing implements Node {
url: URI!
}

"""
A record that can be featured on a GitHub Sponsors profile.
"""
union SponsorsListingFeatureableItem = Repository | User

"""
A record that is promoted on a GitHub Sponsors profile.
"""
Expand All @@ -45661,6 +45666,11 @@ type SponsorsListingFeaturedItem implements Node {
from their GitHub profile page.
"""
description: String

"""
The record that is featured on the GitHub Sponsors profile.
"""
featureable: SponsorsListingFeatureableItem!
id: ID!

"""
Expand Down
14 changes: 14 additions & 0 deletions lib/graphql/static/changelog.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
[
{
"schemaChanges": [
{
"title": "The GraphQL schema includes these changes:",
"changes": [
"<p>Type <code>SponsorsListingFeatureableItem</code> was added</p>",
"<p>Field <code>featureable</code> was added to object type <code>SponsorsListingFeaturedItem</code></p>"
]
}
],
"previewChanges": [],
"upcomingChanges": [],
"date": "2022-12-02"
},
{
"schemaChanges": [
{
Expand Down
27 changes: 27 additions & 0 deletions lib/graphql/static/schema-dotcom.json
Original file line number Diff line number Diff line change
Expand Up @@ -62046,6 +62046,14 @@
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "featureable",
"description": "<p>The record that is featured on the GitHub Sponsors profile.</p>",
"type": "SponsorsListingFeatureableItem!",
"id": "sponsorslistingfeatureableitem",
"kind": "unions",
"href": "/graphql/reference/unions#sponsorslistingfeatureableitem"
},
{
"name": "position",
"description": "<p>The position of this featured item on the GitHub Sponsors profile with a lower\nposition indicating higher precedence. Starts at 1.</p>",
Expand Down Expand Up @@ -81879,6 +81887,25 @@
}
]
},
{
"name": "SponsorsListingFeatureableItem",
"kind": "unions",
"id": "sponsorslistingfeatureableitem",
"href": "/graphql/reference/unions#sponsorslistingfeatureableitem",
"description": "<p>A record that can be featured on a GitHub Sponsors profile.</p>",
"possibleTypes": [
{
"name": "Repository",
"id": "repository",
"href": "/graphql/reference/objects#repository"
},
{
"name": "User",
"id": "user",
"href": "/graphql/reference/objects#user"
}
]
},
{
"name": "StatusCheckRollupContext",
"kind": "unions",
Expand Down
27 changes: 27 additions & 0 deletions lib/graphql/static/schema-ghec.json
Original file line number Diff line number Diff line change
Expand Up @@ -62046,6 +62046,14 @@
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "featureable",
"description": "<p>The record that is featured on the GitHub Sponsors profile.</p>",
"type": "SponsorsListingFeatureableItem!",
"id": "sponsorslistingfeatureableitem",
"kind": "unions",
"href": "/graphql/reference/unions#sponsorslistingfeatureableitem"
},
{
"name": "position",
"description": "<p>The position of this featured item on the GitHub Sponsors profile with a lower\nposition indicating higher precedence. Starts at 1.</p>",
Expand Down Expand Up @@ -81879,6 +81887,25 @@
}
]
},
{
"name": "SponsorsListingFeatureableItem",
"kind": "unions",
"id": "sponsorslistingfeatureableitem",
"href": "/graphql/reference/unions#sponsorslistingfeatureableitem",
"description": "<p>A record that can be featured on a GitHub Sponsors profile.</p>",
"possibleTypes": [
{
"name": "Repository",
"id": "repository",
"href": "/graphql/reference/objects#repository"
},
{
"name": "User",
"id": "user",
"href": "/graphql/reference/objects#user"
}
]
},
{
"name": "StatusCheckRollupContext",
"kind": "unions",
Expand Down
Loading