From a4ed0474ac78cd63005f0f3371abc95a21333db2 Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Fri, 24 May 2024 09:35:35 -0700 Subject: [PATCH 1/2] GraphQL schema update (#50811) Co-authored-by: rachmari <9831992+rachmari@users.noreply.github.com> --- src/graphql/data/fpt/changelog.json | 14 +++++++ src/graphql/data/fpt/schema.docs.graphql | 30 ++++++++++++++ src/graphql/data/fpt/schema.json | 49 +++++++++++++++++++++++ src/graphql/data/ghec/schema.docs.graphql | 30 ++++++++++++++ src/graphql/data/ghec/schema.json | 49 +++++++++++++++++++++++ 5 files changed, 172 insertions(+) diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index 7d25f3aad176..1b28679612b6 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,18 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Type CopilotEndpoints was added

", + "

Field copilotEndpoints was added to object type User

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2024-05-24" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index e5887f5b9560..7d88c7eba266 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -6704,6 +6704,31 @@ type ConvertedToDiscussionEvent implements Node { id: ID! } +""" +Copilot endpoint information +""" +type CopilotEndpoints { + """ + Copilot API endpoint + """ + api: String! + + """ + Copilot origin tracker endpoint + """ + originTracker: String! + + """ + Copilot proxy endpoint + """ + proxy: String! + + """ + Copilot telemetry endpoint + """ + telemetry: String! +} + """ Autogenerated input type of CopyProjectV2 """ @@ -60019,6 +60044,11 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & to: DateTime ): ContributionsCollection! + """ + The user's Copilot endpoint information + """ + copilotEndpoints: CopilotEndpoints + """ Identifies the date and time when the object was created. """ diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 4451de3d84a4..62953ac12109 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -16212,6 +16212,47 @@ } ] }, + { + "name": "CopilotEndpoints", + "kind": "objects", + "id": "copilotendpoints", + "href": "/graphql/reference/objects#copilotendpoints", + "description": "

Copilot endpoint information.

", + "fields": [ + { + "name": "api", + "description": "

Copilot API endpoint.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "originTracker", + "description": "

Copilot origin tracker endpoint.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "proxy", + "description": "

Copilot proxy endpoint.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "telemetry", + "description": "

Copilot telemetry endpoint.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "CreatedCommitContribution", "kind": "objects", @@ -73541,6 +73582,14 @@ } ] }, + { + "name": "copilotEndpoints", + "description": "

The user's Copilot endpoint information.

", + "type": "CopilotEndpoints", + "id": "copilotendpoints", + "kind": "objects", + "href": "/graphql/reference/objects#copilotendpoints" + }, { "name": "createdAt", "description": "

Identifies the date and time when the object was created.

", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index e5887f5b9560..7d88c7eba266 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -6704,6 +6704,31 @@ type ConvertedToDiscussionEvent implements Node { id: ID! } +""" +Copilot endpoint information +""" +type CopilotEndpoints { + """ + Copilot API endpoint + """ + api: String! + + """ + Copilot origin tracker endpoint + """ + originTracker: String! + + """ + Copilot proxy endpoint + """ + proxy: String! + + """ + Copilot telemetry endpoint + """ + telemetry: String! +} + """ Autogenerated input type of CopyProjectV2 """ @@ -60019,6 +60044,11 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & to: DateTime ): ContributionsCollection! + """ + The user's Copilot endpoint information + """ + copilotEndpoints: CopilotEndpoints + """ Identifies the date and time when the object was created. """ diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 4451de3d84a4..62953ac12109 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -16212,6 +16212,47 @@ } ] }, + { + "name": "CopilotEndpoints", + "kind": "objects", + "id": "copilotendpoints", + "href": "/graphql/reference/objects#copilotendpoints", + "description": "

Copilot endpoint information.

", + "fields": [ + { + "name": "api", + "description": "

Copilot API endpoint.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "originTracker", + "description": "

Copilot origin tracker endpoint.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "proxy", + "description": "

Copilot proxy endpoint.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "telemetry", + "description": "

Copilot telemetry endpoint.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "CreatedCommitContribution", "kind": "objects", @@ -73541,6 +73582,14 @@ } ] }, + { + "name": "copilotEndpoints", + "description": "

The user's Copilot endpoint information.

", + "type": "CopilotEndpoints", + "id": "copilotendpoints", + "kind": "objects", + "href": "/graphql/reference/objects#copilotendpoints" + }, { "name": "createdAt", "description": "

Identifies the date and time when the object was created.

", From 601ed60e298eb5053fca43140e1a85e7df15cb17 Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Fri, 24 May 2024 09:35:57 -0700 Subject: [PATCH 2/2] Update audit log event data (#50810) --- src/audit-logs/lib/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audit-logs/lib/config.json b/src/audit-logs/lib/config.json index f2f95e76257a..17b04d29dc22 100644 --- a/src/audit-logs/lib/config.json +++ b/src/audit-logs/lib/config.json @@ -3,5 +3,5 @@ "apiOnlyEvents": "This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.", "apiRequestEvent": "This event is only available via audit log streaming." }, - "sha": "a6a9cd728ee6f9fb99376efe918bad64769cac2d" + "sha": "31b9ebf9dce9812e3264d981594ae80e192a34d8" } \ No newline at end of file