diff --git a/content/code-security/code-scanning/managing-your-code-scanning-configuration/index.md b/content/code-security/code-scanning/managing-your-code-scanning-configuration/index.md
index 3301b3d6baae..678c75104a32 100644
--- a/content/code-security/code-scanning/managing-your-code-scanning-configuration/index.md
+++ b/content/code-security/code-scanning/managing-your-code-scanning-configuration/index.md
@@ -13,6 +13,4 @@ topics:
- CodeQL
children:
- /enabling-delegated-alert-dismissal-for-code-scanning
- - /viewing-code-scanning-logs
---
-
diff --git a/content/code-security/concepts/security-at-scale/about-security-overview.md b/content/code-security/concepts/security-at-scale/about-security-overview.md
index 07c167b9edd3..909578cafbe5 100644
--- a/content/code-security/concepts/security-at-scale/about-security-overview.md
+++ b/content/code-security/concepts/security-at-scale/about-security-overview.md
@@ -143,7 +143,7 @@ If you're an owner of an {% data variables.enterprise.prodname_emu_enterprise %}
## Further reading
-* [AUTOTITLE](/code-security/getting-started/securing-your-repository){% ifversion security-configurations %}
-* [AUTOTITLE](/code-security/securing-your-organization){% else %}
-* [AUTOTITLE](/code-security/getting-started/quickstart-for-securing-your-organization){% endif %}
+* [AUTOTITLE](/code-security/getting-started/securing-your-repository){% ifversion fpt or ghec %}
+* [AUTOTITLE](/code-security/securing-your-organization){% elsif ghes %}
+* [AUTOTITLE](/code-security/how-tos/secure-at-scale/configure-enterprise-security/establish-complete-coverage){% endif %}
* [AUTOTITLE](/code-security/adopting-github-advanced-security-at-scale/introduction-to-adopting-github-advanced-security-at-scale)
diff --git a/content/code-security/dependabot/troubleshooting-dependabot/index.md b/content/code-security/dependabot/troubleshooting-dependabot/index.md
index 473bfbc36900..f7dead9cd7d6 100644
--- a/content/code-security/dependabot/troubleshooting-dependabot/index.md
+++ b/content/code-security/dependabot/troubleshooting-dependabot/index.md
@@ -14,7 +14,6 @@ topics:
- Repositories
shortTitle: Troubleshoot Dependabot
children:
- - /viewing-dependabot-job-logs
- /dependabot-updates-stopped
- /troubleshooting-dependabot-on-github-actions
---
diff --git a/content/code-security/how-tos/index.md b/content/code-security/how-tos/index.md
index 45ef956b3ef3..ec2bd10b98ec 100644
--- a/content/code-security/how-tos/index.md
+++ b/content/code-security/how-tos/index.md
@@ -22,4 +22,5 @@ children:
- /secure-your-supply-chain
- /maintain-quality-code
- /report-and-fix-vulnerabilities
+ - /view-and-interpret-data
---
diff --git a/content/code-security/how-tos/secure-your-secrets/customize-leak-detection/defining-custom-patterns-for-secret-scanning.md b/content/code-security/how-tos/secure-your-secrets/customize-leak-detection/defining-custom-patterns-for-secret-scanning.md
index dec0b2f554c1..256b26b46da5 100644
--- a/content/code-security/how-tos/secure-your-secrets/customize-leak-detection/defining-custom-patterns-for-secret-scanning.md
+++ b/content/code-security/how-tos/secure-your-secrets/customize-leak-detection/defining-custom-patterns-for-secret-scanning.md
@@ -8,6 +8,7 @@ redirect_from:
- /code-security/secret-security/defining-custom-patterns-for-secret-scanning
- /code-security/secret-scanning/defining-custom-patterns-for-secret-scanning
- /code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/custom-patterns/defining-custom-patterns-for-secret-scanning
+ - /code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/custom-patterns
versions:
fpt: '*'
ghes: '*'
diff --git a/content/code-security/security-overview/assessing-adoption-code-security.md b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/assessing-adoption-code-security.md
similarity index 97%
rename from content/code-security/security-overview/assessing-adoption-code-security.md
rename to content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/assessing-adoption-code-security.md
index 867163efde4f..fc4863cbf81f 100644
--- a/content/code-security/security-overview/assessing-adoption-code-security.md
+++ b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/assessing-adoption-code-security.md
@@ -2,21 +2,23 @@
title: Assessing adoption of security features
shortTitle: Assess adoption of features
allowTitleToDifferFromFilename: true
-intro: 'You can use security overview to see which teams and repositories have already enabled features for secure coding, and identify any that are not yet protected.'
+intro: You can use security overview to see which teams and repositories have already enabled features for secure coding, and identify any that are not yet protected.
permissions: '{% data reusables.permissions.security-overview %}'
product: '{% data reusables.gated-features.security-overview-fpt-both %}'
-type: how_to
+contentType: how-tos
topics:
- Security overview
- Code Security
- Secret Protection
- - 'Set up'
+ - Set up
- Organizations
- Teams
versions:
fpt: '*'
ghes: '*'
ghec: '*'
+redirect_from:
+ - /code-security/security-overview/assessing-adoption-code-security
---
## About adoption of features for secure coding
diff --git a/content/code-security/security-overview/assessing-code-security-risk.md b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/assessing-code-security-risk.md
similarity index 95%
rename from content/code-security/security-overview/assessing-code-security-risk.md
rename to content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/assessing-code-security-risk.md
index e2805636faed..afb9227b0f1c 100644
--- a/content/code-security/security-overview/assessing-code-security-risk.md
+++ b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/assessing-code-security-risk.md
@@ -2,10 +2,10 @@
title: Assessing the security risk of your code
shortTitle: Assess security risk of code
allowTitleToDifferFromFilename: true
-intro: 'You can use security overview to see which teams and repositories are affected by security alerts, and identify repositories for urgent remedial action.'
+intro: You can use security overview to see which teams and repositories are affected by security alerts, and identify repositories for urgent remedial action.
permissions: '{% data reusables.permissions.security-overview %}'
product: '{% data reusables.gated-features.security-overview-fpt-both %}'
-type: how_to
+contentType: how-tos
topics:
- Security overview
- Code Security
@@ -19,6 +19,7 @@ versions:
ghec: '*'
redirect_from:
- /code-security/security-overview/viewing-the-security-overview
+ - /code-security/security-overview/assessing-code-security-risk
---
## Exploring the security risks in your code
diff --git a/content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/export-risk-report-csv.md b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/export-risk-report-csv.md
similarity index 69%
rename from content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/export-risk-report-csv.md
rename to content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/export-risk-report-csv.md
index 6fdf4356f217..cf18b50e2513 100644
--- a/content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/export-risk-report-csv.md
+++ b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/export-risk-report-csv.md
@@ -1,10 +1,10 @@
---
-title: 'Exporting the secret risk assessment report to CSV'
-shortTitle: 'Export risk report CSV'
-intro: 'Export the {% data variables.product.prodname_secret_risk_assessment %} report to a CSV file for detailed investigation and stakeholder sharing.'
+title: Exporting the secret risk assessment report to CSV
+shortTitle: Export risk report CSV
+intro: Export the {% data variables.product.prodname_secret_risk_assessment %} report to a CSV file for detailed investigation and stakeholder sharing.
product: '{% data reusables.gated-features.secret-risk-assessment-report %}'
permissions: '{% data reusables.permissions.secret-risk-assessment-report-generation %}'
-type: how_to
+contentType: how-tos
versions:
feature: secret-risk-assessment
topics:
@@ -13,6 +13,8 @@ topics:
- Secret Protection
- Organizations
- Security
+redirect_from:
+ - /code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/export-risk-report-csv
---
{% data reusables.organizations.navigate-to-org %}
diff --git a/content/code-security/security-overview/exporting-data-from-security-overview.md b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/exporting-data-from-security-overview.md
similarity index 97%
rename from content/code-security/security-overview/exporting-data-from-security-overview.md
rename to content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/exporting-data-from-security-overview.md
index 3f38f6ab060d..637a3ea53481 100644
--- a/content/code-security/security-overview/exporting-data-from-security-overview.md
+++ b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/exporting-data-from-security-overview.md
@@ -6,7 +6,7 @@ permissions: '{% data reusables.permissions.security-overview %}'
product: '{% data reusables.gated-features.security-overview-fpt-both %}'
versions:
feature: security-overview-export-data
-type: how_to
+contentType: how-tos
topics:
- Security overview
- Code Security
@@ -16,6 +16,7 @@ topics:
- Teams
redirect_from:
- /code-security/security-overview/exporting-data-from-the-risk-and-coverage-pages
+ - /code-security/security-overview/exporting-data-from-security-overview
---
## About exporting your security overview data
diff --git a/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/index.md b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/index.md
new file mode 100644
index 000000000000..ec244d0d4b17
--- /dev/null
+++ b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/index.md
@@ -0,0 +1,28 @@
+---
+title: How-tos for analyzing security data for an organization
+shortTitle: Analyze organization data
+intro: Learn how to assess security risks, track feature adoption, view key metrics, and export data to analyze your organization’s security posture.
+versions:
+ fpt: '*'
+ ghes: '*'
+ ghec: '*'
+topics:
+ - Secret Protection
+ - Secret scanning
+ - Code Security
+ - Code scanning
+ - Vulnerabilities
+ - Dependencies
+ - Dependabot
+contentType: how-tos
+children:
+ - /assessing-code-security-risk
+ - /assessing-adoption-code-security
+ - /exporting-data-from-security-overview
+ - /viewing-security-insights
+ - /interpreting-security-findings
+ - /viewing-metrics-for-pull-request-alerts
+ - /viewing-metrics-for-secret-scanning-push-protection
+ - /viewing-metrics-for-dependabot-alerts
+ - /export-risk-report-csv
+---
diff --git a/content/code-security/securing-your-organization/managing-the-security-of-your-organization/interpreting-security-findings.md b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/interpreting-security-findings.md
similarity index 95%
rename from content/code-security/securing-your-organization/managing-the-security-of-your-organization/interpreting-security-findings.md
rename to content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/interpreting-security-findings.md
index 7560ffd3b5a6..a40840b536b2 100644
--- a/content/code-security/securing-your-organization/managing-the-security-of-your-organization/interpreting-security-findings.md
+++ b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/interpreting-security-findings.md
@@ -1,7 +1,7 @@
---
title: Interpreting security findings
shortTitle: Interpret security data
-intro: 'You can analyze security data on repositories in your organization to determine if you need to make changes to your security setup.'
+intro: You can analyze security data on repositories in your organization to determine if you need to make changes to your security setup.
permissions: '{% data reusables.permissions.security-org-enable %}'
versions:
feature: security-configurations
@@ -10,8 +10,11 @@ topics:
- Secret Protection
- Organizations
- Security
+contentType: how-tos
redirect_from:
- /code-security/securing-your-organization/managing-the-security-of-your-organization/interpreting-security-findings-on-a-repository
+ - /code-security/securing-your-organization/managing-the-security-of-your-organization/interpreting-security-findings
+ - /code-security/securing-your-organization/managing-the-security-of-your-organization
---
## About security findings
diff --git a/content/code-security/security-overview/viewing-metrics-for-dependabot-alerts.md b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/viewing-metrics-for-dependabot-alerts.md
similarity index 93%
rename from content/code-security/security-overview/viewing-metrics-for-dependabot-alerts.md
rename to content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/viewing-metrics-for-dependabot-alerts.md
index f191c65b111d..0ea54626ec84 100644
--- a/content/code-security/security-overview/viewing-metrics-for-dependabot-alerts.md
+++ b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/viewing-metrics-for-dependabot-alerts.md
@@ -2,12 +2,12 @@
title: Viewing metrics for Dependabot alerts
shortTitle: View Dependabot metrics
allowTitleToDifferFromFilename: true
-intro: 'You can use security overview to see how many {% data variables.product.prodname_dependabot_alerts %} are in repositories across your organization, to prioritize the most critical alerts to fix, and to identify repositories where you may need to take action.'
+intro: You can use security overview to see how many {% data variables.product.prodname_dependabot_alerts %} are in repositories across your organization, to prioritize the most critical alerts to fix, and to identify repositories where you may need to take action.
versions:
feature: dependabot-metrics
permissions: '{% data reusables.permissions.security-overview %}'
product: '{% data reusables.gated-features.security-overview-fpt-cs-only %}'
-type: how_to
+contentType: how-tos
topics:
- Security overview
- Code Security
@@ -15,6 +15,8 @@ topics:
- Organizations
- Alerts
- Vulnerabilities
+redirect_from:
+ - /code-security/security-overview/viewing-metrics-for-dependabot-alerts
---
## About metrics for {% data variables.product.prodname_dependabot %}
diff --git a/content/code-security/security-overview/viewing-metrics-for-pull-request-alerts.md b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/viewing-metrics-for-pull-request-alerts.md
similarity index 94%
rename from content/code-security/security-overview/viewing-metrics-for-pull-request-alerts.md
rename to content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/viewing-metrics-for-pull-request-alerts.md
index 916a7df066f3..87b223d04f30 100644
--- a/content/code-security/security-overview/viewing-metrics-for-pull-request-alerts.md
+++ b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/viewing-metrics-for-pull-request-alerts.md
@@ -2,10 +2,10 @@
title: Viewing metrics for pull request alerts
shortTitle: View PR alert metrics
allowTitleToDifferFromFilename: true
-intro: 'You can use security overview to see how {% data variables.product.prodname_codeql %} is performing in pull requests for repositories across your organizations, and to identify repositories where you may need to take action.'
+intro: You can use security overview to see how {% data variables.product.prodname_codeql %} is performing in pull requests for repositories across your organizations, and to identify repositories where you may need to take action.
permissions: '{% data reusables.permissions.security-overview %}'
product: '{% data reusables.gated-features.security-overview-fpt-cs-only %}'
-type: how_to
+contentType: how-tos
topics:
- Security overview
- Code Security
@@ -15,6 +15,8 @@ topics:
- Teams
versions:
feature: security-overview-org-codeql-pr-alerts
+redirect_from:
+ - /code-security/security-overview/viewing-metrics-for-pull-request-alerts
---
## About {% data variables.product.prodname_codeql %} pull request alerts metrics
diff --git a/content/code-security/security-overview/viewing-metrics-for-secret-scanning-push-protection.md b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/viewing-metrics-for-secret-scanning-push-protection.md
similarity index 88%
rename from content/code-security/security-overview/viewing-metrics-for-secret-scanning-push-protection.md
rename to content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/viewing-metrics-for-secret-scanning-push-protection.md
index 1cc74d226429..f5f913549f23 100644
--- a/content/code-security/security-overview/viewing-metrics-for-secret-scanning-push-protection.md
+++ b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/viewing-metrics-for-secret-scanning-push-protection.md
@@ -2,12 +2,13 @@
title: Viewing metrics for secret scanning push protection
shortTitle: View secret scanning metrics
allowTitleToDifferFromFilename: true
-intro: 'You can use security overview to see how {% data variables.product.prodname_secret_scanning %} push protection is performing in repositories across your organization{% ifversion security-overview-enterprise-secret-scanning-metrics %} or enterprise{% endif %}, and to identify repositories where you may need to take action.'
+intro: You can use security overview to see how {% data variables.product.prodname_secret_scanning %} push protection is performing in repositories across your organization{% ifversion security-overview-enterprise-secret-scanning-metrics %} or enterprise{% endif %}, and to identify repositories where you may need to take action.
permissions: '{% data reusables.permissions.security-overview %}'
product: '{% data reusables.gated-features.security-overview-fpt-sp-only %}'
-type: how_to
+contentType: how-tos
redirect_from:
-- /code-security/security-overview/viewing-metrics-for-secret-scanning-push-protection-in-your-organization
+ - /code-security/security-overview/viewing-metrics-for-secret-scanning-push-protection-in-your-organization
+ - /code-security/security-overview/viewing-metrics-for-secret-scanning-push-protection
topics:
- Security overview
- Secret Protection
diff --git a/content/code-security/security-overview/viewing-security-insights.md b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/viewing-security-insights.md
similarity index 98%
rename from content/code-security/security-overview/viewing-security-insights.md
rename to content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/viewing-security-insights.md
index ab7259b56066..b782e1812e5f 100644
--- a/content/code-security/security-overview/viewing-security-insights.md
+++ b/content/code-security/how-tos/view-and-interpret-data/analyze-organization-data/viewing-security-insights.md
@@ -1,14 +1,14 @@
---
title: Viewing security insights
shortTitle: View security insights
-intro: 'You can use the overview dashboard in security overview to monitor the security landscape of the repositories in your organization{% ifversion security-overview-dashboard-enterprise %} or enterprise{% endif %}.'
+intro: You can use the overview dashboard in security overview to monitor the security landscape of the repositories in your organization{% ifversion security-overview-dashboard-enterprise %} or enterprise{% endif %}.
permissions: '{% data reusables.permissions.security-overview %}'
product: '{% data reusables.gated-features.security-overview-fpt-both %}'
versions:
fpt: '*'
ghec: '*'
ghes: '*'
-type: how_to
+contentType: how-tos
topics:
- Security overview
- Code Security
@@ -17,11 +17,10 @@ topics:
- Organizations
redirect_from:
- /code-security/security-overview/viewing-security-insights-for-your-organization
+ - /code-security/security-overview/viewing-security-insights
allowTitleToDifferFromFilename: true
---
-
-
## {% ifversion security-overview-dashboard-enterprise %}About security insights{% else %} About organization-level security insights{% endif %}
The overview page in security overview is a consolidated dashboard of insights about your organization{% ifversion security-overview-dashboard-enterprise %} or enterprise{% endif %}'s security landscape and progress. You can use the dashboard to monitor the health of your application security program, collaborate with engineering teams, and gather data for benchmarking purposes.
diff --git a/content/code-security/how-tos/view-and-interpret-data/index.md b/content/code-security/how-tos/view-and-interpret-data/index.md
new file mode 100644
index 000000000000..c4b314c4dae1
--- /dev/null
+++ b/content/code-security/how-tos/view-and-interpret-data/index.md
@@ -0,0 +1,23 @@
+---
+title: How-tos for viewing and interpreting security results
+shortTitle: View and interpret data
+intro: Discover how to analyze organization-level security data, interpret key insights and metrics, and export reports to assess your security posture.
+versions:
+ fpt: '*'
+ ghes: '*'
+ ghec: '*'
+topics:
+ - Secret Protection
+ - Secret scanning
+ - Code Security
+ - Code scanning
+ - Vulnerabilities
+ - Dependencies
+ - Dependabot
+contentType: how-tos
+children:
+ - /analyze-organization-data
+ - /viewing-code-scanning-logs
+ - /viewing-dependabot-job-logs
+ - /metrics-for-custom-patterns
+---
diff --git a/content/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/custom-patterns/metrics-for-custom-patterns.md b/content/code-security/how-tos/view-and-interpret-data/metrics-for-custom-patterns.md
similarity index 75%
rename from content/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/custom-patterns/metrics-for-custom-patterns.md
rename to content/code-security/how-tos/view-and-interpret-data/metrics-for-custom-patterns.md
index b7d9b3db32b5..1a210b8ee2dc 100644
--- a/content/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/custom-patterns/metrics-for-custom-patterns.md
+++ b/content/code-security/how-tos/view-and-interpret-data/metrics-for-custom-patterns.md
@@ -1,16 +1,18 @@
---
title: Metrics for custom patterns
shortTitle: Custom pattern metrics
-intro: 'You can view alert metrics for custom patterns at the repository, organization, and enterprise levels.'
+intro: You can view alert metrics for custom patterns at the repository, organization, and enterprise levels.
permissions: '{% data reusables.permissions.security-enterprise-enable %}'
versions:
fpt: '*'
ghec: '*'
ghes: '*'
-type: how_to
+contentType: how-tos
topics:
- Secret Protection
- Secret scanning
+redirect_from:
+ - /code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/custom-patterns/metrics-for-custom-patterns
---
## Metrics for custom patterns
diff --git a/content/code-security/code-scanning/managing-your-code-scanning-configuration/viewing-code-scanning-logs.md b/content/code-security/how-tos/view-and-interpret-data/viewing-code-scanning-logs.md
similarity index 96%
rename from content/code-security/code-scanning/managing-your-code-scanning-configuration/viewing-code-scanning-logs.md
rename to content/code-security/how-tos/view-and-interpret-data/viewing-code-scanning-logs.md
index 8b480bb91ae8..0a2b866a9813 100644
--- a/content/code-security/code-scanning/managing-your-code-scanning-configuration/viewing-code-scanning-logs.md
+++ b/content/code-security/how-tos/view-and-interpret-data/viewing-code-scanning-logs.md
@@ -1,14 +1,16 @@
---
title: Viewing code scanning logs
-intro: 'You can view the output generated during {% data variables.product.prodname_code_scanning %} analysis in {% data variables.product.github %}.'
+intro: You can view the output generated during {% data variables.product.prodname_code_scanning %} analysis in {% data variables.product.github %}.
permissions: '{% data reusables.permissions.code-scanning-pr-alerts %}'
redirect_from:
- /code-security/secure-coding/automatically-scanning-your-code-for-vulnerabilities-and-errors/viewing-code-scanning-logs
- /code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/viewing-code-scanning-logs
+ - /code-security/code-scanning/managing-your-code-scanning-configuration/viewing-code-scanning-logs
versions:
fpt: '*'
ghes: '*'
ghec: '*'
+contentType: how-tos
topics:
- Security
shortTitle: View code scanning logs
diff --git a/content/code-security/dependabot/troubleshooting-dependabot/viewing-dependabot-job-logs.md b/content/code-security/how-tos/view-and-interpret-data/viewing-dependabot-job-logs.md
similarity index 88%
rename from content/code-security/dependabot/troubleshooting-dependabot/viewing-dependabot-job-logs.md
rename to content/code-security/how-tos/view-and-interpret-data/viewing-dependabot-job-logs.md
index 746f75288cd6..f3a236012e4a 100644
--- a/content/code-security/dependabot/troubleshooting-dependabot/viewing-dependabot-job-logs.md
+++ b/content/code-security/how-tos/view-and-interpret-data/viewing-dependabot-job-logs.md
@@ -1,13 +1,13 @@
---
title: Viewing Dependabot job logs
-intro: 'To support debugging of {% data variables.product.prodname_dependabot %} pull requests, {% data variables.product.github %} provides logs of all {% data variables.product.prodname_dependabot %} jobs.'
-shortTitle: Viewing Dependabot logs
+intro: To support debugging of {% data variables.product.prodname_dependabot %} pull requests, {% data variables.product.github %} provides logs of all {% data variables.product.prodname_dependabot %} jobs.
+shortTitle: View Dependabot logs
permissions: '{% data reusables.permissions.dependabot-various-tasks %}'
versions:
fpt: '*'
ghec: '*'
ghes: '*'
-type: how_to
+contentType: how-tos
topics:
- Dependabot
- Troubleshooting
@@ -16,6 +16,7 @@ topics:
- Dependencies
redirect_from:
- /code-security/dependabot/working-with-dependabot/viewing-dependabot-job-logs
+ - /code-security/dependabot/troubleshooting-dependabot/viewing-dependabot-job-logs
---
## About {% data variables.product.prodname_dependabot %} job logs
diff --git a/content/code-security/reference/index.md b/content/code-security/reference/index.md
index f28af0d214f4..13c7e8d675fa 100644
--- a/content/code-security/reference/index.md
+++ b/content/code-security/reference/index.md
@@ -18,4 +18,5 @@ contentType: reference
children:
- /code-scanning
- /supply-chain-security
+ - /permission-levels-for-repository-security-advisories
---
diff --git a/content/code-security/security-advisories/working-with-repository-security-advisories/permission-levels-for-repository-security-advisories.md b/content/code-security/reference/permission-levels-for-repository-security-advisories.md
similarity index 96%
rename from content/code-security/security-advisories/working-with-repository-security-advisories/permission-levels-for-repository-security-advisories.md
rename to content/code-security/reference/permission-levels-for-repository-security-advisories.md
index ce706b933421..6e109806df3c 100644
--- a/content/code-security/security-advisories/working-with-repository-security-advisories/permission-levels-for-repository-security-advisories.md
+++ b/content/code-security/reference/permission-levels-for-repository-security-advisories.md
@@ -8,15 +8,16 @@ redirect_from:
- /code-security/security-advisories/permission-levels-for-security-advisories
- /code-security/repository-security-advisories/permission-levels-for-repository-security-advisories
- /code-security/security-advisories/repository-security-advisories/permission-levels-for-repository-security-advisories
+ - /code-security/security-advisories/working-with-repository-security-advisories/permission-levels-for-repository-security-advisories
versions:
fpt: '*'
ghec: '*'
-type: reference
topics:
- Security advisories
- Vulnerabilities
- Permissions
shortTitle: Permission levels
+contentType: reference
---
## Permissions overview
diff --git a/content/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/custom-patterns/index.md b/content/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/custom-patterns/index.md
deleted file mode 100644
index e9dd9888daff..000000000000
--- a/content/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/custom-patterns/index.md
+++ /dev/null
@@ -1,18 +0,0 @@
----
-title: Custom patterns
-shortTitle: Custom patterns
-allowTitleToDifferFromFilename: true
-intro: You can extend the capabilities of {% data variables.product.prodname_secret_scanning %} to search for your own patterns. These custom patterns can range from your service API keys to connection strings into cloud resources.
-product: '{% data reusables.gated-features.secret-scanning-custom-patterns %}'
-versions:
- fpt: '*'
- ghes: '*'
- ghec: '*'
-topics:
- - Secret scanning
- - Secret Protection
- - Repositories
-children:
- - /metrics-for-custom-patterns
----
-
diff --git a/content/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/index.md b/content/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/index.md
index 9d7c3f3d23f7..e373a6fe13a1 100644
--- a/content/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/index.md
+++ b/content/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/index.md
@@ -13,6 +13,5 @@ topics:
- Secret Protection
- Repositories
children:
- - /custom-patterns
- /enabling-delegated-alert-dismissal-for-secret-scanning
---
diff --git a/content/code-security/securing-your-organization/index.md b/content/code-security/securing-your-organization/index.md
index 3fcf67cde8d0..85b7386930c3 100644
--- a/content/code-security/securing-your-organization/index.md
+++ b/content/code-security/securing-your-organization/index.md
@@ -1,11 +1,9 @@
---
title: Securing your organization
shortTitle: Secure your organization
-intro: 'Secure your organization at scale with {% data variables.product.company_short %}''s security products{% ifversion security-configurations %} through {% data variables.product.prodname_security_configurations %} and {% data variables.product.prodname_global_settings %}{% endif %}.{% ifversion secret-risk-assessment %}
{% data variables.secret-scanning.secret-risk-assessment-cta-product %}{% endif %}'
+intro: 'Secure your organization at scale with {% data variables.product.company_short %}''s security products through {% data variables.product.prodname_security_configurations %} and {% data variables.product.prodname_global_settings %}.{% ifversion secret-risk-assessment %}
{% data variables.secret-scanning.secret-risk-assessment-cta-product %}{% endif %}'
versions:
- fpt: '*'
- ghec: '*'
- ghes: '*'
+ feature: secret-risk-assessment
topics:
- Code Security
- Secret Protection
@@ -13,7 +11,6 @@ topics:
- Security
children:
- /introduction-to-securing-your-organization-at-scale
- - /managing-the-security-of-your-organization
- /understanding-your-organizations-exposure-to-leaked-secrets
- /fixing-security-alerts-at-scale
---
diff --git a/content/code-security/securing-your-organization/managing-the-security-of-your-organization/index.md b/content/code-security/securing-your-organization/managing-the-security-of-your-organization/index.md
deleted file mode 100644
index 8c455d0ff5eb..000000000000
--- a/content/code-security/securing-your-organization/managing-the-security-of-your-organization/index.md
+++ /dev/null
@@ -1,15 +0,0 @@
----
-title: Managing the security of your organization
-shortTitle: Manage organization security
-intro: You can interpret security findings and manage your security enablement settings to better secure your organization.
-versions:
- feature: security-configurations
-topics:
- - Code Security
- - Secret Protection
- - Organizations
- - Security
-children:
- - /interpreting-security-findings
----
-
diff --git a/content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/index.md b/content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/index.md
index f30da3d7a223..19816eea7f44 100644
--- a/content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/index.md
+++ b/content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/index.md
@@ -11,8 +11,8 @@ topics:
- Code Security
- Security
children:
- - /export-risk-report-csv
- /risk-report-csv-contents
- /estimating-the-price-of-secret-protection
- /organizing-remediation-efforts-for-leaked-secrets
---
+
diff --git a/content/code-security/security-advisories/working-with-repository-security-advisories/index.md b/content/code-security/security-advisories/working-with-repository-security-advisories/index.md
index 573e2ae2683c..8d3c64f77713 100644
--- a/content/code-security/security-advisories/working-with-repository-security-advisories/index.md
+++ b/content/code-security/security-advisories/working-with-repository-security-advisories/index.md
@@ -16,6 +16,6 @@ topics:
- Repositories
- CVEs
children:
- - /permission-levels-for-repository-security-advisories
- /configuring-private-vulnerability-reporting-for-an-organization
---
+
diff --git a/content/code-security/security-overview/index.md b/content/code-security/security-overview/index.md
index d9713ca0cf13..d06fae56c7c9 100644
--- a/content/code-security/security-overview/index.md
+++ b/content/code-security/security-overview/index.md
@@ -13,15 +13,7 @@ topics:
- Code Security
- Secret Protection
children:
- - /viewing-security-insights
- - /assessing-adoption-code-security
- - /assessing-code-security-risk
- /filtering-alerts-in-security-overview
- /enabling-security-features-for-multiple-repositories
- - /exporting-data-from-security-overview
- - /viewing-metrics-for-dependabot-alerts
- - /viewing-metrics-for-secret-scanning-push-protection
- - /viewing-metrics-for-pull-request-alerts
- /review-alert-dismissal-requests
---
-
diff --git a/content/code-security/tutorials/secure-your-organization/index.md b/content/code-security/tutorials/secure-your-organization/index.md
index 0e404a051459..4448cf4101ab 100644
--- a/content/code-security/tutorials/secure-your-organization/index.md
+++ b/content/code-security/tutorials/secure-your-organization/index.md
@@ -13,4 +13,3 @@ children:
- /prioritize-alerts-in-production-code
- /interpreting-secret-risk-assessment-results
---
-
diff --git a/content/repositories/working-with-files/managing-files/adding-a-file-to-a-repository.md b/content/repositories/working-with-files/managing-files/adding-a-file-to-a-repository.md
index c69eddc04874..3a706893a3c3 100644
--- a/content/repositories/working-with-files/managing-files/adding-a-file-to-a-repository.md
+++ b/content/repositories/working-with-files/managing-files/adding-a-file-to-a-repository.md
@@ -23,7 +23,7 @@ shortTitle: Add a file
Files that you add to a repository via a browser are limited to {% data variables.large_files.max_github_browser_size %} per file. You can add larger files, up to {% data variables.large_files.max_github_size %} each, via the command line. For more information, see [Adding a file to a repository using the command line](#adding-a-file-to-a-repository-using-the-command-line). To add files larger than {% data variables.large_files.max_github_size %}, you must use {% data variables.large_files.product_name_long %}. For more information, see [AUTOTITLE](/repositories/working-with-files/managing-large-files/about-large-files-on-github).
-You can upload multiple files to {% data variables.product.github %} at the same time.
+You can upload up to 100 files to {% data variables.product.github %} at the same time.
{% data reusables.repositories.protected-branches-block-web-edits-uploads %}
diff --git a/content/rest/projects/index.md b/content/rest/projects/index.md
index 1ec807fba81e..a6083c992b73 100644
--- a/content/rest/projects/index.md
+++ b/content/rest/projects/index.md
@@ -9,9 +9,9 @@ children:
- /fields
- /items
- /projects
+ - /views
versions:
fpt: '*'
ghec: '*'
- ghes: '>=3.19'
---
diff --git a/content/rest/projects/views.md b/content/rest/projects/views.md
new file mode 100644
index 000000000000..db856e60211c
--- /dev/null
+++ b/content/rest/projects/views.md
@@ -0,0 +1,14 @@
+---
+title: REST API endpoints for Project views
+shortTitle: Project views
+intro: Use the REST API to manage Project views
+versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
+ fpt: '*'
+ ghec: '*'
+topics:
+ - API
+autogenerated: rest
+allowTitleToDifferFromFilename: true
+---
+
+
diff --git a/data/learning-tracks/code-security.yml b/data/learning-tracks/code-security.yml
index 07a25ef9116d..7d1a00382724 100644
--- a/data/learning-tracks/code-security.yml
+++ b/data/learning-tracks/code-security.yml
@@ -150,11 +150,11 @@ security_alerts:
%}/code-security/concepts/security-at-scale/about-security-overview {% endif %}
- >-
{% ifversion ghec or ghes
- %}/code-security/security-overview/assessing-adoption-code-security {%
+ %}/code-security/how-tos/view-and-interpret-data/analyze-organization-data/assessing-adoption-code-security{%
endif %}
- >-
{% ifversion ghec or ghes
- %}/code-security/security-overview/assessing-code-security-risk {% endif
+ %}/code-security/how-tos/view-and-interpret-data/analyze-organization-data/assessing-code-security-risk{% endif
%}
- >-
{% ifversion ghec or ghes
diff --git a/data/reusables/copilot/repository-custom-instructions-types.md b/data/reusables/copilot/repository-custom-instructions-types.md
index f3ab16a7985a..3a3b988d7306 100644
--- a/data/reusables/copilot/repository-custom-instructions-types.md
+++ b/data/reusables/copilot/repository-custom-instructions-types.md
@@ -1,4 +1,4 @@
You can create repository custom instructions in two ways:
* **Repository-wide instructions**: Create a single `copilot-instructions.md` file at the repository root that applies to all files in the repository.
-* **Path-specific instructions**: Create one or more `.instructions.md` files with an `applyTo` field that apply only to specific files or directories. Path-specific instructions are currently supported for **{% data variables.copilot.copilot_chat_short %}** in {% data variables.product.prodname_vscode %} and **{% data variables.product.prodname_copilot %} coding agent**.
+* **Path-specific instructions**: Create one or more `.instructions.md` files with an `applyTo` field that apply only to specific files or directories. Path-specific instructions are currently supported for **{% data variables.copilot.copilot_chat_short %}** in {% data variables.product.prodname_vscode %}, {% data variables.product.prodname_vs %}, and **{% data variables.product.prodname_copilot %} coding agent**.
diff --git a/data/reusables/getting-started/configuring-security-features.md b/data/reusables/getting-started/configuring-security-features.md
index 4ba3ffa6bb6f..2cca174c1d3a 100644
--- a/data/reusables/getting-started/configuring-security-features.md
+++ b/data/reusables/getting-started/configuring-security-features.md
@@ -1 +1 @@
-To keep {% ifversion ghes %}the organizations in {% data variables.location.product_location %}{% else %}your organization{% endif %} secure, you can use a variety of {% data variables.product.prodname_dotcom %} security features, including security policies, dependency graphs, secret scanning and Dependabot security and version updates. For more information, see {% ifversion security-configurations %}[AUTOTITLE](/code-security/securing-your-organization).{% else %}[AUTOTITLE](/code-security/getting-started/quickstart-for-securing-your-organization).{% endif %}
+To keep {% ifversion ghes %}the organizations in {% data variables.location.product_location %}{% else %}your organization{% endif %} secure, you can use a variety of {% data variables.product.prodname_dotcom %} security features, including security policies, dependency graphs, secret scanning and Dependabot security and version updates.{% ifversion secret-risk-assessment %} For more information, see [AUTOTITLE](/code-security/securing-your-organization).{% elsif ghes < 3.15 %} For more information, see [AUTOTITLE](/code-security/getting-started/quickstart-for-securing-your-organization).{% endif %}
diff --git a/src/audit-logs/data/fpt/organization.json b/src/audit-logs/data/fpt/organization.json
index 3f7ef16dda59..df01164f3445 100644
--- a/src/audit-logs/data/fpt/organization.json
+++ b/src/audit-logs/data/fpt/organization.json
@@ -88,7 +88,7 @@
"created_at",
"_document_id"
],
- "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/editing-a-repository-security-advisory"
+ "docs_reference_titles": "Editing a repository security advisory"
},
{
"action": "advisory_credit.create",
@@ -11704,7 +11704,7 @@
"operation_type",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_enabled",
@@ -11732,7 +11732,7 @@
"languages",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_updated",
@@ -11760,7 +11760,7 @@
"business_id",
"actor_is_bot"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codespaces_trusted_repo_access_granted",
diff --git a/src/audit-logs/data/ghec/enterprise.json b/src/audit-logs/data/ghec/enterprise.json
index 44ffa9b4155f..bba6819625d0 100644
--- a/src/audit-logs/data/ghec/enterprise.json
+++ b/src/audit-logs/data/ghec/enterprise.json
@@ -88,7 +88,7 @@
"created_at",
"_document_id"
],
- "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/editing-a-repository-security-advisory"
+ "docs_reference_titles": "Editing a repository security advisory"
},
{
"action": "advisory_credit.create",
@@ -15122,7 +15122,7 @@
"operation_type",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_enabled",
@@ -15150,7 +15150,7 @@
"languages",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_updated",
@@ -15178,7 +15178,7 @@
"business_id",
"actor_is_bot"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codespaces_trusted_repo_access_granted",
diff --git a/src/audit-logs/data/ghec/organization.json b/src/audit-logs/data/ghec/organization.json
index 3f7ef16dda59..df01164f3445 100644
--- a/src/audit-logs/data/ghec/organization.json
+++ b/src/audit-logs/data/ghec/organization.json
@@ -88,7 +88,7 @@
"created_at",
"_document_id"
],
- "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/editing-a-repository-security-advisory"
+ "docs_reference_titles": "Editing a repository security advisory"
},
{
"action": "advisory_credit.create",
@@ -11704,7 +11704,7 @@
"operation_type",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_enabled",
@@ -11732,7 +11732,7 @@
"languages",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_updated",
@@ -11760,7 +11760,7 @@
"business_id",
"actor_is_bot"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codespaces_trusted_repo_access_granted",
diff --git a/src/audit-logs/data/ghes-3.14/enterprise.json b/src/audit-logs/data/ghes-3.14/enterprise.json
index 67473abc91a5..e2852e94ef70 100644
--- a/src/audit-logs/data/ghes-3.14/enterprise.json
+++ b/src/audit-logs/data/ghes-3.14/enterprise.json
@@ -10471,7 +10471,7 @@
"operation_type",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_enabled",
@@ -10499,7 +10499,7 @@
"languages",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_updated",
@@ -10527,7 +10527,7 @@
"business_id",
"actor_is_bot"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.collaborators_only",
diff --git a/src/audit-logs/data/ghes-3.14/organization.json b/src/audit-logs/data/ghes-3.14/organization.json
index 377fb8b96b1b..cadc162f422c 100644
--- a/src/audit-logs/data/ghes-3.14/organization.json
+++ b/src/audit-logs/data/ghes-3.14/organization.json
@@ -88,7 +88,7 @@
"created_at",
"_document_id"
],
- "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/editing-a-repository-security-advisory"
+ "docs_reference_titles": "Editing a repository security advisory"
},
{
"action": "advisory_credit.create",
@@ -10201,7 +10201,7 @@
"operation_type",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_enabled",
@@ -10229,7 +10229,7 @@
"languages",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_updated",
@@ -10257,7 +10257,7 @@
"business_id",
"actor_is_bot"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codespaces_trusted_repo_access_granted",
diff --git a/src/audit-logs/data/ghes-3.15/enterprise.json b/src/audit-logs/data/ghes-3.15/enterprise.json
index 5d5ca1a61bf4..22f5b792061d 100644
--- a/src/audit-logs/data/ghes-3.15/enterprise.json
+++ b/src/audit-logs/data/ghes-3.15/enterprise.json
@@ -10670,7 +10670,7 @@
"operation_type",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_enabled",
@@ -10698,7 +10698,7 @@
"languages",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_updated",
@@ -10726,7 +10726,7 @@
"business_id",
"actor_is_bot"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.collaborators_only",
diff --git a/src/audit-logs/data/ghes-3.15/organization.json b/src/audit-logs/data/ghes-3.15/organization.json
index 0052dafc605b..784012b54747 100644
--- a/src/audit-logs/data/ghes-3.15/organization.json
+++ b/src/audit-logs/data/ghes-3.15/organization.json
@@ -88,7 +88,7 @@
"created_at",
"_document_id"
],
- "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/editing-a-repository-security-advisory"
+ "docs_reference_titles": "Editing a repository security advisory"
},
{
"action": "advisory_credit.create",
@@ -10443,7 +10443,7 @@
"operation_type",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_enabled",
@@ -10471,7 +10471,7 @@
"languages",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_updated",
@@ -10499,7 +10499,7 @@
"business_id",
"actor_is_bot"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codespaces_trusted_repo_access_granted",
diff --git a/src/audit-logs/data/ghes-3.16/enterprise.json b/src/audit-logs/data/ghes-3.16/enterprise.json
index cf8779524283..f22088137803 100644
--- a/src/audit-logs/data/ghes-3.16/enterprise.json
+++ b/src/audit-logs/data/ghes-3.16/enterprise.json
@@ -11075,7 +11075,7 @@
"operation_type",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_enabled",
@@ -11103,7 +11103,7 @@
"languages",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_updated",
@@ -11131,7 +11131,7 @@
"business_id",
"actor_is_bot"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.collaborators_only",
diff --git a/src/audit-logs/data/ghes-3.16/organization.json b/src/audit-logs/data/ghes-3.16/organization.json
index 82b1db7fa6cc..4088ee633334 100644
--- a/src/audit-logs/data/ghes-3.16/organization.json
+++ b/src/audit-logs/data/ghes-3.16/organization.json
@@ -88,7 +88,7 @@
"created_at",
"_document_id"
],
- "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/editing-a-repository-security-advisory"
+ "docs_reference_titles": "Editing a repository security advisory"
},
{
"action": "advisory_credit.create",
@@ -10861,7 +10861,7 @@
"operation_type",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_enabled",
@@ -10889,7 +10889,7 @@
"languages",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_updated",
@@ -10917,7 +10917,7 @@
"business_id",
"actor_is_bot"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codespaces_trusted_repo_access_granted",
diff --git a/src/audit-logs/data/ghes-3.17/enterprise.json b/src/audit-logs/data/ghes-3.17/enterprise.json
index e5169af1c926..ec45e2457f0a 100644
--- a/src/audit-logs/data/ghes-3.17/enterprise.json
+++ b/src/audit-logs/data/ghes-3.17/enterprise.json
@@ -11493,7 +11493,7 @@
"operation_type",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_enabled",
@@ -11521,7 +11521,7 @@
"languages",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_updated",
@@ -11549,7 +11549,7 @@
"business_id",
"actor_is_bot"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.collaborators_only",
diff --git a/src/audit-logs/data/ghes-3.17/organization.json b/src/audit-logs/data/ghes-3.17/organization.json
index 909b7b5db272..e5fbc8ce190f 100644
--- a/src/audit-logs/data/ghes-3.17/organization.json
+++ b/src/audit-logs/data/ghes-3.17/organization.json
@@ -88,7 +88,7 @@
"created_at",
"_document_id"
],
- "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/editing-a-repository-security-advisory"
+ "docs_reference_titles": "Editing a repository security advisory"
},
{
"action": "advisory_credit.create",
@@ -11091,7 +11091,7 @@
"operation_type",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_enabled",
@@ -11119,7 +11119,7 @@
"languages",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_updated",
@@ -11147,7 +11147,7 @@
"business_id",
"actor_is_bot"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codespaces_trusted_repo_access_granted",
diff --git a/src/audit-logs/data/ghes-3.18/enterprise.json b/src/audit-logs/data/ghes-3.18/enterprise.json
index 225b1bfbc23f..1934d002cce1 100644
--- a/src/audit-logs/data/ghes-3.18/enterprise.json
+++ b/src/audit-logs/data/ghes-3.18/enterprise.json
@@ -11542,7 +11542,7 @@
"operation_type",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_enabled",
@@ -11570,7 +11570,7 @@
"languages",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_updated",
@@ -11598,7 +11598,7 @@
"business_id",
"actor_is_bot"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.collaborators_only",
diff --git a/src/audit-logs/data/ghes-3.18/organization.json b/src/audit-logs/data/ghes-3.18/organization.json
index 0a1ab3e37892..8bf50ed247da 100644
--- a/src/audit-logs/data/ghes-3.18/organization.json
+++ b/src/audit-logs/data/ghes-3.18/organization.json
@@ -88,7 +88,7 @@
"created_at",
"_document_id"
],
- "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/editing-a-repository-security-advisory"
+ "docs_reference_titles": "Editing a repository security advisory"
},
{
"action": "advisory_credit.create",
@@ -11282,7 +11282,7 @@
"operation_type",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_enabled",
@@ -11310,7 +11310,7 @@
"languages",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_updated",
@@ -11338,7 +11338,7 @@
"business_id",
"actor_is_bot"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codespaces_trusted_repo_access_granted",
diff --git a/src/audit-logs/data/ghes-3.19/enterprise.json b/src/audit-logs/data/ghes-3.19/enterprise.json
index 48fc4b260852..a358b94f43ca 100644
--- a/src/audit-logs/data/ghes-3.19/enterprise.json
+++ b/src/audit-logs/data/ghes-3.19/enterprise.json
@@ -12171,7 +12171,7 @@
"operation_type",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_enabled",
@@ -12199,7 +12199,7 @@
"languages",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_updated",
@@ -12227,7 +12227,7 @@
"business_id",
"actor_is_bot"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.collaborators_only",
diff --git a/src/audit-logs/data/ghes-3.19/organization.json b/src/audit-logs/data/ghes-3.19/organization.json
index 35292bad6221..ae7d22cfd957 100644
--- a/src/audit-logs/data/ghes-3.19/organization.json
+++ b/src/audit-logs/data/ghes-3.19/organization.json
@@ -88,7 +88,7 @@
"created_at",
"_document_id"
],
- "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/editing-a-repository-security-advisory"
+ "docs_reference_titles": "Editing a repository security advisory"
},
{
"action": "advisory_credit.create",
@@ -11723,7 +11723,7 @@
"operation_type",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_enabled",
@@ -11751,7 +11751,7 @@
"languages",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_updated",
@@ -11779,7 +11779,7 @@
"business_id",
"actor_is_bot"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codespaces_trusted_repo_access_granted",
diff --git a/src/audit-logs/data/ghes-3.20/enterprise.json b/src/audit-logs/data/ghes-3.20/enterprise.json
index a4551ae77128..b829ae011d3e 100644
--- a/src/audit-logs/data/ghes-3.20/enterprise.json
+++ b/src/audit-logs/data/ghes-3.20/enterprise.json
@@ -12192,7 +12192,7 @@
"operation_type",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_enabled",
@@ -12220,7 +12220,7 @@
"languages",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_updated",
@@ -12248,7 +12248,7 @@
"business_id",
"actor_is_bot"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.collaborators_only",
diff --git a/src/audit-logs/data/ghes-3.20/organization.json b/src/audit-logs/data/ghes-3.20/organization.json
index 12237768463e..70c5acae174e 100644
--- a/src/audit-logs/data/ghes-3.20/organization.json
+++ b/src/audit-logs/data/ghes-3.20/organization.json
@@ -88,7 +88,7 @@
"created_at",
"_document_id"
],
- "docs_reference_titles": "/code-security/security-advisories/working-with-repository-security-advisories/editing-a-repository-security-advisory"
+ "docs_reference_titles": "Editing a repository security advisory"
},
{
"action": "advisory_credit.create",
@@ -11678,7 +11678,7 @@
"operation_type",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_enabled",
@@ -11706,7 +11706,7 @@
"languages",
"request_access_security_header"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codeql_updated",
@@ -11734,7 +11734,7 @@
"business_id",
"actor_is_bot"
],
- "docs_reference_titles": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
+ "docs_reference_titles": "Configuring default setup for code scanning"
},
{
"action": "repo.codespaces_trusted_repo_access_granted",
diff --git a/src/audit-logs/lib/config.json b/src/audit-logs/lib/config.json
index d681aded48e9..2e01cbed9a1d 100644
--- a/src/audit-logs/lib/config.json
+++ b/src/audit-logs/lib/config.json
@@ -9,5 +9,5 @@
"git": "Note: Git events have special access requirements and retention policies that differ from other audit log events. For GitHub Enterprise Cloud, access Git events via the REST API only with 7-day retention. For GitHub Enterprise Server, Git events must be enabled in audit log configuration and are not included in search results.",
"sso_redirect": "Note: Automatically redirecting users to sign in is currently in beta for Enterprise Managed Users and subject to change."
},
- "sha": "0a61c20c2288d86882714fbc4124322183a61aa4"
+ "sha": "b813844c2ff8cd966ba2e53d107c535aed977eb6"
}
\ No newline at end of file
diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json
index 29752d97a9a2..a47abf1c93e4 100644
--- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json
+++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json
@@ -2355,6 +2355,15 @@
"additional-permissions": false,
"access": "write"
},
+ {
+ "category": "projects",
+ "slug": "create-a-view-for-an-organization-owned-project",
+ "subcategory": "views",
+ "verb": "post",
+ "requestPath": "/orgs/{org}/projectsV2/{project_number}/views",
+ "additional-permissions": false,
+ "access": "write"
+ },
{
"category": "projects",
"slug": "list-items-for-an-organization-project-view",
diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json
index 99def9bf5407..b1a53fa4cb96 100644
--- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json
+++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json
@@ -3862,6 +3862,12 @@
"verb": "delete",
"requestPath": "/orgs/{org}/projectsV2/{project_number}/items/{item_id}"
},
+ {
+ "slug": "create-a-view-for-an-organization-owned-project",
+ "subcategory": "views",
+ "verb": "post",
+ "requestPath": "/orgs/{org}/projectsV2/{project_number}/views"
+ },
{
"slug": "list-items-for-an-organization-project-view",
"subcategory": "items",
diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json
index 957c78dd711e..f5d44f6ccdb1 100644
--- a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json
+++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json
@@ -2955,6 +2955,17 @@
"server-to-server": true,
"additional-permissions": false
},
+ {
+ "category": "projects",
+ "slug": "create-a-view-for-an-organization-owned-project",
+ "subcategory": "views",
+ "verb": "post",
+ "requestPath": "/orgs/{org}/projectsV2/{project_number}/views",
+ "access": "write",
+ "user-to-server": true,
+ "server-to-server": true,
+ "additional-permissions": false
+ },
{
"category": "projects",
"slug": "list-items-for-an-organization-project-view",
diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json
index ef1e3cd4897e..584a39622bd5 100644
--- a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json
+++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json
@@ -4000,6 +4000,12 @@
"verb": "delete",
"requestPath": "/orgs/{org}/projectsV2/{project_number}/items/{item_id}"
},
+ {
+ "slug": "create-a-view-for-an-organization-owned-project",
+ "subcategory": "views",
+ "verb": "post",
+ "requestPath": "/orgs/{org}/projectsV2/{project_number}/views"
+ },
{
"slug": "list-items-for-an-organization-project-view",
"subcategory": "items",
diff --git a/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json
index b1b05a171c55..5ecad0616cbb 100644
--- a/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json
+++ b/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json
@@ -4462,6 +4462,12 @@
"verb": "delete",
"requestPath": "/orgs/{org}/projectsV2/{project_number}/items/{item_id}"
},
+ {
+ "slug": "create-a-view-for-an-organization-owned-project",
+ "subcategory": "views",
+ "verb": "post",
+ "requestPath": "/orgs/{org}/projectsV2/{project_number}/views"
+ },
{
"slug": "list-items-for-an-organization-project-view",
"subcategory": "items",
diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json
index 81fbba2e3cb3..52183589b75b 100644
--- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json
+++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json
@@ -2901,6 +2901,15 @@
"additional-permissions": false,
"access": "write"
},
+ {
+ "category": "projects",
+ "slug": "create-a-view-for-an-organization-owned-project",
+ "subcategory": "views",
+ "verb": "post",
+ "requestPath": "/orgs/{org}/projectsV2/{project_number}/views",
+ "additional-permissions": false,
+ "access": "write"
+ },
{
"category": "projects",
"slug": "list-items-for-an-organization-project-view",
diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json
index 1319c3e89ac1..57f4786f7f8b 100644
--- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json
+++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json
@@ -4044,6 +4044,12 @@
"verb": "delete",
"requestPath": "/orgs/{org}/projectsV2/{project_number}/items/{item_id}"
},
+ {
+ "slug": "create-a-view-for-an-organization-owned-project",
+ "subcategory": "views",
+ "verb": "post",
+ "requestPath": "/orgs/{org}/projectsV2/{project_number}/views"
+ },
{
"slug": "list-items-for-an-organization-project-view",
"subcategory": "items",
diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json
index 3df12dfce066..1779681c6ac1 100644
--- a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json
+++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json
@@ -4249,6 +4249,17 @@
"server-to-server": true,
"additional-permissions": false
},
+ {
+ "category": "projects",
+ "slug": "create-a-view-for-an-organization-owned-project",
+ "subcategory": "views",
+ "verb": "post",
+ "requestPath": "/orgs/{org}/projectsV2/{project_number}/views",
+ "access": "write",
+ "user-to-server": true,
+ "server-to-server": true,
+ "additional-permissions": false
+ },
{
"category": "projects",
"slug": "list-items-for-an-organization-project-view",
diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json
index 937d2641e350..77295d4b01d1 100644
--- a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json
+++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json
@@ -4556,6 +4556,12 @@
"verb": "delete",
"requestPath": "/orgs/{org}/projectsV2/{project_number}/items/{item_id}"
},
+ {
+ "slug": "create-a-view-for-an-organization-owned-project",
+ "subcategory": "views",
+ "verb": "post",
+ "requestPath": "/orgs/{org}/projectsV2/{project_number}/views"
+ },
{
"slug": "list-items-for-an-organization-project-view",
"subcategory": "items",
diff --git a/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json
index ddad066b1eb4..9fdefce4e1a6 100644
--- a/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json
+++ b/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json
@@ -5000,6 +5000,12 @@
"verb": "delete",
"requestPath": "/orgs/{org}/projectsV2/{project_number}/items/{item_id}"
},
+ {
+ "slug": "create-a-view-for-an-organization-owned-project",
+ "subcategory": "views",
+ "verb": "post",
+ "requestPath": "/orgs/{org}/projectsV2/{project_number}/views"
+ },
{
"slug": "list-items-for-an-organization-project-view",
"subcategory": "items",
diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json
index ec904a9d2371..61ab3b5cf049 100644
--- a/src/github-apps/lib/config.json
+++ b/src/github-apps/lib/config.json
@@ -60,5 +60,5 @@
"2022-11-28"
]
},
- "sha": "0d9c0e1f5bc68a5b37ed9daf6c6a1f40819b2b14"
+ "sha": "9f10fd5d6e100db6f5f36d56967e9304eaa3b1b0"
}
\ No newline at end of file
diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json
index ce7b7741fc4b..de65e8fcd5ef 100644
--- a/src/rest/data/fpt-2022-11-28/schema.json
+++ b/src/rest/data/fpt-2022-11-28/schema.json
@@ -12765,7 +12765,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -16739,7 +16742,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -26568,7 +26574,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -31870,7 +31879,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -32724,7 +32736,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -34710,7 +34725,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -35564,7 +35582,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -38095,7 +38116,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -38949,7 +38973,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -43497,7 +43524,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -44351,7 +44381,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -144977,7 +145010,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -146134,7 +146170,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -147719,7 +147758,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -155080,7 +155122,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -156143,7 +156188,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -220599,7 +220647,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -222527,7 +222578,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -223896,7 +223950,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -225737,7 +225794,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -227737,7 +227797,10 @@
"type": "string"
},
"url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -235935,8 +235998,8 @@
},
"response": {
"statusCode": "200",
- "contentType": "application/json+sarif",
- "description": "
application/json+sarif response
", + "contentType": "application/sarif+json", + "description": "application/sarif+json response
", "example": { "runs": [ { @@ -254055,7 +254118,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -255940,7 +256006,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -257684,7 +257753,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -260177,7 +260249,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -261922,7 +261997,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -264033,7 +264111,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -265929,7 +266010,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -267670,7 +267754,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -269468,7 +269555,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -271289,7 +271379,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -278953,7 +279046,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -280763,7 +280859,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -283160,7 +283259,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -285177,7 +285279,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -287586,7 +287691,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -289508,7 +289616,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -292118,7 +292229,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -293882,7 +293996,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -295778,7 +295895,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -297264,7 +297384,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -298791,7 +298914,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -312314,7 +312440,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -326520,7 +326649,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -476647,7 +476779,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -484216,7 +484351,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -489522,7 +489660,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -505917,7 +506058,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -507684,7 +507828,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -520174,7 +520321,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -521470,7 +521620,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -522714,7 +522867,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -524858,7 +525014,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -526133,7 +526292,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -527426,7 +527588,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -529531,7 +529696,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -530827,7 +530995,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -532138,7 +532309,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -624352,6 +624526,2500 @@ "permissions": [] } } + ], + "views": [ + { + "serverUrl": "https://api.github.com", + "verb": "post", + "requestPath": "/orgs/{org}/projectsV2/{project_number}/views", + "title": "Create a view for an organization-owned project", + "category": "projects", + "subcategory": "views", + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.
", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "name", + "in": "body", + "description": "The name of the view.
", + "isRequired": true + }, + { + "type": "string", + "name": "layout", + "in": "body", + "description": "The layout of the view.
", + "isRequired": true, + "enum": [ + "table", + "board", + "roadmap" + ] + }, + { + "type": "string", + "name": "filter", + "in": "body", + "description": "The filter query for the view. See Filtering projects for more information.
" + }, + { + "type": "array of integers", + "name": "visible_fields", + "in": "body", + "description": "visible_fields is not applicable to roadmap layout views.\nFor table and board layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.
Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered.
", + "codeExamples": [ + { + "key": "table_view", + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "Response for creating a table view
", + "example": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + }, + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "is:issue is:open" + ] + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + } + }, + "request": { + "contentType": "application/json", + "description": "Create a table view", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + }, + "parameters": { + "org": "ORG", + "project_number": "PROJECT_NUMBER" + } + } + }, + { + "key": "board_view", + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "Response for creating a board view with filter
", + "example": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + }, + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "is:issue is:open" + ] + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + } + }, + "request": { + "contentType": "application/json", + "description": "Create a board view with filter", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + }, + "parameters": { + "org": "ORG", + "project_number": "PROJECT_NUMBER" + } + } + }, + { + "key": "roadmap_view", + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "Response for creating a roadmap view
", + "example": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + }, + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "is:issue is:open" + ] + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + } + }, + "request": { + "contentType": "application/json", + "description": "Create a roadmap view", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "name": "Product Roadmap", + "layout": "roadmap" + }, + "parameters": { + "org": "ORG", + "project_number": "PROJECT_NUMBER" + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "201", + "description": "Response for creating a view in an organization-owned project.
" + }, + { + "httpStatusCode": "304", + "description": "Not modified
" + }, + { + "httpStatusCode": "401", + "description": "Requires authentication
" + }, + { + "httpStatusCode": "403", + "description": "Forbidden
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + }, + { + "httpStatusCode": "422", + "description": "Validation failed, or the endpoint has been spammed.
" + }, + { + "httpStatusCode": "503", + "description": "Service unavailable
" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Projects\" organization permissions": "write" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "post", + "requestPath": "/users/{user_id}/projectsV2/{project_number}/views", + "title": "Create a view for a user-owned project", + "category": "projects", + "subcategory": "views", + "parameters": [ + { + "name": "user_id", + "description": "The unique identifier of the user.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.
", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "name", + "in": "body", + "description": "The name of the view.
", + "isRequired": true + }, + { + "type": "string", + "name": "layout", + "in": "body", + "description": "The layout of the view.
", + "isRequired": true, + "enum": [ + "table", + "board", + "roadmap" + ] + }, + { + "type": "string", + "name": "filter", + "in": "body", + "description": "The filter query for the view. See Filtering projects for more information.
" + }, + { + "type": "array of integers", + "name": "visible_fields", + "in": "body", + "description": "visible_fields is not applicable to roadmap layout views.\nFor table and board layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.
Create a new view in a user-owned project. Views allow you to customize how items in a project are displayed and filtered.
", + "codeExamples": [ + { + "key": "table_view", + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "Response for creating a table view
", + "example": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + }, + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "is:issue is:open" + ] + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + } + }, + "request": { + "contentType": "application/json", + "description": "Create a table view", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + }, + "parameters": { + "user_id": "USER_ID", + "project_number": "PROJECT_NUMBER" + } + } + }, + { + "key": "board_view", + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "Response for creating a board view with filter
", + "example": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + }, + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "is:issue is:open" + ] + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + } + }, + "request": { + "contentType": "application/json", + "description": "Create a board view with filter", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + }, + "parameters": { + "user_id": "USER_ID", + "project_number": "PROJECT_NUMBER" + } + } + }, + { + "key": "roadmap_view", + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "Response for creating a roadmap view
", + "example": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + }, + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "is:issue is:open" + ] + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + } + }, + "request": { + "contentType": "application/json", + "description": "Create a roadmap view", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "name": "Product Roadmap", + "layout": "roadmap" + }, + "parameters": { + "user_id": "USER_ID", + "project_number": "PROJECT_NUMBER" + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "201", + "description": "Response for creating a view in a user-owned project.
" + }, + { + "httpStatusCode": "304", + "description": "Not modified
" + }, + { + "httpStatusCode": "401", + "description": "Requires authentication
" + }, + { + "httpStatusCode": "403", + "description": "Forbidden
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + }, + { + "httpStatusCode": "422", + "description": "Validation failed, or the endpoint has been spammed.
" + }, + { + "httpStatusCode": "503", + "description": "Service unavailable
" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": false, + "serverToServer": false, + "fineGrainedPat": false, + "permissions": [] + } + } ] }, "pulls": { @@ -677093,7 +679761,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -695322,7 +697993,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -701218,7 +703892,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -708424,7 +711101,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -714593,7 +717273,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -733553,7 +736236,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -735118,7 +737804,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -776276,7 +778965,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -781490,7 +784182,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index 32fc2f8252dc..b7c3d397b063 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -17323,7 +17323,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -22973,7 +22976,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -36465,7 +36471,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -41779,7 +41788,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -42645,7 +42657,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -44643,7 +44658,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -45509,7 +45527,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -48052,7 +48073,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -48918,7 +48942,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -53478,7 +53505,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -54344,7 +54374,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -154982,7 +155015,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -156151,7 +156187,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -157748,7 +157787,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -165121,7 +165163,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -166196,7 +166241,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -232304,7 +232352,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -234244,7 +234295,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -235625,7 +235679,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -237478,7 +237535,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -239490,7 +239550,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -249488,8 +249551,8 @@ }, "response": { "statusCode": "200", - "contentType": "application/json+sarif", - "description": "application/json+sarif response
", + "contentType": "application/sarif+json", + "description": "application/sarif+json response
", "example": { "runs": [ { @@ -268922,7 +268985,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -270819,7 +270885,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -272575,7 +272644,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -275080,7 +275152,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -276837,7 +276912,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -278960,7 +279038,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -280868,7 +280949,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -282621,7 +282705,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -284431,7 +284518,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -286264,7 +286354,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -293952,7 +294045,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -295774,7 +295870,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -298183,7 +298282,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -300212,7 +300314,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -302633,7 +302738,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -304567,7 +304675,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -307189,7 +307300,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -308965,7 +309079,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -310873,7 +310990,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -312371,7 +312491,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -313910,7 +314033,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -327445,7 +327571,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -347621,7 +347750,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -523361,7 +523493,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -530942,7 +531077,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -535709,7 +535847,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -556804,7 +556945,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -558583,7 +558727,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -571091,7 +571238,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -572399,7 +572549,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -573655,7 +573808,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -575811,7 +575967,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -577098,7 +577257,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -578403,7 +578565,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -580520,7 +580685,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -581828,7 +581996,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -583151,7 +583322,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -675383,6 +675557,2500 @@ "permissions": [] } } + ], + "views": [ + { + "serverUrl": "https://api.github.com", + "verb": "post", + "requestPath": "/orgs/{org}/projectsV2/{project_number}/views", + "title": "Create a view for an organization-owned project", + "category": "projects", + "subcategory": "views", + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.
", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "name", + "in": "body", + "description": "The name of the view.
", + "isRequired": true + }, + { + "type": "string", + "name": "layout", + "in": "body", + "description": "The layout of the view.
", + "isRequired": true, + "enum": [ + "table", + "board", + "roadmap" + ] + }, + { + "type": "string", + "name": "filter", + "in": "body", + "description": "The filter query for the view. See Filtering projects for more information.
" + }, + { + "type": "array of integers", + "name": "visible_fields", + "in": "body", + "description": "visible_fields is not applicable to roadmap layout views.\nFor table and board layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.
Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered.
", + "codeExamples": [ + { + "key": "table_view", + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "Response for creating a table view
", + "example": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + }, + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "is:issue is:open" + ] + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + } + }, + "request": { + "contentType": "application/json", + "description": "Create a table view", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + }, + "parameters": { + "org": "ORG", + "project_number": "PROJECT_NUMBER" + } + } + }, + { + "key": "board_view", + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "Response for creating a board view with filter
", + "example": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + }, + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "is:issue is:open" + ] + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + } + }, + "request": { + "contentType": "application/json", + "description": "Create a board view with filter", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + }, + "parameters": { + "org": "ORG", + "project_number": "PROJECT_NUMBER" + } + } + }, + { + "key": "roadmap_view", + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "Response for creating a roadmap view
", + "example": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + }, + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "is:issue is:open" + ] + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + } + }, + "request": { + "contentType": "application/json", + "description": "Create a roadmap view", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "name": "Product Roadmap", + "layout": "roadmap" + }, + "parameters": { + "org": "ORG", + "project_number": "PROJECT_NUMBER" + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "201", + "description": "Response for creating a view in an organization-owned project.
" + }, + { + "httpStatusCode": "304", + "description": "Not modified
" + }, + { + "httpStatusCode": "401", + "description": "Requires authentication
" + }, + { + "httpStatusCode": "403", + "description": "Forbidden
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + }, + { + "httpStatusCode": "422", + "description": "Validation failed, or the endpoint has been spammed.
" + }, + { + "httpStatusCode": "503", + "description": "Service unavailable
" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Projects\" organization permissions": "write" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "post", + "requestPath": "/users/{user_id}/projectsV2/{project_number}/views", + "title": "Create a view for a user-owned project", + "category": "projects", + "subcategory": "views", + "parameters": [ + { + "name": "user_id", + "description": "The unique identifier of the user.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.
", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "name", + "in": "body", + "description": "The name of the view.
", + "isRequired": true + }, + { + "type": "string", + "name": "layout", + "in": "body", + "description": "The layout of the view.
", + "isRequired": true, + "enum": [ + "table", + "board", + "roadmap" + ] + }, + { + "type": "string", + "name": "filter", + "in": "body", + "description": "The filter query for the view. See Filtering projects for more information.
" + }, + { + "type": "array of integers", + "name": "visible_fields", + "in": "body", + "description": "visible_fields is not applicable to roadmap layout views.\nFor table and board layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.
Create a new view in a user-owned project. Views allow you to customize how items in a project are displayed and filtered.
", + "codeExamples": [ + { + "key": "table_view", + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "Response for creating a table view
", + "example": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + }, + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "is:issue is:open" + ] + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + } + }, + "request": { + "contentType": "application/json", + "description": "Create a table view", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + }, + "parameters": { + "user_id": "USER_ID", + "project_number": "PROJECT_NUMBER" + } + } + }, + { + "key": "board_view", + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "Response for creating a board view with filter
", + "example": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + }, + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "is:issue is:open" + ] + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + } + }, + "request": { + "contentType": "application/json", + "description": "Create a board view with filter", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + }, + "parameters": { + "user_id": "USER_ID", + "project_number": "PROJECT_NUMBER" + } + } + }, + { + "key": "roadmap_view", + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "Response for creating a roadmap view
", + "example": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + }, + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "is:issue is:open" + ] + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + } + }, + "request": { + "contentType": "application/json", + "description": "Create a roadmap view", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "name": "Product Roadmap", + "layout": "roadmap" + }, + "parameters": { + "user_id": "USER_ID", + "project_number": "PROJECT_NUMBER" + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "201", + "description": "Response for creating a view in a user-owned project.
" + }, + { + "httpStatusCode": "304", + "description": "Not modified
" + }, + { + "httpStatusCode": "401", + "description": "Requires authentication
" + }, + { + "httpStatusCode": "403", + "description": "Forbidden
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + }, + { + "httpStatusCode": "422", + "description": "Validation failed, or the endpoint has been spammed.
" + }, + { + "httpStatusCode": "503", + "description": "Service unavailable
" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": false, + "serverToServer": false, + "fineGrainedPat": false, + "permissions": [] + } + } ] }, "pulls": { @@ -728123,7 +730791,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -746419,7 +749090,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -752339,7 +755013,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -759569,7 +762246,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -766532,7 +769212,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -788206,7 +790889,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -789783,7 +792469,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -836702,7 +839391,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -841928,7 +844620,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" diff --git a/src/rest/data/ghes-3.14-2022-11-28/schema.json b/src/rest/data/ghes-3.14-2022-11-28/schema.json index ffcefbd5ab43..8afd580750a0 100644 --- a/src/rest/data/ghes-3.14-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.14-2022-11-28/schema.json @@ -7328,7 +7328,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -12464,7 +12467,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -25933,7 +25939,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -31194,7 +31203,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -32007,7 +32019,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -33952,7 +33967,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -34765,7 +34783,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -37164,7 +37185,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -37977,7 +38001,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -42234,7 +42261,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -43047,7 +43077,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -252849,7 +252882,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -253965,7 +254001,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -255509,7 +255548,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -262826,7 +262868,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -263845,7 +263890,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -320476,7 +320524,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -322357,7 +322408,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -323685,7 +323739,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -325479,7 +325536,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -327432,7 +327492,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -335204,8 +335267,8 @@ }, "response": { "statusCode": "200", - "contentType": "application/json+sarif", - "description": "application/json+sarif response
", + "contentType": "application/sarif+json", + "description": "application/sarif+json response
", "example": { "runs": [ { @@ -338011,7 +338074,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -339456,7 +339522,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -340942,7 +341011,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -354378,7 +354450,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -363940,7 +364015,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -499495,7 +499573,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -503522,7 +503603,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -528121,7 +528205,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -529844,7 +529931,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -540674,7 +540764,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -541929,7 +542022,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -543132,7 +543228,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -545235,7 +545334,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -546469,7 +546571,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -547721,7 +547826,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -549785,7 +549893,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -551040,7 +551151,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -552310,7 +552424,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -614918,7 +615035,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -632533,7 +632653,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -638371,7 +638494,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -645497,7 +645623,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -651142,7 +651271,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -667973,7 +668105,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -669490,7 +669625,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -687161,7 +687299,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -693199,7 +693340,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" diff --git a/src/rest/data/ghes-3.15-2022-11-28/schema.json b/src/rest/data/ghes-3.15-2022-11-28/schema.json index 481e32034896..63a0f59c93ee 100644 --- a/src/rest/data/ghes-3.15-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.15-2022-11-28/schema.json @@ -7328,7 +7328,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -12476,7 +12479,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -25957,7 +25963,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -31230,7 +31239,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -32055,7 +32067,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -34012,7 +34027,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -34837,7 +34855,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -37248,7 +37269,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -38073,7 +38097,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -42348,7 +42375,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -43173,7 +43203,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -253149,7 +253182,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -254277,7 +254313,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -255833,7 +255872,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -263165,7 +263207,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -264199,7 +264244,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -321144,7 +321192,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -323043,7 +323094,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -324383,7 +324437,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -326195,7 +326252,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -328166,7 +328226,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -335950,8 +336013,8 @@ }, "response": { "statusCode": "200", - "contentType": "application/json+sarif", - "description": "application/json+sarif response
", + "contentType": "application/sarif+json", + "description": "application/sarif+json response
", "example": { "runs": [ { @@ -342192,7 +342255,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -343649,7 +343715,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -345147,7 +345216,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -358595,7 +358667,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -368169,7 +368244,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -502779,7 +502857,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -506821,7 +506902,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -531534,7 +531618,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -533272,7 +533359,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -544538,7 +544628,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -545805,7 +545898,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -547020,7 +547116,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -549135,7 +549234,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -550381,7 +550483,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -551645,7 +551750,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -553721,7 +553829,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -554988,7 +555099,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -556270,7 +556384,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -618893,7 +619010,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -636571,7 +636691,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -642433,7 +642556,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -649586,7 +649712,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -655243,7 +655372,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -672894,7 +673026,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -674423,7 +674558,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -692252,7 +692390,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -698305,7 +698446,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" diff --git a/src/rest/data/ghes-3.16-2022-11-28/schema.json b/src/rest/data/ghes-3.16-2022-11-28/schema.json index babb328905ac..420b617cc108 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.16-2022-11-28/schema.json @@ -7328,7 +7328,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -12476,7 +12479,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -25957,7 +25963,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -31230,7 +31239,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -32055,7 +32067,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -34012,7 +34027,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -34837,7 +34855,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -37248,7 +37269,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -38073,7 +38097,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -42348,7 +42375,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -43173,7 +43203,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -253149,7 +253182,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -254277,7 +254313,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -255833,7 +255872,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -263165,7 +263207,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -264199,7 +264244,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -321242,7 +321290,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -323141,7 +323192,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -324481,7 +324535,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -326293,7 +326350,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -328264,7 +328324,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -336156,8 +336219,8 @@ }, "response": { "statusCode": "200", - "contentType": "application/json+sarif", - "description": "application/json+sarif response
", + "contentType": "application/sarif+json", + "description": "application/sarif+json response
", "example": { "runs": [ { @@ -345851,7 +345914,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -347308,7 +347374,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -348806,7 +348875,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -362254,7 +362326,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -371961,7 +372036,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -507848,7 +507926,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -511890,7 +511971,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -536697,7 +536781,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -538435,7 +538522,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -549710,7 +549800,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -550977,7 +551070,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -552192,7 +552288,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -554307,7 +554406,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -555553,7 +555655,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -556817,7 +556922,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -558893,7 +559001,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -560160,7 +560271,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -561442,7 +561556,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -624721,7 +624838,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -642399,7 +642519,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -648261,7 +648384,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -655414,7 +655540,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -661071,7 +661200,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -678731,7 +678863,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -680260,7 +680395,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -699465,7 +699603,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -705518,7 +705659,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" diff --git a/src/rest/data/ghes-3.17-2022-11-28/schema.json b/src/rest/data/ghes-3.17-2022-11-28/schema.json index af2397f09e1b..fca2fbc48a83 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.17-2022-11-28/schema.json @@ -7328,7 +7328,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -12488,7 +12491,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -25981,7 +25987,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -31266,7 +31275,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -32103,7 +32115,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -34072,7 +34087,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -34909,7 +34927,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -37332,7 +37353,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -38169,7 +38193,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -42456,7 +42483,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -43293,7 +43323,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -253281,7 +253314,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -254421,7 +254457,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -255989,7 +256028,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -263333,7 +263375,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -264379,7 +264424,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -321477,7 +321525,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -323388,7 +323439,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -324740,7 +324794,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -326564,7 +326621,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -328547,7 +328607,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -336451,8 +336514,8 @@ }, "response": { "statusCode": "200", - "contentType": "application/json+sarif", - "description": "application/json+sarif response
", + "contentType": "application/sarif+json", + "description": "application/sarif+json response
", "example": { "runs": [ { @@ -346687,7 +346750,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -348156,7 +348222,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -349666,7 +349735,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -363172,7 +363244,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -372891,7 +372966,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -508931,7 +509009,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -512985,7 +513066,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -538249,7 +538333,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -539999,7 +540086,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -552130,7 +552220,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -553409,7 +553502,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -554636,7 +554732,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -556763,7 +556862,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -558021,7 +558123,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -559297,7 +559402,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -561385,7 +561493,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -562664,7 +562775,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -563958,7 +564072,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -620668,7 +620785,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -638406,7 +638526,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -644292,7 +644415,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -651469,7 +651595,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -657948,7 +658077,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -676648,7 +676780,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -678196,7 +678331,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -697985,7 +698123,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -703179,7 +703320,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" diff --git a/src/rest/data/ghes-3.18-2022-11-28/schema.json b/src/rest/data/ghes-3.18-2022-11-28/schema.json index b505c74cef08..94c936bc2bcd 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.18-2022-11-28/schema.json @@ -7328,7 +7328,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -12493,7 +12496,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -25991,7 +25997,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -31281,7 +31290,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -32123,7 +32135,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -34097,7 +34112,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -34939,7 +34957,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -37367,7 +37388,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -38209,7 +38233,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -42501,7 +42528,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -43343,7 +43373,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -253336,7 +253369,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -254481,7 +254517,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -256054,7 +256093,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -263403,7 +263445,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -264454,7 +264499,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -321557,7 +321605,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -323473,7 +323524,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -324830,7 +324884,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -326659,7 +326716,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -328647,7 +328707,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -336556,8 +336619,8 @@ }, "response": { "statusCode": "200", - "contentType": "application/json+sarif", - "description": "application/json+sarif response
", + "contentType": "application/sarif+json", + "description": "application/sarif+json response
", "example": { "runs": [ { @@ -346816,7 +346879,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -348290,7 +348356,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -349805,7 +349874,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -363316,7 +363388,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -374012,7 +374087,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -511248,7 +511326,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -515307,7 +515388,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -540576,7 +540660,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -542331,7 +542418,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -554467,7 +554557,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -555751,7 +555844,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -556983,7 +557079,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -559115,7 +559214,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -560378,7 +560480,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -561659,7 +561764,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -563752,7 +563860,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -565036,7 +565147,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -566335,7 +566449,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -623414,7 +623531,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -641157,7 +641277,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -647048,7 +647171,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -654230,7 +654356,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -660714,7 +660843,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -679419,7 +679551,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -680972,7 +681107,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -701985,7 +702123,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -707184,7 +707325,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" diff --git a/src/rest/data/ghes-3.19-2022-11-28/schema.json b/src/rest/data/ghes-3.19-2022-11-28/schema.json index ba24847f43c6..c923359aadf2 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.19-2022-11-28/schema.json @@ -10653,7 +10653,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -15818,7 +15821,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -29316,7 +29322,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -34606,7 +34615,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -35448,7 +35460,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -37422,7 +37437,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -38264,7 +38282,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -40692,7 +40713,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -41534,7 +41558,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -45826,7 +45853,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -46668,7 +46698,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -256661,7 +256694,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -257806,7 +257842,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -259379,7 +259418,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -266728,7 +266770,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -267779,7 +267824,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -325078,7 +325126,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -326994,7 +327045,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -328351,7 +328405,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -330180,7 +330237,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -332168,7 +332228,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -340084,8 +340147,8 @@ }, "response": { "statusCode": "200", - "contentType": "application/json+sarif", - "description": "application/json+sarif response
", + "contentType": "application/sarif+json", + "description": "application/sarif+json response
", "example": { "runs": [ { @@ -351995,7 +352058,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -353469,7 +353535,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -354984,7 +355053,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -368495,7 +368567,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -380509,7 +380584,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -535110,7 +535188,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -539169,7 +539250,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -564582,7 +564666,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -566337,7 +566424,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -578811,7 +578901,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -580095,7 +580188,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -581327,7 +581423,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -583459,7 +583558,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -584722,7 +584824,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -586003,7 +586108,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -588096,7 +588204,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -589380,7 +589491,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -590679,7 +590793,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -647758,7 +647875,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -665501,7 +665621,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -671392,7 +671515,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -678574,7 +678700,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -685058,7 +685187,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -704111,7 +704243,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -705664,7 +705799,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -730526,7 +730664,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -735725,7 +735866,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index 4f07050d1fb7..d8b9db77cfdf 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -50,5 +50,5 @@ ] } }, - "sha": "0d9c0e1f5bc68a5b37ed9daf6c6a1f40819b2b14" + "sha": "9f10fd5d6e100db6f5f36d56967e9304eaa3b1b0" } \ No newline at end of file diff --git a/src/webhooks/data/fpt/schema.json b/src/webhooks/data/fpt/schema.json index 0bc53e6d2010..643ab159ee79 100644 --- a/src/webhooks/data/fpt/schema.json +++ b/src/webhooks/data/fpt/schema.json @@ -2645,7 +2645,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -4707,7 +4707,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -6770,7 +6770,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -8845,7 +8845,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, diff --git a/src/webhooks/data/ghec/schema.json b/src/webhooks/data/ghec/schema.json index f5b05bf16d56..f70b4c72633a 100644 --- a/src/webhooks/data/ghec/schema.json +++ b/src/webhooks/data/ghec/schema.json @@ -4660,7 +4660,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -6738,7 +6738,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -8817,7 +8817,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -10908,7 +10908,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, diff --git a/src/webhooks/data/ghes-3.14/schema.json b/src/webhooks/data/ghes-3.14/schema.json index 9e284b08f3ba..d01f56884005 100644 --- a/src/webhooks/data/ghes-3.14/schema.json +++ b/src/webhooks/data/ghes-3.14/schema.json @@ -4649,7 +4649,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -6648,7 +6648,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -8648,7 +8648,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -10660,7 +10660,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, diff --git a/src/webhooks/data/ghes-3.15/schema.json b/src/webhooks/data/ghes-3.15/schema.json index fda701b1ac89..7d0ca48928b4 100644 --- a/src/webhooks/data/ghes-3.15/schema.json +++ b/src/webhooks/data/ghes-3.15/schema.json @@ -4738,7 +4738,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -6763,7 +6763,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -8789,7 +8789,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -10827,7 +10827,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, diff --git a/src/webhooks/data/ghes-3.16/schema.json b/src/webhooks/data/ghes-3.16/schema.json index 7bd6282fbae9..5728c910da37 100644 --- a/src/webhooks/data/ghes-3.16/schema.json +++ b/src/webhooks/data/ghes-3.16/schema.json @@ -4738,7 +4738,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -6763,7 +6763,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -8789,7 +8789,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -10827,7 +10827,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, diff --git a/src/webhooks/data/ghes-3.17/schema.json b/src/webhooks/data/ghes-3.17/schema.json index 2d3ac16b83de..d62c9aa2e3c3 100644 --- a/src/webhooks/data/ghes-3.17/schema.json +++ b/src/webhooks/data/ghes-3.17/schema.json @@ -4738,7 +4738,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -6779,7 +6779,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -8821,7 +8821,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -10875,7 +10875,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, diff --git a/src/webhooks/data/ghes-3.18/schema.json b/src/webhooks/data/ghes-3.18/schema.json index bbbddbd65d49..09566c3a54ce 100644 --- a/src/webhooks/data/ghes-3.18/schema.json +++ b/src/webhooks/data/ghes-3.18/schema.json @@ -4738,7 +4738,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -6784,7 +6784,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -8831,7 +8831,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -10890,7 +10890,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, diff --git a/src/webhooks/data/ghes-3.19/schema.json b/src/webhooks/data/ghes-3.19/schema.json index 7ef2ba828291..e0ae0313cd46 100644 --- a/src/webhooks/data/ghes-3.19/schema.json +++ b/src/webhooks/data/ghes-3.19/schema.json @@ -4738,7 +4738,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -6784,7 +6784,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -8831,7 +8831,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, @@ -10890,7 +10890,7 @@ "description": "" }, { - "type": "string", + "type": "string or null", "name": "url", "description": "" }, diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index b47c61261561..a3bd9bb9d699 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "0d9c0e1f5bc68a5b37ed9daf6c6a1f40819b2b14" + "sha": "9f10fd5d6e100db6f5f36d56967e9304eaa3b1b0" } \ No newline at end of file