skillfullstack 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (775) hide show
  1. package/.skillsRegistry/catalog.json +231 -0
  2. package/AGENTS.md +89 -0
  3. package/README.md +210 -2
  4. package/bin/index.js +508 -0
  5. package/package.json +57 -4
  6. package/skills/backend/apiEngineering/SKILL.md +102 -0
  7. package/skills/backend/apiEngineering/evals/evalApiEngineering.py +81 -0
  8. package/skills/backend/apiEngineering/evals/fixtures/invalid/sampleInvalidOpenApi.json +40 -0
  9. package/skills/backend/apiEngineering/evals/fixtures/valid/sampleValidOpenApi.json +47 -0
  10. package/skills/backend/apiEngineering/policies/compatibility.md +42 -0
  11. package/skills/backend/apiEngineering/policies/mandatory.md +48 -0
  12. package/skills/backend/apiEngineering/policies/performance.md +39 -0
  13. package/skills/backend/apiEngineering/policies/security.md +36 -0
  14. package/skills/backend/apiEngineering/references/apiObservability.md +39 -0
  15. package/skills/backend/apiEngineering/references/apiReference.md +3 -0
  16. package/skills/backend/apiEngineering/references/apiSecurityOwasp.md +47 -0
  17. package/skills/backend/apiEngineering/references/contractCompatibility.md +26 -0
  18. package/skills/backend/apiEngineering/references/databaseTransactions.md +40 -0
  19. package/skills/backend/apiEngineering/references/distributedReliability.md +26 -0
  20. package/skills/backend/apiEngineering/references/multiTenancy.md +27 -0
  21. package/skills/backend/apiEngineering/references/openApi32Standards.md +58 -0
  22. package/skills/backend/apiEngineering/references/paginationVersioning.md +57 -0
  23. package/skills/backend/apiEngineering/references/responseStandards.md +94 -0
  24. package/skills/backend/apiEngineering/scripts/auditApiContract.py +123 -0
  25. package/skills/backend/apiEngineering/scripts/checkBreakingChanges.py +77 -0
  26. package/skills/backend/apiEngineering/scripts/generateResponseEnvelope.py +88 -0
  27. package/skills/backend/apiEngineering/templates/apiChecklist.md +27 -0
  28. package/skills/backend/apiEngineering/templates/openapi.yaml +125 -0
  29. package/skills/backend/apiEngineering/templates/problemDetails.json +44 -0
  30. package/skills/backend/databaseArchitecture/SKILL.md +118 -0
  31. package/skills/backend/databaseArchitecture/evals/evalDatabaseArchitecture.py +85 -0
  32. package/skills/backend/databaseArchitecture/evals/fixtures/dangerousMigration.sql +4 -0
  33. package/skills/backend/databaseArchitecture/evals/fixtures/invalidSchema.sql +23 -0
  34. package/skills/backend/databaseArchitecture/evals/fixtures/safeMigration.sql +3 -0
  35. package/skills/backend/databaseArchitecture/evals/fixtures/validSchema.sql +37 -0
  36. package/skills/backend/databaseArchitecture/policies/integrity.md +25 -0
  37. package/skills/backend/databaseArchitecture/policies/mandatory.md +32 -0
  38. package/skills/backend/databaseArchitecture/policies/migration.md +22 -0
  39. package/skills/backend/databaseArchitecture/policies/normalization.md +25 -0
  40. package/skills/backend/databaseArchitecture/policies/performance.md +26 -0
  41. package/skills/backend/databaseArchitecture/policies/recovery.md +23 -0
  42. package/skills/backend/databaseArchitecture/policies/security.md +26 -0
  43. package/skills/backend/databaseArchitecture/policies/tableCreationChecklist.md +70 -0
  44. package/skills/backend/databaseArchitecture/references/analyticsWarehousing.md +32 -0
  45. package/skills/backend/databaseArchitecture/references/apiReference.md +3 -0
  46. package/skills/backend/databaseArchitecture/references/backupDisasterRecovery.md +27 -0
  47. package/skills/backend/databaseArchitecture/references/dataModelingLifecycle.md +30 -0
  48. package/skills/backend/databaseArchitecture/references/databaseTaxonomy.md +32 -0
  49. package/skills/backend/databaseArchitecture/references/indexingOptimization.md +32 -0
  50. package/skills/backend/databaseArchitecture/references/normalizationTheory.md +61 -0
  51. package/skills/backend/databaseArchitecture/references/scalabilitySharding.md +37 -0
  52. package/skills/backend/databaseArchitecture/references/transactionConcurrency.md +39 -0
  53. package/skills/backend/databaseArchitecture/scripts/analyzeMigration.py +99 -0
  54. package/skills/backend/databaseArchitecture/scripts/auditDatabaseSchema.py +177 -0
  55. package/skills/backend/databaseArchitecture/scripts/inspectDatabaseIndexes.py +149 -0
  56. package/skills/backend/databaseArchitecture/templates/adrTemplate.md +32 -0
  57. package/skills/backend/databaseArchitecture/templates/databaseChecklist.md +29 -0
  58. package/skills/backend/databaseArchitecture/templates/migrationPlan.md +40 -0
  59. package/skills/backend/durableBackgroundJobs/SKILL.md +112 -0
  60. package/skills/backend/durableBackgroundJobs/evals/durableJobVerification.json +14 -0
  61. package/skills/backend/durableBackgroundJobs/references/apiReference.md +3 -0
  62. package/skills/backend/durableBackgroundJobs/references/durableStepPatterns.md +6 -0
  63. package/skills/backend/durableBackgroundJobs/references/idempotencyKeys.md +5 -0
  64. package/skills/backend/durableBackgroundJobs/scripts/testWorkflowDispatch.py +24 -0
  65. package/skills/backend/golangStandard/SKILL.md +155 -0
  66. package/skills/backend/golangStandard/evals/goVerification.json +14 -0
  67. package/skills/backend/golangStandard/references/apiReference.md +3 -0
  68. package/skills/backend/golangStandard/references/layoutGuide.md +26 -0
  69. package/skills/backend/golangStandard/references/slogPatterns.md +26 -0
  70. package/skills/backend/golangStandard/scripts/scaffoldGoModule.py +105 -0
  71. package/skills/backend/pythonStandard/SKILL.md +138 -0
  72. package/skills/backend/pythonStandard/evals/pythonVerification.json +14 -0
  73. package/skills/backend/pythonStandard/references/apiReference.md +3 -0
  74. package/skills/backend/pythonStandard/references/pydanticPatterns.md +16 -0
  75. package/skills/backend/pythonStandard/references/pyprojectSpecs.md +37 -0
  76. package/skills/backend/pythonStandard/scripts/scaffoldUvProject.py +79 -0
  77. package/skills/backend/upstash/SKILL.md +98 -0
  78. package/skills/backend/upstash/evals/upstashVerification.json +14 -0
  79. package/skills/backend/upstash/references/apiReference.md +3 -0
  80. package/skills/backend/upstash/references/qstashFlowControl.md +34 -0
  81. package/skills/backend/upstash/references/ratelimitPatterns.md +53 -0
  82. package/skills/backend/upstash/references/workflowPatterns.md +35 -0
  83. package/skills/backend/upstash/scripts/testRedisConnection.py +36 -0
  84. package/skills/cicdDevops/cicdPipeline/SKILL.md +148 -0
  85. package/skills/cicdDevops/cicdPipeline/evals/evalCicd.py +37 -0
  86. package/skills/cicdDevops/cicdPipeline/references/apiReference.md +3 -0
  87. package/skills/cicdDevops/cicdPipeline/references/cicdDeploymentPatterns.md +27 -0
  88. package/skills/cicdDevops/cicdPipeline/scripts/auditDockerfileSecurity.py +56 -0
  89. package/skills/dataAi/mcpServerDevelopment/SKILL.md +123 -0
  90. package/skills/dataAi/mcpServerDevelopment/evals/mcpVerification.json +14 -0
  91. package/skills/dataAi/mcpServerDevelopment/references/apiReference.md +3 -0
  92. package/skills/dataAi/mcpServerDevelopment/references/mcpClientConfigs.md +38 -0
  93. package/skills/dataAi/mcpServerDevelopment/references/toolSchemaDesign.md +6 -0
  94. package/skills/dataAi/mcpServerDevelopment/scripts/runFastMcpBoilerplate.py +36 -0
  95. package/skills/dataAi/ragPipelineProduction/SKILL.md +113 -0
  96. package/skills/dataAi/ragPipelineProduction/evals/ragVerification.json +14 -0
  97. package/skills/dataAi/ragPipelineProduction/references/apiReference.md +3 -0
  98. package/skills/dataAi/ragPipelineProduction/references/chunkingStrategies.md +10 -0
  99. package/skills/dataAi/ragPipelineProduction/references/rrfAlgorithm.md +13 -0
  100. package/skills/dataAi/ragPipelineProduction/scripts/runHybridRrfSearch.py +33 -0
  101. package/skills/devopsCloud/cloudflare/SKILL.md +282 -0
  102. package/skills/devopsCloud/cloudflare/assets/README.md +48 -0
  103. package/skills/devopsCloud/cloudflare/assets/ai/agents-sdk.md +118 -0
  104. package/skills/devopsCloud/cloudflare/assets/ai/ai-gateway.md +105 -0
  105. package/skills/devopsCloud/cloudflare/assets/ai/ai-search.md +129 -0
  106. package/skills/devopsCloud/cloudflare/assets/ai/workers-ai.md +127 -0
  107. package/skills/devopsCloud/cloudflare/assets/cli/c3.md +292 -0
  108. package/skills/devopsCloud/cloudflare/assets/cli/cf-cli.md +90 -0
  109. package/skills/devopsCloud/cloudflare/assets/cli/wrangler.md +43 -0
  110. package/skills/devopsCloud/cloudflare/assets/compute/cron-triggers.md +486 -0
  111. package/skills/devopsCloud/cloudflare/assets/compute/service-bindings.md +251 -0
  112. package/skills/devopsCloud/cloudflare/assets/compute/smart-placement.md +435 -0
  113. package/skills/devopsCloud/cloudflare/assets/compute/static-assets.md +220 -0
  114. package/skills/devopsCloud/cloudflare/assets/compute/workers.md +129 -0
  115. package/skills/devopsCloud/cloudflare/assets/database-storage/d1.md +105 -0
  116. package/skills/devopsCloud/cloudflare/assets/database-storage/durable-objects.md +122 -0
  117. package/skills/devopsCloud/cloudflare/assets/database-storage/hyperdrive.md +210 -0
  118. package/skills/devopsCloud/cloudflare/assets/database-storage/kv.md +198 -0
  119. package/skills/devopsCloud/cloudflare/assets/database-storage/queues.md +105 -0
  120. package/skills/devopsCloud/cloudflare/assets/database-storage/r2.md +105 -0
  121. package/skills/devopsCloud/cloudflare/assets/database-storage/vectorize.md +97 -0
  122. package/skills/devopsCloud/cloudflare/assets/database-storage/workflows.md +141 -0
  123. package/skills/devopsCloud/cloudflare/assets/llms.txt +143 -0
  124. package/skills/devopsCloud/cloudflare/assets/networking-security/cache-cdn.md +109 -0
  125. package/skills/devopsCloud/cloudflare/assets/networking-security/dns.md +71 -0
  126. package/skills/devopsCloud/cloudflare/assets/networking-security/rate-limiting.md +130 -0
  127. package/skills/devopsCloud/cloudflare/assets/networking-security/tunnels.md +57 -0
  128. package/skills/devopsCloud/cloudflare/assets/networking-security/waf.md +143 -0
  129. package/skills/devopsCloud/cloudflare/assets/troubleshooting/1xxx-errors.md +209 -0
  130. package/skills/devopsCloud/cloudflare/assets/troubleshooting/5xx-errors.md +111 -0
  131. package/skills/devopsCloud/cloudflare/assets/troubleshooting/http-status-codes.md +38 -0
  132. package/skills/devopsCloud/cloudflare/evals/evals.json +75 -0
  133. package/skills/devopsCloud/cloudflare/references/ai-gateway/README.md +27 -0
  134. package/skills/devopsCloud/cloudflare/references/ai-gateway/configuration.md +18 -0
  135. package/skills/devopsCloud/cloudflare/references/ai-gateway/dynamic-routing.md +15 -0
  136. package/skills/devopsCloud/cloudflare/references/ai-gateway/features.md +22 -0
  137. package/skills/devopsCloud/cloudflare/references/ai-gateway/sdk-integration.md +19 -0
  138. package/skills/devopsCloud/cloudflare/references/ai-gateway/troubleshooting.md +16 -0
  139. package/skills/devopsCloud/cloudflare/references/ai-search/README.md +25 -0
  140. package/skills/devopsCloud/cloudflare/references/ai-search/api.md +13 -0
  141. package/skills/devopsCloud/cloudflare/references/ai-search/configuration.md +16 -0
  142. package/skills/devopsCloud/cloudflare/references/ai-search/gotchas.md +13 -0
  143. package/skills/devopsCloud/cloudflare/references/ai-search/patterns.md +15 -0
  144. package/skills/devopsCloud/cloudflare/references/bindings/README.md +16 -0
  145. package/skills/devopsCloud/cloudflare/references/bindings/api.md +19 -0
  146. package/skills/devopsCloud/cloudflare/references/bindings/configuration.md +20 -0
  147. package/skills/devopsCloud/cloudflare/references/bindings/gotchas.md +18 -0
  148. package/skills/devopsCloud/cloudflare/references/bindings/patterns.md +20 -0
  149. package/skills/devopsCloud/cloudflare/references/browser-rendering/README.md +18 -0
  150. package/skills/devopsCloud/cloudflare/references/browser-rendering/api.md +12 -0
  151. package/skills/devopsCloud/cloudflare/references/browser-rendering/configuration.md +12 -0
  152. package/skills/devopsCloud/cloudflare/references/browser-rendering/gotchas.md +15 -0
  153. package/skills/devopsCloud/cloudflare/references/browser-rendering/patterns.md +12 -0
  154. package/skills/devopsCloud/cloudflare/references/cliComparison.md +93 -0
  155. package/skills/devopsCloud/cloudflare/references/containers/README.md +23 -0
  156. package/skills/devopsCloud/cloudflare/references/containers/api.md +13 -0
  157. package/skills/devopsCloud/cloudflare/references/containers/configuration.md +15 -0
  158. package/skills/devopsCloud/cloudflare/references/containers/gotchas.md +16 -0
  159. package/skills/devopsCloud/cloudflare/references/containers/patterns.md +18 -0
  160. package/skills/devopsCloud/cloudflare/references/cron-triggers/README.md +20 -0
  161. package/skills/devopsCloud/cloudflare/references/cron-triggers/api.md +16 -0
  162. package/skills/devopsCloud/cloudflare/references/cron-triggers/configuration.md +16 -0
  163. package/skills/devopsCloud/cloudflare/references/cron-triggers/gotchas.md +17 -0
  164. package/skills/devopsCloud/cloudflare/references/cron-triggers/patterns.md +18 -0
  165. package/skills/devopsCloud/cloudflare/references/d1/README.md +15 -0
  166. package/skills/devopsCloud/cloudflare/references/d1/api.md +18 -0
  167. package/skills/devopsCloud/cloudflare/references/d1/configuration.md +18 -0
  168. package/skills/devopsCloud/cloudflare/references/d1/gotchas.md +18 -0
  169. package/skills/devopsCloud/cloudflare/references/d1/patterns.md +21 -0
  170. package/skills/devopsCloud/cloudflare/references/frameworkCompatibility.md +110 -0
  171. package/skills/devopsCloud/cloudflare/references/hyperdrive/README.md +28 -0
  172. package/skills/devopsCloud/cloudflare/references/hyperdrive/api.md +26 -0
  173. package/skills/devopsCloud/cloudflare/references/hyperdrive/configuration.md +34 -0
  174. package/skills/devopsCloud/cloudflare/references/hyperdrive/gotchas.md +20 -0
  175. package/skills/devopsCloud/cloudflare/references/hyperdrive/patterns.md +15 -0
  176. package/skills/devopsCloud/cloudflare/references/images/README.md +12 -0
  177. package/skills/devopsCloud/cloudflare/references/images/api.md +13 -0
  178. package/skills/devopsCloud/cloudflare/references/images/configuration.md +17 -0
  179. package/skills/devopsCloud/cloudflare/references/images/gotchas.md +16 -0
  180. package/skills/devopsCloud/cloudflare/references/images/patterns.md +16 -0
  181. package/skills/devopsCloud/cloudflare/references/kv/README.md +15 -0
  182. package/skills/devopsCloud/cloudflare/references/kv/api.md +18 -0
  183. package/skills/devopsCloud/cloudflare/references/kv/configuration.md +16 -0
  184. package/skills/devopsCloud/cloudflare/references/kv/gotchas.md +17 -0
  185. package/skills/devopsCloud/cloudflare/references/kv/patterns.md +21 -0
  186. package/skills/devopsCloud/cloudflare/references/miniflare/README.md +22 -0
  187. package/skills/devopsCloud/cloudflare/references/miniflare/api.md +16 -0
  188. package/skills/devopsCloud/cloudflare/references/miniflare/configuration.md +16 -0
  189. package/skills/devopsCloud/cloudflare/references/miniflare/gotchas.md +15 -0
  190. package/skills/devopsCloud/cloudflare/references/miniflare/patterns.md +19 -0
  191. package/skills/devopsCloud/cloudflare/references/observability/README.md +27 -0
  192. package/skills/devopsCloud/cloudflare/references/observability/api.md +20 -0
  193. package/skills/devopsCloud/cloudflare/references/observability/configuration.md +23 -0
  194. package/skills/devopsCloud/cloudflare/references/observability/gotchas.md +25 -0
  195. package/skills/devopsCloud/cloudflare/references/observability/patterns.md +14 -0
  196. package/skills/devopsCloud/cloudflare/references/pages/README.md +20 -0
  197. package/skills/devopsCloud/cloudflare/references/pages/api.md +13 -0
  198. package/skills/devopsCloud/cloudflare/references/pages/configuration.md +16 -0
  199. package/skills/devopsCloud/cloudflare/references/pages/gotchas.md +19 -0
  200. package/skills/devopsCloud/cloudflare/references/pages/patterns.md +15 -0
  201. package/skills/devopsCloud/cloudflare/references/pages-functions/README.md +20 -0
  202. package/skills/devopsCloud/cloudflare/references/pages-functions/api.md +13 -0
  203. package/skills/devopsCloud/cloudflare/references/pages-functions/configuration.md +14 -0
  204. package/skills/devopsCloud/cloudflare/references/pages-functions/gotchas.md +17 -0
  205. package/skills/devopsCloud/cloudflare/references/pages-functions/patterns.md +16 -0
  206. package/skills/devopsCloud/cloudflare/references/productSelectionMatrix.md +54 -0
  207. package/skills/devopsCloud/cloudflare/references/queues/README.md +24 -0
  208. package/skills/devopsCloud/cloudflare/references/queues/api.md +16 -0
  209. package/skills/devopsCloud/cloudflare/references/queues/configuration.md +20 -0
  210. package/skills/devopsCloud/cloudflare/references/queues/gotchas.md +18 -0
  211. package/skills/devopsCloud/cloudflare/references/queues/patterns.md +21 -0
  212. package/skills/devopsCloud/cloudflare/references/r2/README.md +26 -0
  213. package/skills/devopsCloud/cloudflare/references/r2/api.md +16 -0
  214. package/skills/devopsCloud/cloudflare/references/r2/configuration.md +19 -0
  215. package/skills/devopsCloud/cloudflare/references/r2/gotchas.md +17 -0
  216. package/skills/devopsCloud/cloudflare/references/r2/patterns.md +18 -0
  217. package/skills/devopsCloud/cloudflare/references/secrets-store/README.md +22 -0
  218. package/skills/devopsCloud/cloudflare/references/secrets-store/api.md +21 -0
  219. package/skills/devopsCloud/cloudflare/references/secrets-store/configuration.md +25 -0
  220. package/skills/devopsCloud/cloudflare/references/secrets-store/gotchas.md +19 -0
  221. package/skills/devopsCloud/cloudflare/references/secrets-store/patterns.md +27 -0
  222. package/skills/devopsCloud/cloudflare/references/skill-feedback.md +41 -0
  223. package/skills/devopsCloud/cloudflare/references/static-assets/README.md +21 -0
  224. package/skills/devopsCloud/cloudflare/references/static-assets/api.md +16 -0
  225. package/skills/devopsCloud/cloudflare/references/static-assets/configuration.md +16 -0
  226. package/skills/devopsCloud/cloudflare/references/static-assets/gotchas.md +18 -0
  227. package/skills/devopsCloud/cloudflare/references/static-assets/patterns.md +17 -0
  228. package/skills/devopsCloud/cloudflare/references/stream/README.md +22 -0
  229. package/skills/devopsCloud/cloudflare/references/stream/api-live.md +18 -0
  230. package/skills/devopsCloud/cloudflare/references/stream/api.md +21 -0
  231. package/skills/devopsCloud/cloudflare/references/stream/configuration.md +18 -0
  232. package/skills/devopsCloud/cloudflare/references/stream/gotchas.md +18 -0
  233. package/skills/devopsCloud/cloudflare/references/stream/patterns.md +22 -0
  234. package/skills/devopsCloud/cloudflare/references/tail-workers/README.md +21 -0
  235. package/skills/devopsCloud/cloudflare/references/tail-workers/api.md +13 -0
  236. package/skills/devopsCloud/cloudflare/references/tail-workers/configuration.md +15 -0
  237. package/skills/devopsCloud/cloudflare/references/tail-workers/gotchas.md +16 -0
  238. package/skills/devopsCloud/cloudflare/references/tail-workers/patterns.md +15 -0
  239. package/skills/devopsCloud/cloudflare/references/tunnel/README.md +20 -0
  240. package/skills/devopsCloud/cloudflare/references/tunnel/api.md +14 -0
  241. package/skills/devopsCloud/cloudflare/references/tunnel/configuration.md +14 -0
  242. package/skills/devopsCloud/cloudflare/references/tunnel/gotchas.md +15 -0
  243. package/skills/devopsCloud/cloudflare/references/tunnel/networking.md +14 -0
  244. package/skills/devopsCloud/cloudflare/references/tunnel/patterns.md +15 -0
  245. package/skills/devopsCloud/cloudflare/references/vectorize/README.md +22 -0
  246. package/skills/devopsCloud/cloudflare/references/vectorize/api.md +18 -0
  247. package/skills/devopsCloud/cloudflare/references/vectorize/configuration.md +19 -0
  248. package/skills/devopsCloud/cloudflare/references/vectorize/gotchas.md +15 -0
  249. package/skills/devopsCloud/cloudflare/references/vectorize/patterns.md +24 -0
  250. package/skills/devopsCloud/cloudflare/references/waf/README.md +21 -0
  251. package/skills/devopsCloud/cloudflare/references/waf/api.md +17 -0
  252. package/skills/devopsCloud/cloudflare/references/waf/configuration.md +18 -0
  253. package/skills/devopsCloud/cloudflare/references/waf/gotchas.md +19 -0
  254. package/skills/devopsCloud/cloudflare/references/waf/patterns.md +17 -0
  255. package/skills/devopsCloud/cloudflare/references/workers-ai/README.md +24 -0
  256. package/skills/devopsCloud/cloudflare/references/workers-ai/api.md +13 -0
  257. package/skills/devopsCloud/cloudflare/references/workers-ai/configuration.md +16 -0
  258. package/skills/devopsCloud/cloudflare/references/workers-ai/gotchas.md +15 -0
  259. package/skills/devopsCloud/cloudflare/references/workers-ai/patterns.md +14 -0
  260. package/skills/devopsCloud/cloudflare/references/workflows/README.md +23 -0
  261. package/skills/devopsCloud/cloudflare/references/workflows/api.md +17 -0
  262. package/skills/devopsCloud/cloudflare/references/workflows/configuration.md +18 -0
  263. package/skills/devopsCloud/cloudflare/references/workflows/gotchas.md +19 -0
  264. package/skills/devopsCloud/cloudflare/references/workflows/patterns.md +30 -0
  265. package/skills/devopsCloud/cloudflare/scripts/auditCloudflareProduction.py +95 -0
  266. package/skills/foundation/promptEvalTesting/SKILL.md +114 -0
  267. package/skills/foundation/promptEvalTesting/evals/promptEvalVerification.json +14 -0
  268. package/skills/foundation/promptEvalTesting/references/apiReference.md +3 -0
  269. package/skills/foundation/promptEvalTesting/references/evalMetricsCatalog.md +7 -0
  270. package/skills/foundation/promptEvalTesting/references/promptfooConfigSpecs.md +16 -0
  271. package/skills/foundation/promptEvalTesting/scripts/runPromptEvalSuite.py +29 -0
  272. package/skills/frontend/astro/SKILL.md +327 -0
  273. package/skills/frontend/astro/assets/README.md +71 -0
  274. package/skills/frontend/astro/assets/add-content-to-your-site/content-collections.md +1061 -0
  275. package/skills/frontend/astro/assets/add-content-to-your-site/data-fetching.md +109 -0
  276. package/skills/frontend/astro/assets/add-content-to-your-site/images.md +719 -0
  277. package/skills/frontend/astro/assets/add-content-to-your-site/markdown.md +725 -0
  278. package/skills/frontend/astro/assets/build-your-ui/components.md +402 -0
  279. package/skills/frontend/astro/assets/build-your-ui/fonts.md +437 -0
  280. package/skills/frontend/astro/assets/build-your-ui/front-end-frameworks.md +245 -0
  281. package/skills/frontend/astro/assets/build-your-ui/layouts.md +267 -0
  282. package/skills/frontend/astro/assets/build-your-ui/scripts-and-event-handling.md +229 -0
  283. package/skills/frontend/astro/assets/build-your-ui/styles-and-css.md +782 -0
  284. package/skills/frontend/astro/assets/build-your-ui/syntax-highlighting.md +269 -0
  285. package/skills/frontend/astro/assets/configuration/build-with-ai.md +389 -0
  286. package/skills/frontend/astro/assets/configuration/configuration-overview.md +122 -0
  287. package/skills/frontend/astro/assets/configuration/dev-toolbar.md +86 -0
  288. package/skills/frontend/astro/assets/configuration/editor-setup.md +166 -0
  289. package/skills/frontend/astro/assets/configuration/environment-variables.md +352 -0
  290. package/skills/frontend/astro/assets/configuration/typescript.md +379 -0
  291. package/skills/frontend/astro/assets/configuration/working-with-integrations.md +606 -0
  292. package/skills/frontend/astro/assets/reference/adapter-reference.md +1242 -0
  293. package/skills/frontend/astro/assets/reference/cli-reference.md +575 -0
  294. package/skills/frontend/astro/assets/reference/configuration-reference.md +3144 -0
  295. package/skills/frontend/astro/assets/reference/content-loader-reference.md +1682 -0
  296. package/skills/frontend/astro/assets/reference/directives-reference.md +324 -0
  297. package/skills/frontend/astro/assets/reference/image-service-reference.md +346 -0
  298. package/skills/frontend/astro/assets/reference/integrations-reference.md +2813 -0
  299. package/skills/frontend/astro/assets/reference/modules/astro-actions.md +604 -0
  300. package/skills/frontend/astro/assets/reference/modules/astro-app.md +460 -0
  301. package/skills/frontend/astro/assets/reference/modules/astro-assets.md +1657 -0
  302. package/skills/frontend/astro/assets/reference/modules/astro-config.md +395 -0
  303. package/skills/frontend/astro/assets/reference/modules/astro-content.md +720 -0
  304. package/skills/frontend/astro/assets/reference/modules/astro-env.md +46 -0
  305. package/skills/frontend/astro/assets/reference/modules/astro-fetch.md +346 -0
  306. package/skills/frontend/astro/assets/reference/modules/astro-hono.md +37 -0
  307. package/skills/frontend/astro/assets/reference/modules/astro-i18n.md +462 -0
  308. package/skills/frontend/astro/assets/reference/modules/astro-middleware.md +292 -0
  309. package/skills/frontend/astro/assets/reference/modules/astro-static-paths.md +74 -0
  310. package/skills/frontend/astro/assets/reference/modules/astro-transitions.md +595 -0
  311. package/skills/frontend/astro/assets/reference/modules/astro-zod.md +120 -0
  312. package/skills/frontend/astro/assets/reference/session-driver-reference.md +205 -0
  313. package/skills/frontend/astro/assets/routing-and-navigation/endpoints.md +251 -0
  314. package/skills/frontend/astro/assets/routing-and-navigation/internationalization.md +374 -0
  315. package/skills/frontend/astro/assets/routing-and-navigation/middleware.md +288 -0
  316. package/skills/frontend/astro/assets/routing-and-navigation/pages.md +205 -0
  317. package/skills/frontend/astro/assets/routing-and-navigation/prefetch.md +273 -0
  318. package/skills/frontend/astro/assets/routing-and-navigation/routing.md +760 -0
  319. package/skills/frontend/astro/assets/routing-and-navigation/view-transitions.md +792 -0
  320. package/skills/frontend/astro/assets/server-rendering/actions.md +770 -0
  321. package/skills/frontend/astro/assets/server-rendering/caching.md +255 -0
  322. package/skills/frontend/astro/assets/server-rendering/on-demand-rendering.md +289 -0
  323. package/skills/frontend/astro/assets/server-rendering/server-islands.md +126 -0
  324. package/skills/frontend/astro/assets/server-rendering/sessions.md +270 -0
  325. package/skills/frontend/astro/assets/start-a-new-project/develop-and-build.md +147 -0
  326. package/skills/frontend/astro/assets/start-a-new-project/installation.md +342 -0
  327. package/skills/frontend/astro/assets/start-a-new-project/project-structure.md +137 -0
  328. package/skills/frontend/astro/assets/upgrade-and-troubleshooting/testing.md +412 -0
  329. package/skills/frontend/astro/assets/upgrade-and-troubleshooting/troubleshooting.md +229 -0
  330. package/skills/frontend/astro/assets/upgrade-and-troubleshooting/upgrade-astro.md +205 -0
  331. package/skills/frontend/astro/assets/welcome/courses.md +46 -0
  332. package/skills/frontend/astro/assets/welcome/islands-architecture.md +135 -0
  333. package/skills/frontend/astro/assets/welcome/why-astro.md +90 -0
  334. package/skills/frontend/astro/evals/evals.json +66 -0
  335. package/skills/frontend/astro/references/contentCollections.md +164 -0
  336. package/skills/frontend/astro/references/islandsArchitecture.md +128 -0
  337. package/skills/frontend/astro/references/serverIslandsAndActions.md +187 -0
  338. package/skills/frontend/astro/scripts/auditAstroProduction.py +78 -0
  339. package/skills/frontend/generativeUi/SKILL.md +128 -0
  340. package/skills/frontend/generativeUi/evals/generativeUiVerification.json +14 -0
  341. package/skills/frontend/generativeUi/references/apiReference.md +3 -0
  342. package/skills/frontend/generativeUi/references/clientToolComponentMapping.md +8 -0
  343. package/skills/frontend/generativeUi/references/dataStreamProtocol.md +10 -0
  344. package/skills/frontend/generativeUi/scripts/generateUiComponentStub.py +46 -0
  345. package/skills/frontend/nextjs/SKILL.md +138 -0
  346. package/skills/frontend/nextjs/assets/README.md +67 -0
  347. package/skills/frontend/nextjs/assets/api-reference/cli/create-next-app.md +210 -0
  348. package/skills/frontend/nextjs/assets/api-reference/cli/next.md +484 -0
  349. package/skills/frontend/nextjs/assets/api-reference/components/font.md +952 -0
  350. package/skills/frontend/nextjs/assets/api-reference/components/form.md +387 -0
  351. package/skills/frontend/nextjs/assets/api-reference/components/image.md +1372 -0
  352. package/skills/frontend/nextjs/assets/api-reference/components/link.md +954 -0
  353. package/skills/frontend/nextjs/assets/api-reference/components/script.md +421 -0
  354. package/skills/frontend/nextjs/assets/api-reference/directives/use-cache-private.md +211 -0
  355. package/skills/frontend/nextjs/assets/api-reference/directives/use-cache-remote.md +652 -0
  356. package/skills/frontend/nextjs/assets/api-reference/directives/use-cache.md +848 -0
  357. package/skills/frontend/nextjs/assets/api-reference/directives/use-client.md +149 -0
  358. package/skills/frontend/nextjs/assets/api-reference/directives/use-server.md +234 -0
  359. package/skills/frontend/nextjs/assets/api-reference/edge-runtime.md +188 -0
  360. package/skills/frontend/nextjs/assets/api-reference/file-conventions/default.md +80 -0
  361. package/skills/frontend/nextjs/assets/api-reference/file-conventions/dynamic-routes.md +417 -0
  362. package/skills/frontend/nextjs/assets/api-reference/file-conventions/error.md +361 -0
  363. package/skills/frontend/nextjs/assets/api-reference/file-conventions/forbidden.md +75 -0
  364. package/skills/frontend/nextjs/assets/api-reference/file-conventions/instrumentation-client.md +308 -0
  365. package/skills/frontend/nextjs/assets/api-reference/file-conventions/instrumentation.md +177 -0
  366. package/skills/frontend/nextjs/assets/api-reference/file-conventions/intercepting-routes.md +78 -0
  367. package/skills/frontend/nextjs/assets/api-reference/file-conventions/layout.md +803 -0
  368. package/skills/frontend/nextjs/assets/api-reference/file-conventions/loading.md +209 -0
  369. package/skills/frontend/nextjs/assets/api-reference/file-conventions/mdx-components.md +84 -0
  370. package/skills/frontend/nextjs/assets/api-reference/file-conventions/metadata/app-icons.md +302 -0
  371. package/skills/frontend/nextjs/assets/api-reference/file-conventions/metadata/manifest.md +90 -0
  372. package/skills/frontend/nextjs/assets/api-reference/file-conventions/metadata/opengraph-image.md +580 -0
  373. package/skills/frontend/nextjs/assets/api-reference/file-conventions/metadata/robots.md +234 -0
  374. package/skills/frontend/nextjs/assets/api-reference/file-conventions/metadata/sitemap.md +459 -0
  375. package/skills/frontend/nextjs/assets/api-reference/file-conventions/not-found.md +278 -0
  376. package/skills/frontend/nextjs/assets/api-reference/file-conventions/page.md +283 -0
  377. package/skills/frontend/nextjs/assets/api-reference/file-conventions/parallel-routes.md +517 -0
  378. package/skills/frontend/nextjs/assets/api-reference/file-conventions/proxy.md +857 -0
  379. package/skills/frontend/nextjs/assets/api-reference/file-conventions/public-folder.md +47 -0
  380. package/skills/frontend/nextjs/assets/api-reference/file-conventions/route-groups.md +40 -0
  381. package/skills/frontend/nextjs/assets/api-reference/file-conventions/route-segment-config/dynamicParams.md +40 -0
  382. package/skills/frontend/nextjs/assets/api-reference/file-conventions/route-segment-config/ensureStatic.md +195 -0
  383. package/skills/frontend/nextjs/assets/api-reference/file-conventions/route-segment-config/instant.md +204 -0
  384. package/skills/frontend/nextjs/assets/api-reference/file-conventions/route-segment-config/maxDuration.md +42 -0
  385. package/skills/frontend/nextjs/assets/api-reference/file-conventions/route-segment-config/preferredRegion.md +55 -0
  386. package/skills/frontend/nextjs/assets/api-reference/file-conventions/route-segment-config/prefetch.md +113 -0
  387. package/skills/frontend/nextjs/assets/api-reference/file-conventions/route-segment-config/runtime.md +43 -0
  388. package/skills/frontend/nextjs/assets/api-reference/file-conventions/route.md +772 -0
  389. package/skills/frontend/nextjs/assets/api-reference/file-conventions/src-folder.md +42 -0
  390. package/skills/frontend/nextjs/assets/api-reference/file-conventions/template.md +174 -0
  391. package/skills/frontend/nextjs/assets/api-reference/file-conventions/unauthorized.md +143 -0
  392. package/skills/frontend/nextjs/assets/api-reference/functions/after.md +332 -0
  393. package/skills/frontend/nextjs/assets/api-reference/functions/cacheLife.md +642 -0
  394. package/skills/frontend/nextjs/assets/api-reference/functions/cacheTag.md +272 -0
  395. package/skills/frontend/nextjs/assets/api-reference/functions/catchError.md +267 -0
  396. package/skills/frontend/nextjs/assets/api-reference/functions/connection.md +114 -0
  397. package/skills/frontend/nextjs/assets/api-reference/functions/cookies.md +349 -0
  398. package/skills/frontend/nextjs/assets/api-reference/functions/draft-mode.md +173 -0
  399. package/skills/frontend/nextjs/assets/api-reference/functions/fetch.md +141 -0
  400. package/skills/frontend/nextjs/assets/api-reference/functions/forbidden.md +327 -0
  401. package/skills/frontend/nextjs/assets/api-reference/functions/generate-image-metadata.md +311 -0
  402. package/skills/frontend/nextjs/assets/api-reference/functions/generate-metadata.md +1510 -0
  403. package/skills/frontend/nextjs/assets/api-reference/functions/generate-sitemaps.md +102 -0
  404. package/skills/frontend/nextjs/assets/api-reference/functions/generate-static-params.md +606 -0
  405. package/skills/frontend/nextjs/assets/api-reference/functions/generate-viewport.md +347 -0
  406. package/skills/frontend/nextjs/assets/api-reference/functions/headers.md +92 -0
  407. package/skills/frontend/nextjs/assets/api-reference/functions/image-response.md +225 -0
  408. package/skills/frontend/nextjs/assets/api-reference/functions/io.md +131 -0
  409. package/skills/frontend/nextjs/assets/api-reference/functions/navigation.md +220 -0
  410. package/skills/frontend/nextjs/assets/api-reference/functions/next-request.md +116 -0
  411. package/skills/frontend/nextjs/assets/api-reference/functions/next-response.md +219 -0
  412. package/skills/frontend/nextjs/assets/api-reference/functions/next-root-params.md +479 -0
  413. package/skills/frontend/nextjs/assets/api-reference/functions/not-found.md +269 -0
  414. package/skills/frontend/nextjs/assets/api-reference/functions/permanentRedirect.md +92 -0
  415. package/skills/frontend/nextjs/assets/api-reference/functions/prefetch.md +202 -0
  416. package/skills/frontend/nextjs/assets/api-reference/functions/redirect.md +255 -0
  417. package/skills/frontend/nextjs/assets/api-reference/functions/refresh.md +91 -0
  418. package/skills/frontend/nextjs/assets/api-reference/functions/revalidatePath.md +248 -0
  419. package/skills/frontend/nextjs/assets/api-reference/functions/revalidateTag.md +175 -0
  420. package/skills/frontend/nextjs/assets/api-reference/functions/unauthorized.md +389 -0
  421. package/skills/frontend/nextjs/assets/api-reference/functions/unstable_cache.md +131 -0
  422. package/skills/frontend/nextjs/assets/api-reference/functions/unstable_noStore.md +61 -0
  423. package/skills/frontend/nextjs/assets/api-reference/functions/unstable_rethrow.md +79 -0
  424. package/skills/frontend/nextjs/assets/api-reference/functions/updateTag.md +173 -0
  425. package/skills/frontend/nextjs/assets/api-reference/functions/use-link-status.md +268 -0
  426. package/skills/frontend/nextjs/assets/api-reference/functions/use-offline.md +222 -0
  427. package/skills/frontend/nextjs/assets/api-reference/functions/use-params.md +102 -0
  428. package/skills/frontend/nextjs/assets/api-reference/functions/use-pathname.md +189 -0
  429. package/skills/frontend/nextjs/assets/api-reference/functions/use-report-web-vitals.md +175 -0
  430. package/skills/frontend/nextjs/assets/api-reference/functions/use-router.md +214 -0
  431. package/skills/frontend/nextjs/assets/api-reference/functions/use-search-params.md +416 -0
  432. package/skills/frontend/nextjs/assets/api-reference/functions/use-selected-layout-segment.md +214 -0
  433. package/skills/frontend/nextjs/assets/api-reference/functions/use-selected-layout-segments.md +116 -0
  434. package/skills/frontend/nextjs/assets/api-reference/functions/use-server-inserted-html.md +145 -0
  435. package/skills/frontend/nextjs/assets/api-reference/functions/userAgent.md +95 -0
  436. package/skills/frontend/nextjs/assets/api-reference/turbopack.md +552 -0
  437. package/skills/frontend/nextjs/assets/architecture/accessibility.md +47 -0
  438. package/skills/frontend/nextjs/assets/architecture/fast-refresh.md +122 -0
  439. package/skills/frontend/nextjs/assets/architecture/nextjs-compiler.md +376 -0
  440. package/skills/frontend/nextjs/assets/architecture/supported-browsers.md +146 -0
  441. package/skills/frontend/nextjs/assets/community/contribution-guide.md +459 -0
  442. package/skills/frontend/nextjs/assets/community/rspack.md +25 -0
  443. package/skills/frontend/nextjs/assets/getting-started/caching.md +626 -0
  444. package/skills/frontend/nextjs/assets/getting-started/css.md +336 -0
  445. package/skills/frontend/nextjs/assets/getting-started/deploying.md +115 -0
  446. package/skills/frontend/nextjs/assets/getting-started/error-handling.md +485 -0
  447. package/skills/frontend/nextjs/assets/getting-started/fetching-data.md +743 -0
  448. package/skills/frontend/nextjs/assets/getting-started/fonts.md +232 -0
  449. package/skills/frontend/nextjs/assets/getting-started/images.md +272 -0
  450. package/skills/frontend/nextjs/assets/getting-started/installation.md +446 -0
  451. package/skills/frontend/nextjs/assets/getting-started/layouts-and-pages.md +386 -0
  452. package/skills/frontend/nextjs/assets/getting-started/linking-and-navigating.md +475 -0
  453. package/skills/frontend/nextjs/assets/getting-started/metadata-and-og-images.md +370 -0
  454. package/skills/frontend/nextjs/assets/getting-started/mutating-data.md +679 -0
  455. package/skills/frontend/nextjs/assets/getting-started/project-structure.md +290 -0
  456. package/skills/frontend/nextjs/assets/getting-started/proxy.md +107 -0
  457. package/skills/frontend/nextjs/assets/getting-started/revalidating.md +241 -0
  458. package/skills/frontend/nextjs/assets/getting-started/route-handlers.md +233 -0
  459. package/skills/frontend/nextjs/assets/getting-started/server-and-client-components.md +683 -0
  460. package/skills/frontend/nextjs/assets/getting-started/upgrading.md +137 -0
  461. package/skills/frontend/nextjs/assets/glossary.md +315 -0
  462. package/skills/frontend/nextjs/evals/nextjsVerification.json +14 -0
  463. package/skills/frontend/nextjs/references/apiReference.md +3 -0
  464. package/skills/frontend/nextjs/references/dataAccessLayer.md +39 -0
  465. package/skills/frontend/nextjs/references/nextjsFeatureMap.md +276 -0
  466. package/skills/frontend/nextjs/references/productionChecklist.md +49 -0
  467. package/skills/frontend/nextjs/references/securityHeadersCsp.md +44 -0
  468. package/skills/frontend/nextjs/scripts/auditProductionReadiness.py +85 -0
  469. package/skills/frontend/shadcn-ui/SKILL.md +102 -0
  470. package/skills/frontend/shadcn-ui/assets/README.md +82 -0
  471. package/skills/frontend/shadcn-ui/assets/advanced/javascript.md +44 -0
  472. package/skills/frontend/shadcn-ui/assets/advanced/monorepo.md +254 -0
  473. package/skills/frontend/shadcn-ui/assets/advanced/react-19.md +166 -0
  474. package/skills/frontend/shadcn-ui/assets/advanced/tailwind-v4.md +333 -0
  475. package/skills/frontend/shadcn-ui/assets/ai-elements/chain-of-thought.md +519 -0
  476. package/skills/frontend/shadcn-ui/assets/ai-elements/chat.md +581 -0
  477. package/skills/frontend/shadcn-ui/assets/ai-elements/checkpoint.md +243 -0
  478. package/skills/frontend/shadcn-ui/assets/ai-elements/confirmation.md +382 -0
  479. package/skills/frontend/shadcn-ui/assets/ai-elements/context.md +188 -0
  480. package/skills/frontend/shadcn-ui/assets/ai-elements/file-tree.md +248 -0
  481. package/skills/frontend/shadcn-ui/assets/ai-elements/index.md +307 -0
  482. package/skills/frontend/shadcn-ui/assets/ai-elements/inline-citation.md +219 -0
  483. package/skills/frontend/shadcn-ui/assets/ai-elements/message.md +298 -0
  484. package/skills/frontend/shadcn-ui/assets/ai-elements/model-selector.md +368 -0
  485. package/skills/frontend/shadcn-ui/assets/ai-elements/plan.md +398 -0
  486. package/skills/frontend/shadcn-ui/assets/ai-elements/prompt-input.md +403 -0
  487. package/skills/frontend/shadcn-ui/assets/ai-elements/queue.md +517 -0
  488. package/skills/frontend/shadcn-ui/assets/ai-elements/reasoning.md +349 -0
  489. package/skills/frontend/shadcn-ui/assets/ai-elements/sources.md +303 -0
  490. package/skills/frontend/shadcn-ui/assets/ai-elements/stack-trace.md +514 -0
  491. package/skills/frontend/shadcn-ui/assets/ai-elements/subagent.md +551 -0
  492. package/skills/frontend/shadcn-ui/assets/ai-elements/suggestion.md +246 -0
  493. package/skills/frontend/shadcn-ui/assets/ai-elements/task.md +380 -0
  494. package/skills/frontend/shadcn-ui/assets/ai-elements/terminal.md +463 -0
  495. package/skills/frontend/shadcn-ui/assets/ai-elements/test-results.md +641 -0
  496. package/skills/frontend/shadcn-ui/assets/ai-elements/tool.md +915 -0
  497. package/skills/frontend/shadcn-ui/assets/components/accordion.md +490 -0
  498. package/skills/frontend/shadcn-ui/assets/components/alert-dialog.md +520 -0
  499. package/skills/frontend/shadcn-ui/assets/components/alert.md +351 -0
  500. package/skills/frontend/shadcn-ui/assets/components/aspect-ratio.md +206 -0
  501. package/skills/frontend/shadcn-ui/assets/components/attachment.md +715 -0
  502. package/skills/frontend/shadcn-ui/assets/components/avatar.md +581 -0
  503. package/skills/frontend/shadcn-ui/assets/components/badge.md +276 -0
  504. package/skills/frontend/shadcn-ui/assets/components/breadcrumb.md +556 -0
  505. package/skills/frontend/shadcn-ui/assets/components/bubble.md +706 -0
  506. package/skills/frontend/shadcn-ui/assets/components/button-group.md +969 -0
  507. package/skills/frontend/shadcn-ui/assets/components/button.md +523 -0
  508. package/skills/frontend/shadcn-ui/assets/components/calendar.md +959 -0
  509. package/skills/frontend/shadcn-ui/assets/components/card.md +684 -0
  510. package/skills/frontend/shadcn-ui/assets/components/carousel.md +643 -0
  511. package/skills/frontend/shadcn-ui/assets/components/chart.md +1295 -0
  512. package/skills/frontend/shadcn-ui/assets/components/checkbox.md +553 -0
  513. package/skills/frontend/shadcn-ui/assets/components/code-block.md +2041 -0
  514. package/skills/frontend/shadcn-ui/assets/components/collapsible.md +504 -0
  515. package/skills/frontend/shadcn-ui/assets/components/combobox.md +1102 -0
  516. package/skills/frontend/shadcn-ui/assets/components/command.md +682 -0
  517. package/skills/frontend/shadcn-ui/assets/components/context-menu.md +949 -0
  518. package/skills/frontend/shadcn-ui/assets/components/data-table.md +1667 -0
  519. package/skills/frontend/shadcn-ui/assets/components/date-picker.md +698 -0
  520. package/skills/frontend/shadcn-ui/assets/components/dialog.md +454 -0
  521. package/skills/frontend/shadcn-ui/assets/components/direction.md +205 -0
  522. package/skills/frontend/shadcn-ui/assets/components/drawer.md +806 -0
  523. package/skills/frontend/shadcn-ui/assets/components/dropdown-menu.md +1315 -0
  524. package/skills/frontend/shadcn-ui/assets/components/empty.md +562 -0
  525. package/skills/frontend/shadcn-ui/assets/components/field.md +1321 -0
  526. package/skills/frontend/shadcn-ui/assets/components/hover-card.md +342 -0
  527. package/skills/frontend/shadcn-ui/assets/components/index.md +82 -0
  528. package/skills/frontend/shadcn-ui/assets/components/input-group.md +980 -0
  529. package/skills/frontend/shadcn-ui/assets/components/input-otp.md +551 -0
  530. package/skills/frontend/shadcn-ui/assets/components/input.md +555 -0
  531. package/skills/frontend/shadcn-ui/assets/components/item.md +937 -0
  532. package/skills/frontend/shadcn-ui/assets/components/kbd.md +290 -0
  533. package/skills/frontend/shadcn-ui/assets/components/label.md +327 -0
  534. package/skills/frontend/shadcn-ui/assets/components/marker.md +445 -0
  535. package/skills/frontend/shadcn-ui/assets/components/menubar.md +804 -0
  536. package/skills/frontend/shadcn-ui/assets/components/message-scroller.md +2770 -0
  537. package/skills/frontend/shadcn-ui/assets/components/message.md +618 -0
  538. package/skills/frontend/shadcn-ui/assets/components/native-select.md +321 -0
  539. package/skills/frontend/shadcn-ui/assets/components/navigation-menu.md +568 -0
  540. package/skills/frontend/shadcn-ui/assets/components/pagination.md +425 -0
  541. package/skills/frontend/shadcn-ui/assets/components/popover.md +402 -0
  542. package/skills/frontend/shadcn-ui/assets/components/progress.md +240 -0
  543. package/skills/frontend/shadcn-ui/assets/components/questionnaire.md +2055 -0
  544. package/skills/frontend/shadcn-ui/assets/components/radio-group.md +440 -0
  545. package/skills/frontend/shadcn-ui/assets/components/resizable.md +302 -0
  546. package/skills/frontend/shadcn-ui/assets/components/scroll-area.md +226 -0
  547. package/skills/frontend/shadcn-ui/assets/components/select.md +647 -0
  548. package/skills/frontend/shadcn-ui/assets/components/separator.md +235 -0
  549. package/skills/frontend/shadcn-ui/assets/components/sheet.md +354 -0
  550. package/skills/frontend/shadcn-ui/assets/components/sidebar.md +1156 -0
  551. package/skills/frontend/shadcn-ui/assets/components/skeleton.md +217 -0
  552. package/skills/frontend/shadcn-ui/assets/components/slider.md +253 -0
  553. package/skills/frontend/shadcn-ui/assets/components/spinner.md +352 -0
  554. package/skills/frontend/shadcn-ui/assets/components/switch.md +296 -0
  555. package/skills/frontend/shadcn-ui/assets/components/table.md +572 -0
  556. package/skills/frontend/shadcn-ui/assets/components/tabs.md +425 -0
  557. package/skills/frontend/shadcn-ui/assets/components/textarea.md +218 -0
  558. package/skills/frontend/shadcn-ui/assets/components/toast.md +260 -0
  559. package/skills/frontend/shadcn-ui/assets/components/toggle-group.md +419 -0
  560. package/skills/frontend/shadcn-ui/assets/components/toggle.md +220 -0
  561. package/skills/frontend/shadcn-ui/assets/components/tooltip.md +332 -0
  562. package/skills/frontend/shadcn-ui/assets/components/trace.md +1890 -0
  563. package/skills/frontend/shadcn-ui/assets/components/typography.md +561 -0
  564. package/skills/frontend/shadcn-ui/assets/dark-mode/next.md +108 -0
  565. package/skills/frontend/shadcn-ui/assets/dark-mode/overview.md +75 -0
  566. package/skills/frontend/shadcn-ui/assets/dark-mode/vite.md +144 -0
  567. package/skills/frontend/shadcn-ui/assets/forms/next.md +716 -0
  568. package/skills/frontend/shadcn-ui/assets/forms/overview.md +60 -0
  569. package/skills/frontend/shadcn-ui/assets/forms/react-hook-form.md +2055 -0
  570. package/skills/frontend/shadcn-ui/assets/forms/tanstack-form.md +2236 -0
  571. package/skills/frontend/shadcn-ui/assets/installation/astro.md +252 -0
  572. package/skills/frontend/shadcn-ui/assets/installation/manual.md +255 -0
  573. package/skills/frontend/shadcn-ui/assets/installation/next.md +256 -0
  574. package/skills/frontend/shadcn-ui/assets/installation/react-router.md +226 -0
  575. package/skills/frontend/shadcn-ui/assets/installation/remix.md +52 -0
  576. package/skills/frontend/shadcn-ui/assets/installation/vite.md +314 -0
  577. package/skills/frontend/shadcn-ui/assets/mcp/mcp.md +338 -0
  578. package/skills/frontend/shadcn-ui/assets/overview/changelog.md +6 -0
  579. package/skills/frontend/shadcn-ui/assets/overview/cli.md +738 -0
  580. package/skills/frontend/shadcn-ui/assets/overview/components-json.md +379 -0
  581. package/skills/frontend/shadcn-ui/assets/overview/directory.md +74 -0
  582. package/skills/frontend/shadcn-ui/assets/overview/introduction.md +77 -0
  583. package/skills/frontend/shadcn-ui/assets/overview/skills.md +71 -0
  584. package/skills/frontend/shadcn-ui/assets/overview/theming.md +304 -0
  585. package/skills/frontend/shadcn-ui/assets/overview/typeset.md +242 -0
  586. package/skills/frontend/shadcn-ui/assets/registry/getting-started.md +648 -0
  587. package/skills/frontend/shadcn-ui/assets/registry/overview.md +90 -0
  588. package/skills/frontend/shadcn-ui/assets/registry/registry-item-json.md +483 -0
  589. package/skills/frontend/shadcn-ui/assets/registry/registry-json.md +178 -0
  590. package/skills/frontend/shadcn-ui/evals/componentVerification.json +19 -0
  591. package/skills/frontend/shadcn-ui/references/aiComponentsCatalog.md +51 -0
  592. package/skills/frontend/shadcn-ui/references/apiReference.md +3 -0
  593. package/skills/frontend/shadcn-ui/references/blocksCatalog.md +32 -0
  594. package/skills/frontend/shadcn-ui/references/cliCommands.md +47 -0
  595. package/skills/frontend/shadcn-ui/references/componentMarkdownSources.md +48 -0
  596. package/skills/frontend/shadcn-ui/scripts/fetchComponentDocs.py +43 -0
  597. package/skills/frontend/tsxReactStandard/SKILL.md +150 -0
  598. package/skills/frontend/tsxReactStandard/evals/tsxVerification.json +14 -0
  599. package/skills/frontend/tsxReactStandard/references/apiReference.md +3 -0
  600. package/skills/frontend/tsxReactStandard/references/discriminatedUnions.md +31 -0
  601. package/skills/frontend/tsxReactStandard/references/tsconfigStrict.md +36 -0
  602. package/skills/frontend/tsxReactStandard/scripts/validateTsxTypes.py +44 -0
  603. package/skills/gitVersionControl/gitWorkflow/SKILL.md +128 -0
  604. package/skills/gitVersionControl/gitWorkflow/assets/README.md +23 -0
  605. package/skills/gitVersionControl/gitWorkflow/assets/cli/gh-environment.md +87 -0
  606. package/skills/gitVersionControl/gitWorkflow/assets/cli/gh-formatting.md +156 -0
  607. package/skills/gitVersionControl/gitWorkflow/assets/cli/gh-reference.md +2363 -0
  608. package/skills/gitVersionControl/gitWorkflow/assets/using-git/about-git.md +156 -0
  609. package/skills/gitVersionControl/gitWorkflow/assets/using-git/about-remote-repositories.md +65 -0
  610. package/skills/gitVersionControl/gitWorkflow/assets/using-git/associating-text-editors-with-git.md +93 -0
  611. package/skills/gitVersionControl/gitWorkflow/assets/using-git/caching-your-github-credentials.md +115 -0
  612. package/skills/gitVersionControl/gitWorkflow/assets/using-git/getting-changes-from-a-remote-repository.md +76 -0
  613. package/skills/gitVersionControl/gitWorkflow/assets/using-git/ignoring-files.md +51 -0
  614. package/skills/gitVersionControl/gitWorkflow/assets/using-git/managing-remote-repositories.md +231 -0
  615. package/skills/gitVersionControl/gitWorkflow/assets/using-git/pushing-commits-to-a-remote-repository.md +119 -0
  616. package/skills/gitVersionControl/gitWorkflow/evals/evalGitWorkflow.py +43 -0
  617. package/skills/gitVersionControl/gitWorkflow/references/apiReference.md +3 -0
  618. package/skills/gitVersionControl/gitWorkflow/references/branchingModels.md +32 -0
  619. package/skills/gitVersionControl/gitWorkflow/scripts/diagnoseGitGraph.py +68 -0
  620. package/skills/github/assets/README.md +39 -0
  621. package/skills/github/assets/cli/gh-environment.md +87 -0
  622. package/skills/github/assets/cli/gh-formatting.md +156 -0
  623. package/skills/github/assets/cli/gh-reference.md +2363 -0
  624. package/skills/github/assets/docs-api/github-docs-api.md +60 -0
  625. package/skills/github/assets/rest-api/actions-secrets.md +1272 -0
  626. package/skills/github/assets/rest-api/actions-variables.md +1247 -0
  627. package/skills/github/assets/rest-api/actions-workflow-runs.md +1697 -0
  628. package/skills/github/assets/rest-api/actions-workflows.md +348 -0
  629. package/skills/github/assets/rest-api/authenticating.md +174 -0
  630. package/skills/github/assets/rest-api/branches.md +727 -0
  631. package/skills/github/assets/rest-api/checks-runs.md +1013 -0
  632. package/skills/github/assets/rest-api/checks-suites.md +1142 -0
  633. package/skills/github/assets/rest-api/code-scanning.md +2957 -0
  634. package/skills/github/assets/rest-api/collaborators.md +547 -0
  635. package/skills/github/assets/rest-api/commits.md +957 -0
  636. package/skills/github/assets/rest-api/dependabot-alerts.md +895 -0
  637. package/skills/github/assets/rest-api/orgs.md +1172 -0
  638. package/skills/github/assets/rest-api/overview.md +875 -0
  639. package/skills/github/assets/rest-api/pull-reviews.md +722 -0
  640. package/skills/github/assets/rest-api/pulls.md +1605 -0
  641. package/skills/github/assets/rest-api/quickstart.md +344 -0
  642. package/skills/github/assets/rest-api/releases.md +650 -0
  643. package/skills/github/assets/rest-api/repos.md +2957 -0
  644. package/skills/github/assets/rest-api/rules.md +1507 -0
  645. package/skills/github/assets/rest-api/secret-scanning.md +947 -0
  646. package/skills/github/assets/rest-api/teams.md +1690 -0
  647. package/skills/github/githubAction/SKILL.md +159 -0
  648. package/skills/github/githubAction/assets/README.md +38 -0
  649. package/skills/github/githubAction/assets/reference/contexts.md +918 -0
  650. package/skills/github/githubAction/assets/reference/dependency-caching.md +393 -0
  651. package/skills/github/githubAction/assets/reference/events-that-trigger-workflows.md +1348 -0
  652. package/skills/github/githubAction/assets/reference/expressions.md +441 -0
  653. package/skills/github/githubAction/assets/reference/metadata-syntax.md +803 -0
  654. package/skills/github/githubAction/assets/reference/variables.md +149 -0
  655. package/skills/github/githubAction/assets/reference/workflow-cancellation.md +22 -0
  656. package/skills/github/githubAction/assets/reference/workflow-commands.md +1056 -0
  657. package/skills/github/githubAction/assets/reference/workflow-syntax.md +1721 -0
  658. package/skills/github/githubAction/assets/rest-api/secrets.md +1272 -0
  659. package/skills/github/githubAction/assets/rest-api/workflow-runs.md +1697 -0
  660. package/skills/github/githubAction/assets/rest-api/workflows.md +348 -0
  661. package/skills/github/githubAction/assets/starter-workflows/automation/stale.yml +27 -0
  662. package/skills/github/githubAction/assets/starter-workflows/ci/blank.yml +36 -0
  663. package/skills/github/githubAction/assets/starter-workflows/ci/docker-image.yml +18 -0
  664. package/skills/github/githubAction/assets/starter-workflows/ci/go.yml +28 -0
  665. package/skills/github/githubAction/assets/starter-workflows/ci/maven.yml +35 -0
  666. package/skills/github/githubAction/assets/starter-workflows/ci/node.js.yml +31 -0
  667. package/skills/github/githubAction/assets/starter-workflows/ci/python-app.yml +39 -0
  668. package/skills/github/githubAction/assets/starter-workflows/ci/rust.yml +22 -0
  669. package/skills/github/githubAction/assets/starter-workflows/code-scanning/codeql.yml +97 -0
  670. package/skills/github/githubAction/evals/actionVerification.json +14 -0
  671. package/skills/github/githubAction/references/apiReference.md +3 -0
  672. package/skills/github/githubAction/references/workflowPatterns.md +81 -0
  673. package/skills/github/githubAction/scripts/validateWorkflowYaml.py +53 -0
  674. package/skills/github/githubQuality/SKILL.md +136 -0
  675. package/skills/github/githubQuality/assets/README.md +24 -0
  676. package/skills/github/githubQuality/assets/pull-requests/about-code-owners.md +178 -0
  677. package/skills/github/githubQuality/assets/pull-requests/about-merge-methods.md +48 -0
  678. package/skills/github/githubQuality/assets/pull-requests/creating-a-pull-request.md +170 -0
  679. package/skills/github/githubQuality/assets/pull-requests/giving-reviews.md +48 -0
  680. package/skills/github/githubQuality/assets/pull-requests/managing-a-merge-queue.md +134 -0
  681. package/skills/github/githubQuality/assets/pull-requests/merging-a-pull-request.md +101 -0
  682. package/skills/github/githubQuality/assets/pull-requests/resolving-reviews.md +59 -0
  683. package/skills/github/githubQuality/assets/pull-requests/status-checks.md +135 -0
  684. package/skills/github/githubQuality/assets/rest-api/checks-runs.md +1013 -0
  685. package/skills/github/githubQuality/assets/rest-api/checks-suites.md +1142 -0
  686. package/skills/github/githubQuality/assets/rest-api/commits.md +957 -0
  687. package/skills/github/githubQuality/assets/rest-api/pulls.md +1605 -0
  688. package/skills/github/githubQuality/assets/rest-api/reviews.md +722 -0
  689. package/skills/github/githubQuality/evals/qualityVerification.json +14 -0
  690. package/skills/github/githubQuality/references/apiReference.md +3 -0
  691. package/skills/github/githubQuality/references/codeownersExample.md +26 -0
  692. package/skills/github/githubQuality/references/prTemplate.md +20 -0
  693. package/skills/github/githubQuality/scripts/auditPrQuality.py +52 -0
  694. package/skills/github/githubSecurity/SKILL.md +170 -0
  695. package/skills/github/githubSecurity/assets/README.md +32 -0
  696. package/skills/github/githubSecurity/assets/code-scanning/code-scanning-alerts.md +133 -0
  697. package/skills/github/githubSecurity/assets/code-scanning/code-scanning.md +67 -0
  698. package/skills/github/githubSecurity/assets/code-scanning/codeql-code-scanning.md +79 -0
  699. package/skills/github/githubSecurity/assets/code-scanning/configure-code-scanning.md +121 -0
  700. package/skills/github/githubSecurity/assets/dependabot/about-the-dependabot-yml-file.md +74 -0
  701. package/skills/github/githubSecurity/assets/dependabot/dependabot-alerts.md +133 -0
  702. package/skills/github/githubSecurity/assets/dependabot/dependabot-security-updates.md +95 -0
  703. package/skills/github/githubSecurity/assets/dependabot/dependabot-version-updates.md +80 -0
  704. package/skills/github/githubSecurity/assets/rest-api/code-scanning.md +2957 -0
  705. package/skills/github/githubSecurity/assets/rest-api/dependabot-alerts.md +895 -0
  706. package/skills/github/githubSecurity/assets/rest-api/secret-scanning.md +947 -0
  707. package/skills/github/githubSecurity/assets/secret-scanning/enable-secret-scanning.md +59 -0
  708. package/skills/github/githubSecurity/assets/secret-scanning/secret-scanning.md +105 -0
  709. package/skills/github/githubSecurity/assets/security-advisories/github-advisory-database.md +148 -0
  710. package/skills/github/githubSecurity/evals/securityVerification.json +14 -0
  711. package/skills/github/githubSecurity/references/apiReference.md +3 -0
  712. package/skills/github/githubSecurity/references/codeqlAnalysis.yml +42 -0
  713. package/skills/github/githubSecurity/references/dependabotConfig.yml +27 -0
  714. package/skills/github/githubSecurity/scripts/auditRepoSecurity.py +47 -0
  715. package/skills/github/githubSetup/SKILL.md +137 -0
  716. package/skills/github/githubSetup/assets/README.md +40 -0
  717. package/skills/github/githubSetup/assets/branches/about-protected-branches.md +198 -0
  718. package/skills/github/githubSetup/assets/branches/changing-the-default-branch.md +49 -0
  719. package/skills/github/githubSetup/assets/branches/deleting-and-restoring-branches.md +44 -0
  720. package/skills/github/githubSetup/assets/branches/managing-a-branch-protection-rule.md +115 -0
  721. package/skills/github/githubSetup/assets/branches/renaming-a-branch.md +74 -0
  722. package/skills/github/githubSetup/assets/branches/viewing-branches-in-your-repository.md +30 -0
  723. package/skills/github/githubSetup/assets/repositories/about-repositories.md +127 -0
  724. package/skills/github/githubSetup/assets/repositories/cloning-a-repository.md +114 -0
  725. package/skills/github/githubSetup/assets/repositories/creating-a-new-repository.md +82 -0
  726. package/skills/github/githubSetup/assets/repositories/creating-a-repository-from-a-template.md +51 -0
  727. package/skills/github/githubSetup/assets/repositories/deleting-a-repository.md +34 -0
  728. package/skills/github/githubSetup/assets/repositories/managing-teams-and-people-with-access.md +69 -0
  729. package/skills/github/githubSetup/assets/repositories/renaming-a-repository.md +47 -0
  730. package/skills/github/githubSetup/assets/repositories/restoring-a-deleted-repository.md +61 -0
  731. package/skills/github/githubSetup/assets/repositories/setting-repository-visibility.md +137 -0
  732. package/skills/github/githubSetup/assets/rest-api/branches.md +727 -0
  733. package/skills/github/githubSetup/assets/rest-api/quickstart.md +344 -0
  734. package/skills/github/githubSetup/assets/rest-api/repos.md +2957 -0
  735. package/skills/github/githubSetup/assets/rulesets/about-rulesets.md +72 -0
  736. package/skills/github/githubSetup/assets/rulesets/available-rules-for-rulesets.md +383 -0
  737. package/skills/github/githubSetup/assets/rulesets/converting-branch-protections-to-rulesets.md +92 -0
  738. package/skills/github/githubSetup/assets/rulesets/creating-rulesets-for-a-repository.md +108 -0
  739. package/skills/github/githubSetup/assets/rulesets/managing-rulesets-for-a-repository.md +149 -0
  740. package/skills/github/githubSetup/assets/rulesets/troubleshooting-rules.md +122 -0
  741. package/skills/github/githubSetup/evals/setupVerification.json +14 -0
  742. package/skills/github/githubSetup/references/apiReference.md +3 -0
  743. package/skills/github/githubSetup/references/repoSettingsBlueprint.md +13 -0
  744. package/skills/github/githubSetup/references/rulesetTemplates.json +42 -0
  745. package/skills/github/githubSetup/scripts/configureRepoBaseline.py +46 -0
  746. package/skills/github/githubTeam/SKILL.md +115 -0
  747. package/skills/github/githubTeam/assets/README.md +21 -0
  748. package/skills/github/githubTeam/assets/organizations/about-organizations.md +69 -0
  749. package/skills/github/githubTeam/assets/organizations/repository-roles-for-an-organization.md +94 -0
  750. package/skills/github/githubTeam/assets/rest-api/collaborators.md +547 -0
  751. package/skills/github/githubTeam/assets/rest-api/orgs.md +1172 -0
  752. package/skills/github/githubTeam/assets/rest-api/teams.md +1690 -0
  753. package/skills/github/githubTeam/assets/teams/about-teams.md +82 -0
  754. package/skills/github/githubTeam/assets/teams/adding-members-to-a-team.md +55 -0
  755. package/skills/github/githubTeam/evals/teamVerification.json +14 -0
  756. package/skills/github/githubTeam/references/apiReference.md +3 -0
  757. package/skills/github/githubTeam/references/permissionMatrix.md +17 -0
  758. package/skills/github/githubTeam/references/reviewAssignment.md +17 -0
  759. package/skills/github/githubTeam/scripts/manageTeamSync.py +31 -0
  760. package/skills/securityQa/llmSecurityRedteaming/SKILL.md +86 -0
  761. package/skills/securityQa/llmSecurityRedteaming/evals/securityRedteamVerification.json +14 -0
  762. package/skills/securityQa/llmSecurityRedteaming/references/apiReference.md +3 -0
  763. package/skills/securityQa/llmSecurityRedteaming/references/jailbreakTaxonomy.md +6 -0
  764. package/skills/securityQa/llmSecurityRedteaming/references/owaspLlmTopTen.md +12 -0
  765. package/skills/securityQa/llmSecurityRedteaming/scripts/testPromptInjection.py +34 -0
  766. package/skills/softwareDevelopment/requirementsEngineering/SKILL.md +110 -0
  767. package/skills/softwareDevelopment/requirementsEngineering/evals/evalRequirements.py +33 -0
  768. package/skills/softwareDevelopment/requirementsEngineering/references/apiReference.md +3 -0
  769. package/skills/softwareDevelopment/requirementsEngineering/references/requirementsAnalysisModels.md +34 -0
  770. package/skills/softwareDevelopment/requirementsEngineering/scripts/validateUserStories.py +49 -0
  771. package/skills/testing/testDrivenDevelopment/SKILL.md +122 -0
  772. package/skills/testing/testDrivenDevelopment/evals/evalTdd.py +25 -0
  773. package/skills/testing/testDrivenDevelopment/references/apiReference.md +3 -0
  774. package/skills/testing/testDrivenDevelopment/references/testPyramidDoubles.md +35 -0
  775. package/skills/testing/testDrivenDevelopment/scripts/auditTestPyramid.py +58 -0
@@ -0,0 +1,2957 @@
1
+ # REST API endpoints for repositories
2
+
3
+ Use the REST API to manage repositories on GitHub.
4
+
5
+ > [!NOTE]
6
+ > Most endpoints use `Authorization: Bearer <YOUR-TOKEN>` and `Accept: application/vnd.github+json` headers, plus `X-GitHub-Api-Version: 2026-03-10`. Curl examples below omit these standard headers for brevity.
7
+
8
+ ## List organization repositories
9
+
10
+ ```
11
+ GET /orgs/{org}/repos
12
+ ```
13
+
14
+ Lists repositories for the specified organization.
15
+ Note
16
+
17
+ In order to see the security_and_analysis block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "Managing security managers in your organization."
18
+
19
+ ### Parameters
20
+
21
+ #### Headers
22
+
23
+ - **`accept`** (string)
24
+ Setting to `application/vnd.github+json` is recommended.
25
+
26
+ #### Path and query parameters
27
+
28
+ - **`org`** (string) (required)
29
+ The organization name. The name is not case sensitive.
30
+
31
+ - **`type`** (string)
32
+ Specifies the types of repositories you want returned.
33
+ Default: `all`
34
+ Can be one of: `all`, `public`, `private`, `forks`, `sources`, `member`
35
+
36
+ - **`sort`** (string)
37
+ The property to sort the results by.
38
+ Default: `created`
39
+ Can be one of: `created`, `updated`, `pushed`, `full_name`
40
+
41
+ - **`direction`** (string)
42
+ The order to sort by. Default: asc when using full_name, otherwise desc.
43
+ Can be one of: `asc`, `desc`
44
+
45
+ - **`per_page`** (integer)
46
+ The number of results per page (max 100). For more information, see "Using pagination in the REST API."
47
+ Default: `30`
48
+
49
+ - **`page`** (integer)
50
+ The page number of the results to fetch. For more information, see "Using pagination in the REST API."
51
+ Default: `1`
52
+
53
+ ### HTTP response status codes
54
+
55
+ - **200** - OK
56
+
57
+ ### Code examples
58
+
59
+ #### Example
60
+
61
+ **Request:**
62
+
63
+ ```curl
64
+ curl -L \
65
+ -X GET \
66
+ https://api.github.com/orgs/ORG/repos
67
+ ```
68
+
69
+ **Response schema (Status: 200):**
70
+
71
+ Array of `Minimal Repository`:
72
+ * `id`: required, integer, format: int64
73
+ * `node_id`: required, string
74
+ * `name`: required, string
75
+ * `full_name`: required, string
76
+ * `owner`: required, `Simple User`:
77
+ * `name`: string or null
78
+ * `email`: string or null
79
+ * `login`: required, string
80
+ * `id`: required, integer, format: int64
81
+ * `node_id`: required, string
82
+ * `avatar_url`: required, string, format: uri
83
+ * `gravatar_id`: required, string or null
84
+ * `url`: required, string, format: uri
85
+ * `html_url`: required, string, format: uri
86
+ * `followers_url`: required, string, format: uri
87
+ * `following_url`: required, string
88
+ * `gists_url`: required, string
89
+ * `starred_url`: required, string
90
+ * `subscriptions_url`: required, string, format: uri
91
+ * `organizations_url`: required, string, format: uri
92
+ * `repos_url`: required, string, format: uri
93
+ * `events_url`: required, string
94
+ * `received_events_url`: required, string, format: uri
95
+ * `type`: required, string
96
+ * `site_admin`: required, boolean
97
+ * `starred_at`: string
98
+ * `user_view_type`: string
99
+ * `private`: required, boolean
100
+ * `html_url`: required, string, format: uri
101
+ * `description`: required, string or null
102
+ * `fork`: required, boolean
103
+ * `url`: required, string, format: uri
104
+ * `archive_url`: required, string
105
+ * `assignees_url`: required, string
106
+ * `blobs_url`: required, string
107
+ * `branches_url`: required, string
108
+ * `collaborators_url`: required, string
109
+ * `comments_url`: required, string
110
+ * `commits_url`: required, string
111
+ * `compare_url`: required, string
112
+ * `contents_url`: required, string
113
+ * `contributors_url`: required, string, format: uri
114
+ * `deployments_url`: required, string, format: uri
115
+ * `downloads_url`: required, string, format: uri
116
+ * `events_url`: required, string, format: uri
117
+ * `forks_url`: required, string, format: uri
118
+ * `git_commits_url`: required, string
119
+ * `git_refs_url`: required, string
120
+ * `git_tags_url`: required, string
121
+ * `git_url`: string
122
+ * `issue_comment_url`: required, string
123
+ * `issue_events_url`: required, string
124
+ * `issues_url`: required, string
125
+ * `keys_url`: required, string
126
+ * `labels_url`: required, string
127
+ * `languages_url`: required, string, format: uri
128
+ * `merges_url`: required, string, format: uri
129
+ * `milestones_url`: required, string
130
+ * `notifications_url`: required, string
131
+ * `pulls_url`: required, string
132
+ * `releases_url`: required, string
133
+ * `ssh_url`: string
134
+ * `stargazers_url`: required, string, format: uri
135
+ * `statuses_url`: required, string
136
+ * `subscribers_url`: required, string, format: uri
137
+ * `subscription_url`: required, string, format: uri
138
+ * `tags_url`: required, string, format: uri
139
+ * `teams_url`: required, string, format: uri
140
+ * `trees_url`: required, string
141
+ * `clone_url`: string
142
+ * `mirror_url`: string or null
143
+ * `hooks_url`: required, string, format: uri
144
+ * `svn_url`: string
145
+ * `homepage`: string or null
146
+ * `language`: string or null
147
+ * `forks_count`: integer
148
+ * `stargazers_count`: integer
149
+ * `watchers_count`: integer
150
+ * `size`: integer
151
+ * `default_branch`: string
152
+ * `open_issues_count`: integer
153
+ * `is_template`: boolean
154
+ * `topics`: array of string
155
+ * `has_issues`: boolean
156
+ * `has_projects`: boolean
157
+ * `has_wiki`: boolean
158
+ * `has_pages`: boolean
159
+ * `has_discussions`: boolean
160
+ * `has_pull_requests`: boolean
161
+ * `pull_request_creation_policy`: string, enum: `all`, `collaborators_only`
162
+ * `archived`: boolean
163
+ * `disabled`: boolean
164
+ * `visibility`: string
165
+ * `pushed_at`: string or null, format: date-time
166
+ * `created_at`: string or null, format: date-time
167
+ * `updated_at`: string or null, format: date-time
168
+ * `permissions`: object:
169
+ * `admin`: boolean
170
+ * `maintain`: boolean
171
+ * `push`: boolean
172
+ * `triage`: boolean
173
+ * `pull`: boolean
174
+ * `role_name`: string
175
+ * `temp_clone_token`: string
176
+ * `delete_branch_on_merge`: boolean
177
+ * `subscribers_count`: integer
178
+ * `network_count`: integer
179
+ * `code_of_conduct`: `Code Of Conduct`:
180
+ * `key`: required, string
181
+ * `name`: required, string
182
+ * `url`: required, string, format: uri
183
+ * `body`: string
184
+ * `html_url`: required, string or null, format: uri
185
+ * `license`: object or null:
186
+ * `key`: string
187
+ * `name`: string
188
+ * `spdx_id`: string
189
+ * `url`: string or null
190
+ * `node_id`: string
191
+ * `forks`: integer
192
+ * `open_issues`: integer
193
+ * `watchers`: integer
194
+ * `allow_forking`: boolean
195
+ * `web_commit_signoff_required`: boolean
196
+ * `security_and_analysis`: object or null:
197
+ * `advanced_security`: object:
198
+ * `status`: string, enum: `enabled`, `disabled`
199
+ * `code_security`: object:
200
+ * `status`: string, enum: `enabled`, `disabled`
201
+ * `dependabot_security_updates`: object:
202
+ * `status`: string, enum: `enabled`, `disabled`
203
+ * `secret_scanning`: object:
204
+ * `status`: string, enum: `enabled`, `disabled`
205
+ * `secret_scanning_push_protection`: object:
206
+ * `status`: string, enum: `enabled`, `disabled`
207
+ * `secret_scanning_non_provider_patterns`: object:
208
+ * `status`: string, enum: `enabled`, `disabled`
209
+ * `secret_scanning_ai_detection`: object:
210
+ * `status`: string, enum: `enabled`, `disabled`
211
+ * `secret_scanning_delegated_alert_dismissal`: object:
212
+ * `status`: string, enum: `enabled`, `disabled`
213
+ * `secret_scanning_delegated_bypass`: object:
214
+ * `status`: string, enum: `enabled`, `disabled`
215
+ * `secret_scanning_delegated_bypass_options`: object:
216
+ * `reviewers`: array of objects:
217
+ * `reviewer_id`: required, integer
218
+ * `reviewer_type`: required, string, enum: `TEAM`, `ROLE`
219
+ * `mode`: string, enum: `ALWAYS`, `EXEMPT`, default: `"ALWAYS"`
220
+ * `custom_properties`: object, additional properties allowed
221
+
222
+ ## Create an organization repository
223
+
224
+ ```
225
+ POST /orgs/{org}/repos
226
+ ```
227
+
228
+ Creates a new repository in the specified organization. The authenticated user must be a member of the organization.
229
+ OAuth app tokens and personal access tokens (classic) need the public_repo or repo scope to create a public repository, and repo scope to create a private repository.
230
+
231
+ ### Parameters
232
+
233
+ #### Headers
234
+
235
+ - **`accept`** (string)
236
+ Setting to `application/vnd.github+json` is recommended.
237
+
238
+ #### Path and query parameters
239
+
240
+ - **`org`** (string) (required)
241
+ The organization name. The name is not case sensitive.
242
+
243
+ #### Body parameters
244
+
245
+ - **`name`** (string) (required)
246
+ The name of the repository.
247
+
248
+ - **`description`** (string)
249
+ A short description of the repository.
250
+
251
+ - **`homepage`** (string)
252
+ A URL with more information about the repository.
253
+
254
+ - **`private`** (boolean)
255
+ Whether the repository is private.
256
+ Default: `false`
257
+
258
+ - **`visibility`** (string)
259
+ The visibility of the repository.
260
+ Can be one of: `public`, `private`
261
+
262
+ - **`has_issues`** (boolean)
263
+ Either true to enable issues for this repository or false to disable them.
264
+ Default: `true`
265
+
266
+ - **`has_projects`** (boolean)
267
+ Either true to enable projects for this repository or false to disable them. Note: If you're creating a repository in an organization that has disabled repository projects, the default is false, and if you pass true, the API returns an error.
268
+ Default: `true`
269
+
270
+ - **`has_wiki`** (boolean)
271
+ Either true to enable the wiki for this repository or false to disable it.
272
+ Default: `true`
273
+
274
+ - **`has_downloads`** (boolean)
275
+ Whether downloads are enabled.
276
+ Default: `true`
277
+
278
+ - **`is_template`** (boolean)
279
+ Either true to make this repo available as a template repository or false to prevent it.
280
+ Default: `false`
281
+
282
+ - **`team_id`** (integer)
283
+ The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.
284
+
285
+ - **`auto_init`** (boolean)
286
+ Pass true to create an initial commit with empty README.
287
+ Default: `false`
288
+
289
+ - **`gitignore_template`** (string)
290
+ Desired language or platform .gitignore template to apply. Use the name of the template without the extension. For example, "Haskell".
291
+
292
+ - **`license_template`** (string)
293
+ Choose an open source license template that best suits your needs, and then use the license keyword as the license_template string. For example, "mit" or "mpl-2.0".
294
+
295
+ - **`allow_squash_merge`** (boolean)
296
+ Either true to allow squash-merging pull requests, or false to prevent squash-merging.
297
+ Default: `true`
298
+
299
+ - **`allow_merge_commit`** (boolean)
300
+ Either true to allow merging pull requests with a merge commit, or false to prevent merging pull requests with merge commits.
301
+ Default: `true`
302
+
303
+ - **`allow_rebase_merge`** (boolean)
304
+ Either true to allow rebase-merging pull requests, or false to prevent rebase-merging.
305
+ Default: `true`
306
+
307
+ - **`allow_auto_merge`** (boolean)
308
+ Either true to allow auto-merge on pull requests, or false to disallow auto-merge.
309
+ Default: `false`
310
+
311
+ - **`delete_branch_on_merge`** (boolean)
312
+ Either true to allow automatically deleting head branches when pull requests are merged, or false to prevent automatic deletion. The authenticated user must be an organization owner to set this property to true.
313
+ Default: `false`
314
+
315
+ - **`use_squash_pr_title_as_default`** (boolean)
316
+ Either true to allow squash-merge commits to use pull request title, or false to use commit message. This property is closing down. Please use squash_merge_commit_title instead.
317
+ Default: `false`
318
+
319
+ - **`squash_merge_commit_title`** (string)
320
+ Required when using squash_merge_commit_message.
321
+ The default value for a squash merge commit title:
322
+
323
+ PR_TITLE - default to the pull request's title.
324
+ COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).
325
+ Can be one of: `PR_TITLE`, `COMMIT_OR_PR_TITLE`
326
+
327
+ - **`squash_merge_commit_message`** (string)
328
+ The default value for a squash merge commit message:
329
+
330
+ PR_BODY - default to the pull request's body.
331
+ COMMIT_MESSAGES - default to the branch's commit messages.
332
+ BLANK - default to a blank commit message.
333
+ Can be one of: `PR_BODY`, `COMMIT_MESSAGES`, `BLANK`
334
+
335
+ - **`merge_commit_title`** (string)
336
+ Required when using merge_commit_message.
337
+ The default value for a merge commit title.
338
+
339
+ PR_TITLE - default to the pull request's title.
340
+ MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).
341
+ Can be one of: `PR_TITLE`, `MERGE_MESSAGE`
342
+
343
+ - **`merge_commit_message`** (string)
344
+ The default value for a merge commit message.
345
+
346
+ PR_TITLE - default to the pull request's title.
347
+ PR_BODY - default to the pull request's body.
348
+ BLANK - default to a blank commit message.
349
+ Can be one of: `PR_BODY`, `PR_TITLE`, `BLANK`
350
+
351
+ - **`custom_properties`** (object)
352
+ The custom properties for the new repository. The keys are the custom property names, and the values are the corresponding custom property values.
353
+
354
+ ### HTTP response status codes
355
+
356
+ - **201** - Created
357
+
358
+ - **403** - Forbidden
359
+
360
+ - **422** - Validation failed, or the endpoint has been spammed.
361
+
362
+ - **451** - Validation failed, or the endpoint has been spammed.
363
+
364
+ ### Code examples
365
+
366
+ #### Example
367
+
368
+ **Request:**
369
+
370
+ ```curl
371
+ curl -L \
372
+ -X POST \
373
+ https://api.github.com/orgs/ORG/repos \
374
+ -d '{
375
+ "name": "Hello-World",
376
+ "description": "This is your first repository",
377
+ "homepage": "https://github.com",
378
+ "private": false,
379
+ "has_issues": true,
380
+ "has_projects": true,
381
+ "has_wiki": true
382
+ }'
383
+ ```
384
+
385
+ **Response schema (Status: 201):**
386
+
387
+ * `id`: required, integer, format: int64
388
+ * `node_id`: required, string
389
+ * `name`: required, string
390
+ * `full_name`: required, string
391
+ * `owner`: required, `Simple User`:
392
+ * `name`: string or null
393
+ * `email`: string or null
394
+ * `login`: required, string
395
+ * `id`: required, integer, format: int64
396
+ * `node_id`: required, string
397
+ * `avatar_url`: required, string, format: uri
398
+ * `gravatar_id`: required, string or null
399
+ * `url`: required, string, format: uri
400
+ * `html_url`: required, string, format: uri
401
+ * `followers_url`: required, string, format: uri
402
+ * `following_url`: required, string
403
+ * `gists_url`: required, string
404
+ * `starred_url`: required, string
405
+ * `subscriptions_url`: required, string, format: uri
406
+ * `organizations_url`: required, string, format: uri
407
+ * `repos_url`: required, string, format: uri
408
+ * `events_url`: required, string
409
+ * `received_events_url`: required, string, format: uri
410
+ * `type`: required, string
411
+ * `site_admin`: required, boolean
412
+ * `starred_at`: string
413
+ * `user_view_type`: string
414
+ * `private`: required, boolean
415
+ * `html_url`: required, string, format: uri
416
+ * `description`: required, string or null
417
+ * `fork`: required, boolean
418
+ * `url`: required, string, format: uri
419
+ * `archive_url`: required, string
420
+ * `assignees_url`: required, string
421
+ * `blobs_url`: required, string
422
+ * `branches_url`: required, string
423
+ * `collaborators_url`: required, string
424
+ * `comments_url`: required, string
425
+ * `commits_url`: required, string
426
+ * `compare_url`: required, string
427
+ * `contents_url`: required, string
428
+ * `contributors_url`: required, string, format: uri
429
+ * `deployments_url`: required, string, format: uri
430
+ * `downloads_url`: required, string, format: uri
431
+ * `events_url`: required, string, format: uri
432
+ * `forks_url`: required, string, format: uri
433
+ * `git_commits_url`: required, string
434
+ * `git_refs_url`: required, string
435
+ * `git_tags_url`: required, string
436
+ * `git_url`: required, string
437
+ * `issue_comment_url`: required, string
438
+ * `issue_events_url`: required, string
439
+ * `issues_url`: required, string
440
+ * `keys_url`: required, string
441
+ * `labels_url`: required, string
442
+ * `languages_url`: required, string, format: uri
443
+ * `merges_url`: required, string, format: uri
444
+ * `milestones_url`: required, string
445
+ * `notifications_url`: required, string
446
+ * `pulls_url`: required, string
447
+ * `releases_url`: required, string
448
+ * `ssh_url`: required, string
449
+ * `stargazers_url`: required, string, format: uri
450
+ * `statuses_url`: required, string
451
+ * `subscribers_url`: required, string, format: uri
452
+ * `subscription_url`: required, string, format: uri
453
+ * `tags_url`: required, string, format: uri
454
+ * `teams_url`: required, string, format: uri
455
+ * `trees_url`: required, string
456
+ * `clone_url`: required, string
457
+ * `mirror_url`: required, string or null, format: uri
458
+ * `hooks_url`: required, string, format: uri
459
+ * `svn_url`: required, string, format: uri
460
+ * `homepage`: required, string or null, format: uri
461
+ * `language`: required, string or null
462
+ * `forks_count`: required, integer
463
+ * `stargazers_count`: required, integer
464
+ * `watchers_count`: required, integer
465
+ * `size`: required, integer
466
+ * `default_branch`: required, string
467
+ * `open_issues_count`: required, integer
468
+ * `is_template`: boolean
469
+ * `topics`: array of string
470
+ * `has_issues`: required, boolean
471
+ * `has_projects`: required, boolean
472
+ * `has_wiki`: required, boolean
473
+ * `has_pages`: required, boolean
474
+ * `has_discussions`: required, boolean
475
+ * `has_pull_requests`: boolean
476
+ * `pull_request_creation_policy`: string, enum: `all`, `collaborators_only`
477
+ * `archived`: required, boolean
478
+ * `disabled`: required, boolean
479
+ * `visibility`: string
480
+ * `pushed_at`: required, string, format: date-time
481
+ * `created_at`: required, string, format: date-time
482
+ * `updated_at`: required, string, format: date-time
483
+ * `permissions`: object:
484
+ * `admin`: required, boolean
485
+ * `maintain`: boolean
486
+ * `push`: required, boolean
487
+ * `triage`: boolean
488
+ * `pull`: required, boolean
489
+ * `allow_rebase_merge`: boolean
490
+ * `template_repository`: any of:
491
+ * **null**
492
+ * **Repository**
493
+ * `id`: required, integer, format: int64
494
+ * `node_id`: required, string
495
+ * `name`: required, string
496
+ * `full_name`: required, string
497
+ * `license`: required, any of:
498
+ * **null**
499
+ * **License Simple**
500
+ * `key`: required, string
501
+ * `name`: required, string
502
+ * `url`: required, string or null, format: uri
503
+ * `spdx_id`: required, string or null
504
+ * `node_id`: required, string
505
+ * `html_url`: string, format: uri
506
+ * `forks`: required, integer
507
+ * `permissions`: object:
508
+ * `admin`: required, boolean
509
+ * `pull`: required, boolean
510
+ * `triage`: boolean
511
+ * `push`: required, boolean
512
+ * `maintain`: boolean
513
+ * `owner`: required, `Simple User` (see above)
514
+ * `private`: required, boolean, default: `false`
515
+ * `html_url`: required, string, format: uri
516
+ * `description`: required, string or null
517
+ * `fork`: required, boolean
518
+ * `url`: required, string, format: uri
519
+ * `archive_url`: required, string
520
+ * `assignees_url`: required, string
521
+ * `blobs_url`: required, string
522
+ * `branches_url`: required, string
523
+ * `collaborators_url`: required, string
524
+ * `comments_url`: required, string
525
+ * `commits_url`: required, string
526
+ * `compare_url`: required, string
527
+ * `contents_url`: required, string
528
+ * `contributors_url`: required, string, format: uri
529
+ * `deployments_url`: required, string, format: uri
530
+ * `downloads_url`: required, string, format: uri
531
+ * `events_url`: required, string, format: uri
532
+ * `forks_url`: required, string, format: uri
533
+ * `git_commits_url`: required, string
534
+ * `git_refs_url`: required, string
535
+ * `git_tags_url`: required, string
536
+ * `git_url`: required, string
537
+ * `issue_comment_url`: required, string
538
+ * `issue_events_url`: required, string
539
+ * `issues_url`: required, string
540
+ * `keys_url`: required, string
541
+ * `labels_url`: required, string
542
+ * `languages_url`: required, string, format: uri
543
+ * `merges_url`: required, string, format: uri
544
+ * `milestones_url`: required, string
545
+ * `notifications_url`: required, string
546
+ * `pulls_url`: required, string
547
+ * `releases_url`: required, string
548
+ * `ssh_url`: required, string
549
+ * `stargazers_url`: required, string, format: uri
550
+ * `statuses_url`: required, string
551
+ * `subscribers_url`: required, string, format: uri
552
+ * `subscription_url`: required, string, format: uri
553
+ * `tags_url`: required, string, format: uri
554
+ * `teams_url`: required, string, format: uri
555
+ * `trees_url`: required, string
556
+ * `clone_url`: required, string
557
+ * `mirror_url`: required, string or null, format: uri
558
+ * `hooks_url`: required, string, format: uri
559
+ * `svn_url`: required, string, format: uri
560
+ * `homepage`: required, string or null, format: uri
561
+ * `language`: required, string or null
562
+ * `forks_count`: required, integer
563
+ * `stargazers_count`: required, integer
564
+ * `watchers_count`: required, integer
565
+ * `size`: required, integer
566
+ * `default_branch`: required, string
567
+ * `open_issues_count`: required, integer
568
+ * `is_template`: boolean, default: `false`
569
+ * `topics`: array of string
570
+ * `has_issues`: required, boolean, default: `true`
571
+ * `has_projects`: required, boolean, default: `true`
572
+ * `has_wiki`: required, boolean, default: `true`
573
+ * `has_pages`: required, boolean
574
+ * `has_discussions`: boolean, default: `false`
575
+ * `has_pull_requests`: boolean, default: `true`
576
+ * `pull_request_creation_policy`: string, enum: `all`, `collaborators_only`
577
+ * `archived`: required, boolean, default: `false`
578
+ * `disabled`: required, boolean
579
+ * `visibility`: string, default: `"public"`
580
+ * `pushed_at`: required, string or null, format: date-time
581
+ * `created_at`: required, string or null, format: date-time
582
+ * `updated_at`: required, string or null, format: date-time
583
+ * `allow_rebase_merge`: boolean, default: `true`
584
+ * `temp_clone_token`: string
585
+ * `allow_squash_merge`: boolean, default: `true`
586
+ * `allow_auto_merge`: boolean, default: `false`
587
+ * `delete_branch_on_merge`: boolean, default: `false`
588
+ * `allow_update_branch`: boolean, default: `false`
589
+ * `squash_merge_commit_title`: string, enum: `PR_TITLE`, `COMMIT_OR_PR_TITLE`
590
+ * `squash_merge_commit_message`: string, enum: `PR_BODY`, `COMMIT_MESSAGES`, `BLANK`
591
+ * `merge_commit_title`: string, enum: `PR_TITLE`, `MERGE_MESSAGE`
592
+ * `merge_commit_message`: string, enum: `PR_BODY`, `PR_TITLE`, `BLANK`
593
+ * `allow_merge_commit`: boolean, default: `true`
594
+ * `allow_forking`: boolean
595
+ * `web_commit_signoff_required`: boolean, default: `false`
596
+ * `open_issues`: required, integer
597
+ * `watchers`: required, integer
598
+ * `starred_at`: string
599
+ * `anonymous_access_enabled`: boolean
600
+ * `code_search_index_status`: object:
601
+ * `lexical_search_ok`: boolean
602
+ * `lexical_commit_sha`: string
603
+ * `temp_clone_token`: string or null
604
+ * `allow_squash_merge`: boolean
605
+ * `allow_auto_merge`: boolean
606
+ * `delete_branch_on_merge`: boolean
607
+ * `allow_merge_commit`: boolean
608
+ * `allow_update_branch`: boolean
609
+ * `squash_merge_commit_title`: string, enum: `PR_TITLE`, `COMMIT_OR_PR_TITLE`
610
+ * `squash_merge_commit_message`: string, enum: `PR_BODY`, `COMMIT_MESSAGES`, `BLANK`
611
+ * `merge_commit_title`: string, enum: `PR_TITLE`, `MERGE_MESSAGE`
612
+ * `merge_commit_message`: string, enum: `PR_BODY`, `PR_TITLE`, `BLANK`
613
+ * `allow_forking`: boolean
614
+ * `web_commit_signoff_required`: boolean
615
+ * `subscribers_count`: required, integer
616
+ * `network_count`: required, integer
617
+ * `license`: required, any of:
618
+ * **null**
619
+ * **License Simple** (see above)
620
+ * `organization`: any of:
621
+ * **null**
622
+ * **Simple User** (see above)
623
+ * `parent`: `Repository` (see above)
624
+ * `source`: `Repository` (see above)
625
+ * `forks`: required, integer
626
+ * `master_branch`: string
627
+ * `open_issues`: required, integer
628
+ * `watchers`: required, integer
629
+ * `anonymous_access_enabled`: boolean, default: `true`
630
+ * `code_of_conduct`: `Code Of Conduct Simple`:
631
+ * `url`: required, string, format: uri
632
+ * `key`: required, string
633
+ * `name`: required, string
634
+ * `html_url`: required, string or null, format: uri
635
+ * `security_and_analysis`: object or null:
636
+ * `advanced_security`: object:
637
+ * `status`: string, enum: `enabled`, `disabled`
638
+ * `code_security`: object:
639
+ * `status`: string, enum: `enabled`, `disabled`
640
+ * `dependabot_security_updates`: object:
641
+ * `status`: string, enum: `enabled`, `disabled`
642
+ * `secret_scanning`: object:
643
+ * `status`: string, enum: `enabled`, `disabled`
644
+ * `secret_scanning_push_protection`: object:
645
+ * `status`: string, enum: `enabled`, `disabled`
646
+ * `secret_scanning_non_provider_patterns`: object:
647
+ * `status`: string, enum: `enabled`, `disabled`
648
+ * `secret_scanning_ai_detection`: object:
649
+ * `status`: string, enum: `enabled`, `disabled`
650
+ * `secret_scanning_delegated_alert_dismissal`: object:
651
+ * `status`: string, enum: `enabled`, `disabled`
652
+ * `secret_scanning_delegated_bypass`: object:
653
+ * `status`: string, enum: `enabled`, `disabled`
654
+ * `secret_scanning_delegated_bypass_options`: object:
655
+ * `reviewers`: array of objects:
656
+ * `reviewer_id`: required, integer
657
+ * `reviewer_type`: required, string, enum: `TEAM`, `ROLE`
658
+ * `mode`: string, enum: `ALWAYS`, `EXEMPT`, default: `"ALWAYS"`
659
+ * `custom_properties`: object, additional properties allowed
660
+
661
+ ## Get a repository
662
+
663
+ ```
664
+ GET /repos/{owner}/{repo}
665
+ ```
666
+
667
+ The parent and source objects are present when the repository is a fork. parent is the repository this repository was forked from, source is the ultimate source for the network.
668
+ When present and non-empty, temp_clone_token is a temporary credential for read-only Git access to this repository. It expires five minutes after generation and cannot be used to push changes. Treat this value as sensitive and avoid recording it in logs.
669
+ Note
670
+
671
+ In order to see the security_and_analysis block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "Managing security managers in your organization."
672
+ To view merge-related settings, you must have the contents:read and contents:write permissions.
673
+
674
+ ### Parameters
675
+
676
+ #### Headers
677
+
678
+ - **`accept`** (string)
679
+ Setting to `application/vnd.github+json` is recommended.
680
+
681
+ #### Path and query parameters
682
+
683
+ - **`owner`** (string) (required)
684
+ The account owner of the repository. The name is not case sensitive.
685
+
686
+ - **`repo`** (string) (required)
687
+ The name of the repository without the .git extension. The name is not case sensitive.
688
+
689
+ ### HTTP response status codes
690
+
691
+ - **200** - OK
692
+
693
+ - **301** - Moved permanently
694
+
695
+ - **403** - Forbidden
696
+
697
+ - **404** - Resource not found
698
+
699
+ ### Code examples
700
+
701
+ #### Example
702
+
703
+ **Request:**
704
+
705
+ ```curl
706
+ curl -L \
707
+ -X GET \
708
+ https://api.github.com/repos/OWNER/REPO
709
+ ```
710
+
711
+ **Response schema (Status: 200):**
712
+
713
+ Same response schema as [Create an organization repository](#create-an-organization-repository).
714
+
715
+ ## Update a repository
716
+
717
+ ```
718
+ PATCH /repos/{owner}/{repo}
719
+ ```
720
+
721
+ Note: To edit a repository's topics, use the Replace all repository topics endpoint.
722
+
723
+ ### Parameters
724
+
725
+ #### Headers
726
+
727
+ - **`accept`** (string)
728
+ Setting to `application/vnd.github+json` is recommended.
729
+
730
+ #### Path and query parameters
731
+
732
+ - **`owner`** (string) (required)
733
+ The account owner of the repository. The name is not case sensitive.
734
+
735
+ - **`repo`** (string) (required)
736
+ The name of the repository without the .git extension. The name is not case sensitive.
737
+
738
+ #### Body parameters
739
+
740
+ - **`name`** (string)
741
+ The name of the repository.
742
+
743
+ - **`description`** (string)
744
+ A short description of the repository.
745
+
746
+ - **`homepage`** (string)
747
+ A URL with more information about the repository.
748
+
749
+ - **`private`** (boolean)
750
+ Either true to make the repository private or false to make it public. Default: false.
751
+ Note: You will get a 422 error if the organization restricts changing repository visibility to organization owners and a non-owner tries to change the value of private.
752
+ Default: `false`
753
+
754
+ - **`visibility`** (string)
755
+ The visibility of the repository.
756
+ Can be one of: `public`, `private`
757
+
758
+ - **`security_and_analysis`** (object or null)
759
+ Specify which security and analysis features to enable or disable for the repository.
760
+ To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "Managing security managers in your organization."
761
+ For example, to enable GitHub Advanced Security, use this data in the body of the PATCH request:
762
+ { "security_and_analysis": {"advanced_security": { "status": "enabled" } } }.
763
+ You can check which security and analysis features are currently enabled by using a GET /repos/{owner}/{repo} request.
764
+ - **`advanced_security`** (object)
765
+ Use the status property to enable or disable GitHub Advanced Security for this repository.
766
+ For more information, see "About GitHub Advanced
767
+ Security."
768
+ For standalone Code Scanning or Secret Protection products, this parameter cannot be used.
769
+ - **`status`** (string)
770
+ Can be enabled or disabled.
771
+ - **`code_security`** (object)
772
+ Use the status property to enable or disable GitHub Code Security for this repository.
773
+ - **`status`** (string)
774
+ Can be enabled or disabled.
775
+ - **`secret_scanning`** (object)
776
+ Use the status property to enable or disable secret scanning for this repository. For more information, see "About secret scanning."
777
+ - **`status`** (string)
778
+ Can be enabled or disabled.
779
+ - **`secret_scanning_push_protection`** (object)
780
+ Use the status property to enable or disable secret scanning push protection for this repository. For more information, see "Protecting pushes with secret scanning."
781
+ - **`status`** (string)
782
+ Can be enabled or disabled.
783
+ - **`secret_scanning_ai_detection`** (object)
784
+ Use the status property to enable or disable secret scanning AI detection for this repository. For more information, see "Responsible detection of generic secrets with AI."
785
+ - **`status`** (string)
786
+ Can be enabled or disabled.
787
+ - **`secret_scanning_non_provider_patterns`** (object)
788
+ Use the status property to enable or disable secret scanning non-provider patterns for this repository. For more information, see "Supported secret scanning patterns."
789
+ - **`status`** (string)
790
+ Can be enabled or disabled.
791
+ - **`secret_scanning_delegated_alert_dismissal`** (object)
792
+ Use the status property to enable or disable secret scanning delegated alert dismissal for this repository.
793
+ - **`status`** (string)
794
+ Can be enabled or disabled.
795
+ - **`secret_scanning_delegated_bypass`** (object)
796
+ Use the status property to enable or disable secret scanning delegated bypass for this repository.
797
+ - **`status`** (string)
798
+ Can be enabled or disabled.
799
+ - **`secret_scanning_delegated_bypass_options`** (object)
800
+ Feature options for secret scanning delegated bypass.
801
+ This object is only honored when security_and_analysis.secret_scanning_delegated_bypass.status is set to enabled.
802
+ You can send this object in the same request as secret_scanning_delegated_bypass, or update just the options in a separate request.
803
+ - **`reviewers`** (array of objects)
804
+ The bypass reviewers for secret scanning delegated bypass.
805
+ If you omit this field, the existing set of reviewers is unchanged.
806
+ - **`reviewer_id`** (integer) (required)
807
+ The ID of the team or role selected as a bypass reviewer
808
+ - **`reviewer_type`** (string) (required)
809
+ The type of the bypass reviewer
810
+ Can be one of: `TEAM`, `ROLE`
811
+ - **`mode`** (string)
812
+ The bypass mode for the reviewer
813
+ Default: `ALWAYS`
814
+ Can be one of: `ALWAYS`, `EXEMPT`
815
+
816
+ - **`has_issues`** (boolean)
817
+ Either true to enable issues for this repository or false to disable them.
818
+ Default: `true`
819
+
820
+ - **`has_projects`** (boolean)
821
+ Either true to enable projects for this repository or false to disable them. Note: If you're creating a repository in an organization that has disabled repository projects, the default is false, and if you pass true, the API returns an error.
822
+ Default: `true`
823
+
824
+ - **`has_wiki`** (boolean)
825
+ Either true to enable the wiki for this repository or false to disable it.
826
+ Default: `true`
827
+
828
+ - **`has_pull_requests`** (boolean)
829
+ Either true to allow pull requests for this repository or false to prevent pull requests.
830
+ Default: `true`
831
+
832
+ - **`pull_request_creation_policy`** (string)
833
+ The policy that controls who can create pull requests for this repository: all or collaborators_only.
834
+ Can be one of: `all`, `collaborators_only`
835
+
836
+ - **`is_template`** (boolean)
837
+ Either true to make this repo available as a template repository or false to prevent it.
838
+ Default: `false`
839
+
840
+ - **`default_branch`** (string)
841
+ Updates the default branch for this repository.
842
+
843
+ - **`allow_squash_merge`** (boolean)
844
+ Either true to allow squash-merging pull requests, or false to prevent squash-merging.
845
+ Default: `true`
846
+
847
+ - **`allow_merge_commit`** (boolean)
848
+ Either true to allow merging pull requests with a merge commit, or false to prevent merging pull requests with merge commits.
849
+ Default: `true`
850
+
851
+ - **`allow_rebase_merge`** (boolean)
852
+ Either true to allow rebase-merging pull requests, or false to prevent rebase-merging.
853
+ Default: `true`
854
+
855
+ - **`allow_auto_merge`** (boolean)
856
+ Either true to allow auto-merge on pull requests, or false to disallow auto-merge.
857
+ Default: `false`
858
+
859
+ - **`delete_branch_on_merge`** (boolean)
860
+ Either true to allow automatically deleting head branches when pull requests are merged, or false to prevent automatic deletion.
861
+ Default: `false`
862
+
863
+ - **`allow_update_branch`** (boolean)
864
+ Either true to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.
865
+ Default: `false`
866
+
867
+ - **`use_squash_pr_title_as_default`** (boolean)
868
+ Either true to allow squash-merge commits to use pull request title, or false to use commit message. This property is closing down. Please use squash_merge_commit_title instead.
869
+ Default: `false`
870
+
871
+ - **`squash_merge_commit_title`** (string)
872
+ Required when using squash_merge_commit_message.
873
+ The default value for a squash merge commit title:
874
+
875
+ PR_TITLE - default to the pull request's title.
876
+ COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).
877
+ Can be one of: `PR_TITLE`, `COMMIT_OR_PR_TITLE`
878
+
879
+ - **`squash_merge_commit_message`** (string)
880
+ The default value for a squash merge commit message:
881
+
882
+ PR_BODY - default to the pull request's body.
883
+ COMMIT_MESSAGES - default to the branch's commit messages.
884
+ BLANK - default to a blank commit message.
885
+ Can be one of: `PR_BODY`, `COMMIT_MESSAGES`, `BLANK`
886
+
887
+ - **`merge_commit_title`** (string)
888
+ Required when using merge_commit_message.
889
+ The default value for a merge commit title.
890
+
891
+ PR_TITLE - default to the pull request's title.
892
+ MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).
893
+ Can be one of: `PR_TITLE`, `MERGE_MESSAGE`
894
+
895
+ - **`merge_commit_message`** (string)
896
+ The default value for a merge commit message.
897
+
898
+ PR_TITLE - default to the pull request's title.
899
+ PR_BODY - default to the pull request's body.
900
+ BLANK - default to a blank commit message.
901
+ Can be one of: `PR_BODY`, `PR_TITLE`, `BLANK`
902
+
903
+ - **`archived`** (boolean)
904
+ Whether to archive this repository. false will unarchive a previously archived repository.
905
+ Default: `false`
906
+
907
+ - **`allow_forking`** (boolean)
908
+ Either true to allow private forks, or false to prevent private forks.
909
+ Default: `false`
910
+
911
+ - **`web_commit_signoff_required`** (boolean)
912
+ Either true to require contributors to sign off on web-based commits, or false to not require contributors to sign off on web-based commits.
913
+ Default: `false`
914
+
915
+ ### HTTP response status codes
916
+
917
+ - **200** - OK
918
+
919
+ - **307** - Temporary Redirect
920
+
921
+ - **403** - Forbidden
922
+
923
+ - **404** - Resource not found
924
+
925
+ - **422** - Validation failed, or the endpoint has been spammed.
926
+
927
+ ### Code examples
928
+
929
+ #### Example
930
+
931
+ **Request:**
932
+
933
+ ```curl
934
+ curl -L \
935
+ -X PATCH \
936
+ https://api.github.com/repos/OWNER/REPO \
937
+ -d '{
938
+ "name": "Hello-World",
939
+ "description": "This is your first repository",
940
+ "homepage": "https://github.com",
941
+ "private": true,
942
+ "has_issues": true,
943
+ "has_projects": true,
944
+ "has_wiki": true
945
+ }'
946
+ ```
947
+
948
+ **Response schema (Status: 200):**
949
+
950
+ Same response schema as [Create an organization repository](#create-an-organization-repository).
951
+
952
+ ## Delete a repository
953
+
954
+ ```
955
+ DELETE /repos/{owner}/{repo}
956
+ ```
957
+
958
+ Deleting a repository requires admin access.
959
+ If an organization owner has configured the organization to prevent members from deleting organization-owned
960
+ repositories, you will get a 403 Forbidden response.
961
+ OAuth app tokens and personal access tokens (classic) need the delete_repo scope to use this endpoint.
962
+
963
+ ### Parameters
964
+
965
+ #### Headers
966
+
967
+ - **`accept`** (string)
968
+ Setting to `application/vnd.github+json` is recommended.
969
+
970
+ #### Path and query parameters
971
+
972
+ - **`owner`** (string) (required)
973
+ The account owner of the repository. The name is not case sensitive.
974
+
975
+ - **`repo`** (string) (required)
976
+ The name of the repository without the .git extension. The name is not case sensitive.
977
+
978
+ ### HTTP response status codes
979
+
980
+ - **204** - No Content
981
+
982
+ - **307** - Temporary Redirect
983
+
984
+ - **403** - If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:
985
+
986
+ - **404** - Resource not found
987
+
988
+ - **409** - Conflict
989
+
990
+ ### Code examples
991
+
992
+ #### Example
993
+
994
+ **Request:**
995
+
996
+ ```curl
997
+ curl -L \
998
+ -X DELETE \
999
+ https://api.github.com/repos/OWNER/REPO
1000
+ ```
1001
+
1002
+ **Response schema (Status: 204):**
1003
+
1004
+ ## List repository activities
1005
+
1006
+ ```
1007
+ GET /repos/{owner}/{repo}/activity
1008
+ ```
1009
+
1010
+ Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.
1011
+ For more information about viewing repository activity,
1012
+ see "Viewing activity and data for your repository."
1013
+
1014
+ ### Parameters
1015
+
1016
+ #### Headers
1017
+
1018
+ - **`accept`** (string)
1019
+ Setting to `application/vnd.github+json` is recommended.
1020
+
1021
+ #### Path and query parameters
1022
+
1023
+ - **`owner`** (string) (required)
1024
+ The account owner of the repository. The name is not case sensitive.
1025
+
1026
+ - **`repo`** (string) (required)
1027
+ The name of the repository without the .git extension. The name is not case sensitive.
1028
+
1029
+ - **`direction`** (string)
1030
+ The direction to sort the results by.
1031
+ Default: `desc`
1032
+ Can be one of: `asc`, `desc`
1033
+
1034
+ - **`per_page`** (integer)
1035
+ The number of results per page (max 100). For more information, see "Using pagination in the REST API."
1036
+ Default: `30`
1037
+
1038
+ - **`before`** (string)
1039
+ A cursor, as given in the Link header. If specified, the query only searches for results before this cursor. For more information, see "Using pagination in the REST API."
1040
+
1041
+ - **`after`** (string)
1042
+ A cursor, as given in the Link header. If specified, the query only searches for results after this cursor. For more information, see "Using pagination in the REST API."
1043
+
1044
+ - **`ref`** (string)
1045
+ The Git reference for the activities you want to list.
1046
+ The ref for a branch can be formatted either as refs/heads/BRANCH_NAME or BRANCH_NAME, where BRANCH_NAME is the name of your branch.
1047
+
1048
+ - **`actor`** (string)
1049
+ The GitHub username to use to filter by the actor who performed the activity.
1050
+
1051
+ - **`time_period`** (string)
1052
+ The time period to filter by.
1053
+ For example, day will filter for activity that occurred in the past 24 hours, and week will filter for activity that occurred in the past 7 days (168 hours).
1054
+ Can be one of: `day`, `week`, `month`, `quarter`, `year`
1055
+
1056
+ - **`activity_type`** (string)
1057
+ The activity type to filter by.
1058
+ For example, you can choose to filter by "force_push", to see all force pushes to the repository.
1059
+ Can be one of: `push`, `force_push`, `branch_creation`, `branch_deletion`, `pr_merge`, `merge_queue_merge`
1060
+
1061
+ ### HTTP response status codes
1062
+
1063
+ - **200** - OK
1064
+
1065
+ - **422** - Validation failed, or the endpoint has been spammed.
1066
+
1067
+ ### Code examples
1068
+
1069
+ #### Example
1070
+
1071
+ **Request:**
1072
+
1073
+ ```curl
1074
+ curl -L \
1075
+ -X GET \
1076
+ https://api.github.com/repos/OWNER/REPO/activity
1077
+ ```
1078
+
1079
+ **Response schema (Status: 200):**
1080
+
1081
+ Array of `Activity`:
1082
+ * `id`: required, integer
1083
+ * `node_id`: required, string
1084
+ * `before`: required, string
1085
+ * `after`: required, string
1086
+ * `ref`: required, string
1087
+ * `timestamp`: required, string, format: date-time
1088
+ * `activity_type`: required, string, enum: `push`, `force_push`, `branch_deletion`, `branch_creation`, `pr_merge`, `merge_queue_merge`
1089
+ * `actor`: required, any of:
1090
+ * **null**
1091
+ * **Simple User**
1092
+ * `name`: string or null
1093
+ * `email`: string or null
1094
+ * `login`: required, string
1095
+ * `id`: required, integer, format: int64
1096
+ * `node_id`: required, string
1097
+ * `avatar_url`: required, string, format: uri
1098
+ * `gravatar_id`: required, string or null
1099
+ * `url`: required, string, format: uri
1100
+ * `html_url`: required, string, format: uri
1101
+ * `followers_url`: required, string, format: uri
1102
+ * `following_url`: required, string
1103
+ * `gists_url`: required, string
1104
+ * `starred_url`: required, string
1105
+ * `subscriptions_url`: required, string, format: uri
1106
+ * `organizations_url`: required, string, format: uri
1107
+ * `repos_url`: required, string, format: uri
1108
+ * `events_url`: required, string
1109
+ * `received_events_url`: required, string, format: uri
1110
+ * `type`: required, string
1111
+ * `site_admin`: required, boolean
1112
+ * `starred_at`: string
1113
+ * `user_view_type`: string
1114
+
1115
+ ## Check if Dependabot security updates are enabled for a repository
1116
+
1117
+ ```
1118
+ GET /repos/{owner}/{repo}/automated-security-fixes
1119
+ ```
1120
+
1121
+ Shows whether Dependabot security updates are enabled, disabled or paused for a repository. The authenticated user must have admin read access to the repository. For more information, see "Configuring Dependabot security updates".
1122
+
1123
+ ### Parameters
1124
+
1125
+ #### Headers
1126
+
1127
+ - **`accept`** (string)
1128
+ Setting to `application/vnd.github+json` is recommended.
1129
+
1130
+ #### Path and query parameters
1131
+
1132
+ - **`owner`** (string) (required)
1133
+ The account owner of the repository. The name is not case sensitive.
1134
+
1135
+ - **`repo`** (string) (required)
1136
+ The name of the repository without the .git extension. The name is not case sensitive.
1137
+
1138
+ ### HTTP response status codes
1139
+
1140
+ - **200** - Response if Dependabot is enabled
1141
+
1142
+ - **404** - Not Found if Dependabot is not enabled for the repository
1143
+
1144
+ ### Code examples
1145
+
1146
+ #### Example
1147
+
1148
+ **Request:**
1149
+
1150
+ ```curl
1151
+ curl -L \
1152
+ -X GET \
1153
+ https://api.github.com/repos/OWNER/REPO/automated-security-fixes
1154
+ ```
1155
+
1156
+ **Response schema (Status: 200):**
1157
+
1158
+ * `enabled`: required, boolean
1159
+ * `paused`: required, boolean
1160
+
1161
+ ## Enable Dependabot security updates
1162
+
1163
+ ```
1164
+ PUT /repos/{owner}/{repo}/automated-security-fixes
1165
+ ```
1166
+
1167
+ Enables Dependabot security updates for a repository. The authenticated user must have admin access to the repository. For more information, see "Configuring Dependabot security updates".
1168
+
1169
+ ### Parameters
1170
+
1171
+ #### Headers
1172
+
1173
+ - **`accept`** (string)
1174
+ Setting to `application/vnd.github+json` is recommended.
1175
+
1176
+ #### Path and query parameters
1177
+
1178
+ - **`owner`** (string) (required)
1179
+ The account owner of the repository. The name is not case sensitive.
1180
+
1181
+ - **`repo`** (string) (required)
1182
+ The name of the repository without the .git extension. The name is not case sensitive.
1183
+
1184
+ ### HTTP response status codes
1185
+
1186
+ - **204** - No Content
1187
+
1188
+ ### Code examples
1189
+
1190
+ #### Example
1191
+
1192
+ **Request:**
1193
+
1194
+ ```curl
1195
+ curl -L \
1196
+ -X PUT \
1197
+ https://api.github.com/repos/OWNER/REPO/automated-security-fixes
1198
+ ```
1199
+
1200
+ **Response schema (Status: 204):**
1201
+
1202
+ ## Disable Dependabot security updates
1203
+
1204
+ ```
1205
+ DELETE /repos/{owner}/{repo}/automated-security-fixes
1206
+ ```
1207
+
1208
+ Disables Dependabot security updates for a repository. The authenticated user must have admin access to the repository. For more information, see "Configuring Dependabot security updates".
1209
+
1210
+ ### Parameters
1211
+
1212
+ #### Headers
1213
+
1214
+ - **`accept`** (string)
1215
+ Setting to `application/vnd.github+json` is recommended.
1216
+
1217
+ #### Path and query parameters
1218
+
1219
+ - **`owner`** (string) (required)
1220
+ The account owner of the repository. The name is not case sensitive.
1221
+
1222
+ - **`repo`** (string) (required)
1223
+ The name of the repository without the .git extension. The name is not case sensitive.
1224
+
1225
+ ### HTTP response status codes
1226
+
1227
+ - **204** - No Content
1228
+
1229
+ ### Code examples
1230
+
1231
+ #### Example
1232
+
1233
+ **Request:**
1234
+
1235
+ ```curl
1236
+ curl -L \
1237
+ -X DELETE \
1238
+ https://api.github.com/repos/OWNER/REPO/automated-security-fixes
1239
+ ```
1240
+
1241
+ **Response schema (Status: 204):**
1242
+
1243
+ ## List CODEOWNERS errors
1244
+
1245
+ ```
1246
+ GET /repos/{owner}/{repo}/codeowners/errors
1247
+ ```
1248
+
1249
+ List any syntax errors that are detected in the CODEOWNERS
1250
+ file.
1251
+ For more information about the correct CODEOWNERS syntax,
1252
+ see "About code owners."
1253
+
1254
+ ### Parameters
1255
+
1256
+ #### Headers
1257
+
1258
+ - **`accept`** (string)
1259
+ Setting to `application/vnd.github+json` is recommended.
1260
+
1261
+ #### Path and query parameters
1262
+
1263
+ - **`owner`** (string) (required)
1264
+ The account owner of the repository. The name is not case sensitive.
1265
+
1266
+ - **`repo`** (string) (required)
1267
+ The name of the repository without the .git extension. The name is not case sensitive.
1268
+
1269
+ - **`ref`** (string)
1270
+ A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository's default branch (e.g. main)
1271
+
1272
+ ### HTTP response status codes
1273
+
1274
+ - **200** - OK
1275
+
1276
+ - **404** - Resource not found
1277
+
1278
+ ### Code examples
1279
+
1280
+ #### Example
1281
+
1282
+ **Request:**
1283
+
1284
+ ```curl
1285
+ curl -L \
1286
+ -X GET \
1287
+ https://api.github.com/repos/OWNER/REPO/codeowners/errors
1288
+ ```
1289
+
1290
+ **Response schema (Status: 200):**
1291
+
1292
+ * `errors`: required, array of objects:
1293
+ * `line`: required, integer
1294
+ * `column`: required, integer
1295
+ * `source`: string
1296
+ * `kind`: required, string
1297
+ * `suggestion`: string or null
1298
+ * `message`: required, string
1299
+ * `path`: required, string
1300
+
1301
+ ## List repository contributors
1302
+
1303
+ ```
1304
+ GET /repos/{owner}/{repo}/contributors
1305
+ ```
1306
+
1307
+ Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API caches contributor data to improve performance.
1308
+ GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.
1309
+
1310
+ ### Parameters
1311
+
1312
+ #### Headers
1313
+
1314
+ - **`accept`** (string)
1315
+ Setting to `application/vnd.github+json` is recommended.
1316
+
1317
+ #### Path and query parameters
1318
+
1319
+ - **`owner`** (string) (required)
1320
+ The account owner of the repository. The name is not case sensitive.
1321
+
1322
+ - **`repo`** (string) (required)
1323
+ The name of the repository without the .git extension. The name is not case sensitive.
1324
+
1325
+ - **`anon`** (string)
1326
+ Set to 1 or true to include anonymous contributors in results.
1327
+
1328
+ - **`per_page`** (integer)
1329
+ The number of results per page (max 100). For more information, see "Using pagination in the REST API."
1330
+ Default: `30`
1331
+
1332
+ - **`page`** (integer)
1333
+ The page number of the results to fetch. For more information, see "Using pagination in the REST API."
1334
+ Default: `1`
1335
+
1336
+ ### HTTP response status codes
1337
+
1338
+ - **200** - If repository contains content
1339
+
1340
+ - **204** - Response if repository is empty
1341
+
1342
+ - **403** - Forbidden
1343
+
1344
+ - **404** - Resource not found
1345
+
1346
+ ### Code examples
1347
+
1348
+ #### Example
1349
+
1350
+ **Request:**
1351
+
1352
+ ```curl
1353
+ curl -L \
1354
+ -X GET \
1355
+ https://api.github.com/repos/OWNER/REPO/contributors
1356
+ ```
1357
+
1358
+ **Response schema (Status: 200):**
1359
+
1360
+ Array of `Contributor`:
1361
+ * `login`: string
1362
+ * `id`: integer
1363
+ * `node_id`: string
1364
+ * `avatar_url`: string, format: uri
1365
+ * `gravatar_id`: string or null
1366
+ * `url`: string, format: uri
1367
+ * `html_url`: string, format: uri
1368
+ * `followers_url`: string, format: uri
1369
+ * `following_url`: string
1370
+ * `gists_url`: string
1371
+ * `starred_url`: string
1372
+ * `subscriptions_url`: string, format: uri
1373
+ * `organizations_url`: string, format: uri
1374
+ * `repos_url`: string, format: uri
1375
+ * `events_url`: string
1376
+ * `received_events_url`: string, format: uri
1377
+ * `type`: required, string
1378
+ * `site_admin`: boolean
1379
+ * `contributions`: required, integer
1380
+ * `email`: string
1381
+ * `name`: string
1382
+ * `user_view_type`: string
1383
+
1384
+ ## Create a repository dispatch event
1385
+
1386
+ ```
1387
+ POST /repos/{owner}/{repo}/dispatches
1388
+ ```
1389
+
1390
+ You can use this endpoint to trigger a webhook event called repository_dispatch when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the repository_dispatch event occurs. For an example repository_dispatch webhook payload, see "RepositoryDispatchEvent."
1391
+ The client_payload parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the client_payload can include a message that a user would like to send using a GitHub Actions workflow. Or the client_payload can be used as a test to debug your workflow.
1392
+ This input example shows how you can use the client_payload as a test to debug your workflow.
1393
+ OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
1394
+
1395
+ ### Parameters
1396
+
1397
+ #### Headers
1398
+
1399
+ - **`accept`** (string)
1400
+ Setting to `application/vnd.github+json` is recommended.
1401
+
1402
+ #### Path and query parameters
1403
+
1404
+ - **`owner`** (string) (required)
1405
+ The account owner of the repository. The name is not case sensitive.
1406
+
1407
+ - **`repo`** (string) (required)
1408
+ The name of the repository without the .git extension. The name is not case sensitive.
1409
+
1410
+ #### Body parameters
1411
+
1412
+ - **`event_type`** (string) (required)
1413
+ A custom webhook event name. Must be 100 characters or fewer.
1414
+
1415
+ - **`client_payload`** (object)
1416
+ JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. The total size of the JSON payload must be less than 64KB.
1417
+
1418
+ ### HTTP response status codes
1419
+
1420
+ - **204** - No Content
1421
+
1422
+ - **404** - Resource not found
1423
+
1424
+ - **422** - Validation failed, or the endpoint has been spammed.
1425
+
1426
+ ### Code examples
1427
+
1428
+ #### Example
1429
+
1430
+ **Request:**
1431
+
1432
+ ```curl
1433
+ curl -L \
1434
+ -X POST \
1435
+ https://api.github.com/repos/OWNER/REPO/dispatches \
1436
+ -d '{
1437
+ "event_type": "on-demand-test",
1438
+ "client_payload": {
1439
+ "unit": false,
1440
+ "integration": true
1441
+ }
1442
+ }'
1443
+ ```
1444
+
1445
+ **Response schema (Status: 204):**
1446
+
1447
+ ## Get the hash algorithm for a repository
1448
+
1449
+ ```
1450
+ GET /repos/{owner}/{repo}/hash-algorithm
1451
+ ```
1452
+
1453
+ Returns the hash algorithm used to store repository objects.
1454
+
1455
+ ### Parameters
1456
+
1457
+ #### Headers
1458
+
1459
+ - **`accept`** (string)
1460
+ Setting to `application/vnd.github+json` is recommended.
1461
+
1462
+ #### Path and query parameters
1463
+
1464
+ - **`owner`** (string) (required)
1465
+ The account owner of the repository. The name is not case sensitive.
1466
+
1467
+ - **`repo`** (string) (required)
1468
+ The name of the repository without the .git extension. The name is not case sensitive.
1469
+
1470
+ ### HTTP response status codes
1471
+
1472
+ - **200** - OK
1473
+
1474
+ - **403** - Forbidden
1475
+
1476
+ - **404** - Resource not found
1477
+
1478
+ ### Code examples
1479
+
1480
+ #### Example
1481
+
1482
+ **Request:**
1483
+
1484
+ ```curl
1485
+ curl -L \
1486
+ -X GET \
1487
+ https://api.github.com/repos/OWNER/REPO/hash-algorithm
1488
+ ```
1489
+
1490
+ **Response schema (Status: 200):**
1491
+
1492
+ * `hash_algorithm`: required, string, enum: `sha1`, `sha256`
1493
+
1494
+ ## Check if immutable releases are enabled for a repository
1495
+
1496
+ ```
1497
+ GET /repos/{owner}/{repo}/immutable-releases
1498
+ ```
1499
+
1500
+ Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being
1501
+ enforced by the repository owner. The authenticated user must have admin read access to the repository.
1502
+
1503
+ ### Parameters
1504
+
1505
+ #### Headers
1506
+
1507
+ - **`accept`** (string)
1508
+ Setting to `application/vnd.github+json` is recommended.
1509
+
1510
+ #### Path and query parameters
1511
+
1512
+ - **`owner`** (string) (required)
1513
+ The account owner of the repository. The name is not case sensitive.
1514
+
1515
+ - **`repo`** (string) (required)
1516
+ The name of the repository without the .git extension. The name is not case sensitive.
1517
+
1518
+ ### HTTP response status codes
1519
+
1520
+ - **200** - Response if immutable releases are enabled
1521
+
1522
+ - **404** - Not Found if immutable releases are not enabled for the repository
1523
+
1524
+ ### Code examples
1525
+
1526
+ #### Example
1527
+
1528
+ **Request:**
1529
+
1530
+ ```curl
1531
+ curl -L \
1532
+ -X GET \
1533
+ https://api.github.com/repos/OWNER/REPO/immutable-releases
1534
+ ```
1535
+
1536
+ **Response schema (Status: 200):**
1537
+
1538
+ * `enabled`: required, boolean
1539
+ * `enforced_by_owner`: required, boolean
1540
+
1541
+ ## Enable immutable releases
1542
+
1543
+ ```
1544
+ PUT /repos/{owner}/{repo}/immutable-releases
1545
+ ```
1546
+
1547
+ Enables immutable releases for a repository. The authenticated user must have admin access to the repository.
1548
+
1549
+ ### Parameters
1550
+
1551
+ #### Headers
1552
+
1553
+ - **`accept`** (string)
1554
+ Setting to `application/vnd.github+json` is recommended.
1555
+
1556
+ #### Path and query parameters
1557
+
1558
+ - **`owner`** (string) (required)
1559
+ The account owner of the repository. The name is not case sensitive.
1560
+
1561
+ - **`repo`** (string) (required)
1562
+ The name of the repository without the .git extension. The name is not case sensitive.
1563
+
1564
+ ### HTTP response status codes
1565
+
1566
+ - **204** - A header with no content is returned.
1567
+
1568
+ - **409** - Conflict
1569
+
1570
+ ### Code examples
1571
+
1572
+ #### Example
1573
+
1574
+ **Request:**
1575
+
1576
+ ```curl
1577
+ curl -L \
1578
+ -X PUT \
1579
+ https://api.github.com/repos/OWNER/REPO/immutable-releases
1580
+ ```
1581
+
1582
+ **Response schema (Status: 204):**
1583
+
1584
+ ## Disable immutable releases
1585
+
1586
+ ```
1587
+ DELETE /repos/{owner}/{repo}/immutable-releases
1588
+ ```
1589
+
1590
+ Disables immutable releases for a repository. The authenticated user must have admin access to the repository.
1591
+
1592
+ ### Parameters
1593
+
1594
+ #### Headers
1595
+
1596
+ - **`accept`** (string)
1597
+ Setting to `application/vnd.github+json` is recommended.
1598
+
1599
+ #### Path and query parameters
1600
+
1601
+ - **`owner`** (string) (required)
1602
+ The account owner of the repository. The name is not case sensitive.
1603
+
1604
+ - **`repo`** (string) (required)
1605
+ The name of the repository without the .git extension. The name is not case sensitive.
1606
+
1607
+ ### HTTP response status codes
1608
+
1609
+ - **204** - A header with no content is returned.
1610
+
1611
+ - **409** - Conflict
1612
+
1613
+ ### Code examples
1614
+
1615
+ #### Example
1616
+
1617
+ **Request:**
1618
+
1619
+ ```curl
1620
+ curl -L \
1621
+ -X DELETE \
1622
+ https://api.github.com/repos/OWNER/REPO/immutable-releases
1623
+ ```
1624
+
1625
+ **Response schema (Status: 204):**
1626
+
1627
+ ## List repository languages
1628
+
1629
+ ```
1630
+ GET /repos/{owner}/{repo}/languages
1631
+ ```
1632
+
1633
+ Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.
1634
+
1635
+ ### Parameters
1636
+
1637
+ #### Headers
1638
+
1639
+ - **`accept`** (string)
1640
+ Setting to `application/vnd.github+json` is recommended.
1641
+
1642
+ #### Path and query parameters
1643
+
1644
+ - **`owner`** (string) (required)
1645
+ The account owner of the repository. The name is not case sensitive.
1646
+
1647
+ - **`repo`** (string) (required)
1648
+ The name of the repository without the .git extension. The name is not case sensitive.
1649
+
1650
+ ### HTTP response status codes
1651
+
1652
+ - **200** - OK
1653
+
1654
+ ### Code examples
1655
+
1656
+ #### Example
1657
+
1658
+ **Request:**
1659
+
1660
+ ```curl
1661
+ curl -L \
1662
+ -X GET \
1663
+ https://api.github.com/repos/OWNER/REPO/languages
1664
+ ```
1665
+
1666
+ **Response schema (Status: 200):**
1667
+
1668
+ object, additional properties: integer
1669
+
1670
+ ## Check if private vulnerability reporting is enabled for a repository
1671
+
1672
+ ```
1673
+ GET /repos/{owner}/{repo}/private-vulnerability-reporting
1674
+ ```
1675
+
1676
+ Returns a boolean indicating whether or not private vulnerability reporting is enabled for the repository. For more information, see "Evaluating the security settings of a repository".
1677
+
1678
+ ### Parameters
1679
+
1680
+ #### Headers
1681
+
1682
+ - **`accept`** (string)
1683
+ Setting to `application/vnd.github+json` is recommended.
1684
+
1685
+ #### Path and query parameters
1686
+
1687
+ - **`owner`** (string) (required)
1688
+ The account owner of the repository. The name is not case sensitive.
1689
+
1690
+ - **`repo`** (string) (required)
1691
+ The name of the repository without the .git extension. The name is not case sensitive.
1692
+
1693
+ ### HTTP response status codes
1694
+
1695
+ - **200** - Private vulnerability reporting status
1696
+
1697
+ - **422** - Bad Request
1698
+
1699
+ ### Code examples
1700
+
1701
+ #### Example
1702
+
1703
+ **Request:**
1704
+
1705
+ ```curl
1706
+ curl -L \
1707
+ -X GET \
1708
+ https://api.github.com/repos/OWNER/REPO/private-vulnerability-reporting
1709
+ ```
1710
+
1711
+ **Response schema (Status: 200):**
1712
+
1713
+ * `enabled`: required, boolean
1714
+
1715
+ ## Enable private vulnerability reporting for a repository
1716
+
1717
+ ```
1718
+ PUT /repos/{owner}/{repo}/private-vulnerability-reporting
1719
+ ```
1720
+
1721
+ Enables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see "Privately reporting a security vulnerability."
1722
+
1723
+ ### Parameters
1724
+
1725
+ #### Headers
1726
+
1727
+ - **`accept`** (string)
1728
+ Setting to `application/vnd.github+json` is recommended.
1729
+
1730
+ #### Path and query parameters
1731
+
1732
+ - **`owner`** (string) (required)
1733
+ The account owner of the repository. The name is not case sensitive.
1734
+
1735
+ - **`repo`** (string) (required)
1736
+ The name of the repository without the .git extension. The name is not case sensitive.
1737
+
1738
+ ### HTTP response status codes
1739
+
1740
+ - **204** - A header with no content is returned.
1741
+
1742
+ - **422** - Bad Request
1743
+
1744
+ ### Code examples
1745
+
1746
+ #### Example
1747
+
1748
+ **Request:**
1749
+
1750
+ ```curl
1751
+ curl -L \
1752
+ -X PUT \
1753
+ https://api.github.com/repos/OWNER/REPO/private-vulnerability-reporting
1754
+ ```
1755
+
1756
+ **Response schema (Status: 204):**
1757
+
1758
+ ## Disable private vulnerability reporting for a repository
1759
+
1760
+ ```
1761
+ DELETE /repos/{owner}/{repo}/private-vulnerability-reporting
1762
+ ```
1763
+
1764
+ Disables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see "Privately reporting a security vulnerability".
1765
+
1766
+ ### Parameters
1767
+
1768
+ #### Headers
1769
+
1770
+ - **`accept`** (string)
1771
+ Setting to `application/vnd.github+json` is recommended.
1772
+
1773
+ #### Path and query parameters
1774
+
1775
+ - **`owner`** (string) (required)
1776
+ The account owner of the repository. The name is not case sensitive.
1777
+
1778
+ - **`repo`** (string) (required)
1779
+ The name of the repository without the .git extension. The name is not case sensitive.
1780
+
1781
+ ### HTTP response status codes
1782
+
1783
+ - **204** - A header with no content is returned.
1784
+
1785
+ - **422** - Bad Request
1786
+
1787
+ ### Code examples
1788
+
1789
+ #### Example
1790
+
1791
+ **Request:**
1792
+
1793
+ ```curl
1794
+ curl -L \
1795
+ -X DELETE \
1796
+ https://api.github.com/repos/OWNER/REPO/private-vulnerability-reporting
1797
+ ```
1798
+
1799
+ **Response schema (Status: 204):**
1800
+
1801
+ ## List repository tags
1802
+
1803
+ ```
1804
+ GET /repos/{owner}/{repo}/tags
1805
+ ```
1806
+
1807
+ ### Parameters
1808
+
1809
+ #### Headers
1810
+
1811
+ - **`accept`** (string)
1812
+ Setting to `application/vnd.github+json` is recommended.
1813
+
1814
+ #### Path and query parameters
1815
+
1816
+ - **`owner`** (string) (required)
1817
+ The account owner of the repository. The name is not case sensitive.
1818
+
1819
+ - **`repo`** (string) (required)
1820
+ The name of the repository without the .git extension. The name is not case sensitive.
1821
+
1822
+ - **`per_page`** (integer)
1823
+ The number of results per page (max 100). For more information, see "Using pagination in the REST API."
1824
+ Default: `30`
1825
+
1826
+ - **`page`** (integer)
1827
+ The page number of the results to fetch. For more information, see "Using pagination in the REST API."
1828
+ Default: `1`
1829
+
1830
+ ### HTTP response status codes
1831
+
1832
+ - **200** - OK
1833
+
1834
+ ### Code examples
1835
+
1836
+ #### Example
1837
+
1838
+ **Request:**
1839
+
1840
+ ```curl
1841
+ curl -L \
1842
+ -X GET \
1843
+ https://api.github.com/repos/OWNER/REPO/tags
1844
+ ```
1845
+
1846
+ **Response schema (Status: 200):**
1847
+
1848
+ Array of `Tag`:
1849
+ * `name`: required, string
1850
+ * `commit`: required, object:
1851
+ * `sha`: required, string
1852
+ * `url`: required, string, format: uri
1853
+ * `zipball_url`: required, string, format: uri
1854
+ * `tarball_url`: required, string, format: uri
1855
+ * `node_id`: required, string
1856
+
1857
+ ## List repository teams
1858
+
1859
+ ```
1860
+ GET /repos/{owner}/{repo}/teams
1861
+ ```
1862
+
1863
+ Lists the teams that have access to the specified repository and that are also visible to the authenticated user.
1864
+ For a public repository, a team is listed only if that team added the public repository explicitly.
1865
+ OAuth app tokens and personal access tokens (classic) need the public_repo or repo scope to use this endpoint with a public repository, and repo scope to use this endpoint with a private repository.
1866
+
1867
+ ### Parameters
1868
+
1869
+ #### Headers
1870
+
1871
+ - **`accept`** (string)
1872
+ Setting to `application/vnd.github+json` is recommended.
1873
+
1874
+ #### Path and query parameters
1875
+
1876
+ - **`owner`** (string) (required)
1877
+ The account owner of the repository. The name is not case sensitive.
1878
+
1879
+ - **`repo`** (string) (required)
1880
+ The name of the repository without the .git extension. The name is not case sensitive.
1881
+
1882
+ - **`per_page`** (integer)
1883
+ The number of results per page (max 100). For more information, see "Using pagination in the REST API."
1884
+ Default: `30`
1885
+
1886
+ - **`page`** (integer)
1887
+ The page number of the results to fetch. For more information, see "Using pagination in the REST API."
1888
+ Default: `1`
1889
+
1890
+ ### HTTP response status codes
1891
+
1892
+ - **200** - OK
1893
+
1894
+ - **404** - Resource not found
1895
+
1896
+ ### Code examples
1897
+
1898
+ #### Example
1899
+
1900
+ **Request:**
1901
+
1902
+ ```curl
1903
+ curl -L \
1904
+ -X GET \
1905
+ https://api.github.com/repos/OWNER/REPO/teams
1906
+ ```
1907
+
1908
+ **Response schema (Status: 200):**
1909
+
1910
+ Array of `Team`:
1911
+ * `id`: required, integer
1912
+ * `node_id`: required, string
1913
+ * `name`: required, string
1914
+ * `slug`: required, string
1915
+ * `description`: required, string or null
1916
+ * `privacy`: string
1917
+ * `notification_setting`: string
1918
+ * `permission`: required, string
1919
+ * `permissions`: object:
1920
+ * `pull`: required, boolean
1921
+ * `triage`: required, boolean
1922
+ * `push`: required, boolean
1923
+ * `maintain`: required, boolean
1924
+ * `admin`: required, boolean
1925
+ * `url`: required, string, format: uri
1926
+ * `html_url`: required, string, format: uri
1927
+ * `members_url`: required, string
1928
+ * `repositories_url`: required, string, format: uri
1929
+ * `type`: required, string, enum: `enterprise`, `organization`
1930
+ * `access_source`: string, enum: `direct`, `organization`, `enterprise`
1931
+ * `organization_id`: integer
1932
+ * `enterprise_id`: integer
1933
+ * `parent`: required, any of:
1934
+ * **null**
1935
+ * **Team Simple**
1936
+ * `id`: required, integer
1937
+ * `node_id`: required, string
1938
+ * `url`: required, string, format: uri
1939
+ * `members_url`: required, string
1940
+ * `name`: required, string
1941
+ * `description`: required, string or null
1942
+ * `permission`: required, string
1943
+ * `privacy`: string
1944
+ * `notification_setting`: string
1945
+ * `html_url`: required, string, format: uri
1946
+ * `repositories_url`: required, string, format: uri
1947
+ * `slug`: required, string
1948
+ * `ldap_dn`: string
1949
+ * `type`: required, string, enum: `enterprise`, `organization`
1950
+ * `organization_id`: integer
1951
+ * `enterprise_id`: integer
1952
+
1953
+ ## Get all repository topics
1954
+
1955
+ ```
1956
+ GET /repos/{owner}/{repo}/topics
1957
+ ```
1958
+
1959
+ ### Parameters
1960
+
1961
+ #### Headers
1962
+
1963
+ - **`accept`** (string)
1964
+ Setting to `application/vnd.github+json` is recommended.
1965
+
1966
+ #### Path and query parameters
1967
+
1968
+ - **`owner`** (string) (required)
1969
+ The account owner of the repository. The name is not case sensitive.
1970
+
1971
+ - **`repo`** (string) (required)
1972
+ The name of the repository without the .git extension. The name is not case sensitive.
1973
+
1974
+ - **`page`** (integer)
1975
+ The page number of the results to fetch. For more information, see "Using pagination in the REST API."
1976
+ Default: `1`
1977
+
1978
+ - **`per_page`** (integer)
1979
+ The number of results per page (max 100). For more information, see "Using pagination in the REST API."
1980
+ Default: `30`
1981
+
1982
+ ### HTTP response status codes
1983
+
1984
+ - **200** - OK
1985
+
1986
+ - **404** - Resource not found
1987
+
1988
+ ### Code examples
1989
+
1990
+ #### Example
1991
+
1992
+ **Request:**
1993
+
1994
+ ```curl
1995
+ curl -L \
1996
+ -X GET \
1997
+ https://api.github.com/repos/OWNER/REPO/topics
1998
+ ```
1999
+
2000
+ **Response schema (Status: 200):**
2001
+
2002
+ * `names`: required, array of string
2003
+
2004
+ ## Replace all repository topics
2005
+
2006
+ ```
2007
+ PUT /repos/{owner}/{repo}/topics
2008
+ ```
2009
+
2010
+ ### Parameters
2011
+
2012
+ #### Headers
2013
+
2014
+ - **`accept`** (string)
2015
+ Setting to `application/vnd.github+json` is recommended.
2016
+
2017
+ #### Path and query parameters
2018
+
2019
+ - **`owner`** (string) (required)
2020
+ The account owner of the repository. The name is not case sensitive.
2021
+
2022
+ - **`repo`** (string) (required)
2023
+ The name of the repository without the .git extension. The name is not case sensitive.
2024
+
2025
+ #### Body parameters
2026
+
2027
+ - **`names`** (array of strings) (required)
2028
+ An array of topics to add to the repository. Pass one or more topics to replace the set of existing topics. Send an empty array ([]) to clear all topics from the repository. Note: Topic names will be saved as lowercase.
2029
+
2030
+ ### HTTP response status codes
2031
+
2032
+ - **200** - OK
2033
+
2034
+ - **404** - Resource not found
2035
+
2036
+ - **422** - Validation failed, or the endpoint has been spammed.
2037
+
2038
+ ### Code examples
2039
+
2040
+ #### Example
2041
+
2042
+ **Request:**
2043
+
2044
+ ```curl
2045
+ curl -L \
2046
+ -X PUT \
2047
+ https://api.github.com/repos/OWNER/REPO/topics \
2048
+ -d '{
2049
+ "names": [
2050
+ "octocat",
2051
+ "atom",
2052
+ "electron",
2053
+ "api"
2054
+ ]
2055
+ }'
2056
+ ```
2057
+
2058
+ **Response schema (Status: 200):**
2059
+
2060
+ Same response schema as [Get all repository topics](#get-all-repository-topics).
2061
+
2062
+ ## Transfer a repository
2063
+
2064
+ ```
2065
+ POST /repos/{owner}/{repo}/transfer
2066
+ ```
2067
+
2068
+ A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original owner, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see about repository transfers.
2069
+
2070
+ ### Parameters
2071
+
2072
+ #### Headers
2073
+
2074
+ - **`accept`** (string)
2075
+ Setting to `application/vnd.github+json` is recommended.
2076
+
2077
+ #### Path and query parameters
2078
+
2079
+ - **`owner`** (string) (required)
2080
+ The account owner of the repository. The name is not case sensitive.
2081
+
2082
+ - **`repo`** (string) (required)
2083
+ The name of the repository without the .git extension. The name is not case sensitive.
2084
+
2085
+ #### Body parameters
2086
+
2087
+ - **`new_owner`** (string) (required)
2088
+ The username or organization name the repository will be transferred to.
2089
+
2090
+ - **`new_name`** (string)
2091
+ The new name to be given to the repository.
2092
+
2093
+ - **`team_ids`** (array of integers)
2094
+ ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories.
2095
+
2096
+ ### HTTP response status codes
2097
+
2098
+ - **202** - Accepted
2099
+
2100
+ ### Code examples
2101
+
2102
+ #### Example
2103
+
2104
+ **Request:**
2105
+
2106
+ ```curl
2107
+ curl -L \
2108
+ -X POST \
2109
+ https://api.github.com/repos/OWNER/REPO/transfer \
2110
+ -d '{
2111
+ "new_owner": "github",
2112
+ "team_ids": [
2113
+ 12,
2114
+ 345
2115
+ ],
2116
+ "new_name": "octorepo"
2117
+ }'
2118
+ ```
2119
+
2120
+ **Response schema (Status: 202):**
2121
+
2122
+ * `id`: required, integer, format: int64
2123
+ * `node_id`: required, string
2124
+ * `name`: required, string
2125
+ * `full_name`: required, string
2126
+ * `owner`: required, `Simple User`:
2127
+ * `name`: string or null
2128
+ * `email`: string or null
2129
+ * `login`: required, string
2130
+ * `id`: required, integer, format: int64
2131
+ * `node_id`: required, string
2132
+ * `avatar_url`: required, string, format: uri
2133
+ * `gravatar_id`: required, string or null
2134
+ * `url`: required, string, format: uri
2135
+ * `html_url`: required, string, format: uri
2136
+ * `followers_url`: required, string, format: uri
2137
+ * `following_url`: required, string
2138
+ * `gists_url`: required, string
2139
+ * `starred_url`: required, string
2140
+ * `subscriptions_url`: required, string, format: uri
2141
+ * `organizations_url`: required, string, format: uri
2142
+ * `repos_url`: required, string, format: uri
2143
+ * `events_url`: required, string
2144
+ * `received_events_url`: required, string, format: uri
2145
+ * `type`: required, string
2146
+ * `site_admin`: required, boolean
2147
+ * `starred_at`: string
2148
+ * `user_view_type`: string
2149
+ * `private`: required, boolean
2150
+ * `html_url`: required, string, format: uri
2151
+ * `description`: required, string or null
2152
+ * `fork`: required, boolean
2153
+ * `url`: required, string, format: uri
2154
+ * `archive_url`: required, string
2155
+ * `assignees_url`: required, string
2156
+ * `blobs_url`: required, string
2157
+ * `branches_url`: required, string
2158
+ * `collaborators_url`: required, string
2159
+ * `comments_url`: required, string
2160
+ * `commits_url`: required, string
2161
+ * `compare_url`: required, string
2162
+ * `contents_url`: required, string
2163
+ * `contributors_url`: required, string, format: uri
2164
+ * `deployments_url`: required, string, format: uri
2165
+ * `downloads_url`: required, string, format: uri
2166
+ * `events_url`: required, string, format: uri
2167
+ * `forks_url`: required, string, format: uri
2168
+ * `git_commits_url`: required, string
2169
+ * `git_refs_url`: required, string
2170
+ * `git_tags_url`: required, string
2171
+ * `git_url`: string
2172
+ * `issue_comment_url`: required, string
2173
+ * `issue_events_url`: required, string
2174
+ * `issues_url`: required, string
2175
+ * `keys_url`: required, string
2176
+ * `labels_url`: required, string
2177
+ * `languages_url`: required, string, format: uri
2178
+ * `merges_url`: required, string, format: uri
2179
+ * `milestones_url`: required, string
2180
+ * `notifications_url`: required, string
2181
+ * `pulls_url`: required, string
2182
+ * `releases_url`: required, string
2183
+ * `ssh_url`: string
2184
+ * `stargazers_url`: required, string, format: uri
2185
+ * `statuses_url`: required, string
2186
+ * `subscribers_url`: required, string, format: uri
2187
+ * `subscription_url`: required, string, format: uri
2188
+ * `tags_url`: required, string, format: uri
2189
+ * `teams_url`: required, string, format: uri
2190
+ * `trees_url`: required, string
2191
+ * `clone_url`: string
2192
+ * `mirror_url`: string or null
2193
+ * `hooks_url`: required, string, format: uri
2194
+ * `svn_url`: string
2195
+ * `homepage`: string or null
2196
+ * `language`: string or null
2197
+ * `forks_count`: integer
2198
+ * `stargazers_count`: integer
2199
+ * `watchers_count`: integer
2200
+ * `size`: integer
2201
+ * `default_branch`: string
2202
+ * `open_issues_count`: integer
2203
+ * `is_template`: boolean
2204
+ * `topics`: array of string
2205
+ * `has_issues`: boolean
2206
+ * `has_projects`: boolean
2207
+ * `has_wiki`: boolean
2208
+ * `has_pages`: boolean
2209
+ * `has_discussions`: boolean
2210
+ * `has_pull_requests`: boolean
2211
+ * `pull_request_creation_policy`: string, enum: `all`, `collaborators_only`
2212
+ * `archived`: boolean
2213
+ * `disabled`: boolean
2214
+ * `visibility`: string
2215
+ * `pushed_at`: string or null, format: date-time
2216
+ * `created_at`: string or null, format: date-time
2217
+ * `updated_at`: string or null, format: date-time
2218
+ * `permissions`: object:
2219
+ * `admin`: boolean
2220
+ * `maintain`: boolean
2221
+ * `push`: boolean
2222
+ * `triage`: boolean
2223
+ * `pull`: boolean
2224
+ * `role_name`: string
2225
+ * `temp_clone_token`: string
2226
+ * `delete_branch_on_merge`: boolean
2227
+ * `subscribers_count`: integer
2228
+ * `network_count`: integer
2229
+ * `code_of_conduct`: `Code Of Conduct`:
2230
+ * `key`: required, string
2231
+ * `name`: required, string
2232
+ * `url`: required, string, format: uri
2233
+ * `body`: string
2234
+ * `html_url`: required, string or null, format: uri
2235
+ * `license`: object or null:
2236
+ * `key`: string
2237
+ * `name`: string
2238
+ * `spdx_id`: string
2239
+ * `url`: string or null
2240
+ * `node_id`: string
2241
+ * `forks`: integer
2242
+ * `open_issues`: integer
2243
+ * `watchers`: integer
2244
+ * `allow_forking`: boolean
2245
+ * `web_commit_signoff_required`: boolean
2246
+ * `security_and_analysis`: object or null:
2247
+ * `advanced_security`: object:
2248
+ * `status`: string, enum: `enabled`, `disabled`
2249
+ * `code_security`: object:
2250
+ * `status`: string, enum: `enabled`, `disabled`
2251
+ * `dependabot_security_updates`: object:
2252
+ * `status`: string, enum: `enabled`, `disabled`
2253
+ * `secret_scanning`: object:
2254
+ * `status`: string, enum: `enabled`, `disabled`
2255
+ * `secret_scanning_push_protection`: object:
2256
+ * `status`: string, enum: `enabled`, `disabled`
2257
+ * `secret_scanning_non_provider_patterns`: object:
2258
+ * `status`: string, enum: `enabled`, `disabled`
2259
+ * `secret_scanning_ai_detection`: object:
2260
+ * `status`: string, enum: `enabled`, `disabled`
2261
+ * `secret_scanning_delegated_alert_dismissal`: object:
2262
+ * `status`: string, enum: `enabled`, `disabled`
2263
+ * `secret_scanning_delegated_bypass`: object:
2264
+ * `status`: string, enum: `enabled`, `disabled`
2265
+ * `secret_scanning_delegated_bypass_options`: object:
2266
+ * `reviewers`: array of objects:
2267
+ * `reviewer_id`: required, integer
2268
+ * `reviewer_type`: required, string, enum: `TEAM`, `ROLE`
2269
+ * `mode`: string, enum: `ALWAYS`, `EXEMPT`, default: `"ALWAYS"`
2270
+ * `custom_properties`: object, additional properties allowed
2271
+
2272
+ ## Check if vulnerability alerts are enabled for a repository
2273
+
2274
+ ```
2275
+ GET /repos/{owner}/{repo}/vulnerability-alerts
2276
+ ```
2277
+
2278
+ Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin read access to the repository. For more information, see "About security alerts for vulnerable dependencies".
2279
+
2280
+ ### Parameters
2281
+
2282
+ #### Headers
2283
+
2284
+ - **`accept`** (string)
2285
+ Setting to `application/vnd.github+json` is recommended.
2286
+
2287
+ #### Path and query parameters
2288
+
2289
+ - **`owner`** (string) (required)
2290
+ The account owner of the repository. The name is not case sensitive.
2291
+
2292
+ - **`repo`** (string) (required)
2293
+ The name of the repository without the .git extension. The name is not case sensitive.
2294
+
2295
+ ### HTTP response status codes
2296
+
2297
+ - **204** - Response if repository is enabled with vulnerability alerts
2298
+
2299
+ - **404** - Not Found if repository is not enabled with vulnerability alerts
2300
+
2301
+ ### Code examples
2302
+
2303
+ #### Example
2304
+
2305
+ **Request:**
2306
+
2307
+ ```curl
2308
+ curl -L \
2309
+ -X GET \
2310
+ https://api.github.com/repos/OWNER/REPO/vulnerability-alerts
2311
+ ```
2312
+
2313
+ **Response schema (Status: 204):**
2314
+
2315
+ ## Enable vulnerability alerts
2316
+
2317
+ ```
2318
+ PUT /repos/{owner}/{repo}/vulnerability-alerts
2319
+ ```
2320
+
2321
+ Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see "About security alerts for vulnerable dependencies".
2322
+
2323
+ ### Parameters
2324
+
2325
+ #### Headers
2326
+
2327
+ - **`accept`** (string)
2328
+ Setting to `application/vnd.github+json` is recommended.
2329
+
2330
+ #### Path and query parameters
2331
+
2332
+ - **`owner`** (string) (required)
2333
+ The account owner of the repository. The name is not case sensitive.
2334
+
2335
+ - **`repo`** (string) (required)
2336
+ The name of the repository without the .git extension. The name is not case sensitive.
2337
+
2338
+ ### HTTP response status codes
2339
+
2340
+ - **204** - No Content
2341
+
2342
+ ### Code examples
2343
+
2344
+ #### Example
2345
+
2346
+ **Request:**
2347
+
2348
+ ```curl
2349
+ curl -L \
2350
+ -X PUT \
2351
+ https://api.github.com/repos/OWNER/REPO/vulnerability-alerts
2352
+ ```
2353
+
2354
+ **Response schema (Status: 204):**
2355
+
2356
+ ## Disable vulnerability alerts
2357
+
2358
+ ```
2359
+ DELETE /repos/{owner}/{repo}/vulnerability-alerts
2360
+ ```
2361
+
2362
+ Disables dependency alerts and the dependency graph for a repository.
2363
+ The authenticated user must have admin access to the repository. For more information,
2364
+ see "About security alerts for vulnerable dependencies".
2365
+
2366
+ ### Parameters
2367
+
2368
+ #### Headers
2369
+
2370
+ - **`accept`** (string)
2371
+ Setting to `application/vnd.github+json` is recommended.
2372
+
2373
+ #### Path and query parameters
2374
+
2375
+ - **`owner`** (string) (required)
2376
+ The account owner of the repository. The name is not case sensitive.
2377
+
2378
+ - **`repo`** (string) (required)
2379
+ The name of the repository without the .git extension. The name is not case sensitive.
2380
+
2381
+ ### HTTP response status codes
2382
+
2383
+ - **204** - No Content
2384
+
2385
+ ### Code examples
2386
+
2387
+ #### Example
2388
+
2389
+ **Request:**
2390
+
2391
+ ```curl
2392
+ curl -L \
2393
+ -X DELETE \
2394
+ https://api.github.com/repos/OWNER/REPO/vulnerability-alerts
2395
+ ```
2396
+
2397
+ **Response schema (Status: 204):**
2398
+
2399
+ ## Create a repository using a template
2400
+
2401
+ ```
2402
+ POST /repos/{template_owner}/{template_repo}/generate
2403
+ ```
2404
+
2405
+ Creates a new repository using a repository template. Use the template_owner and template_repo route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the Get a repository endpoint and check that the is_template key is true.
2406
+ OAuth app tokens and personal access tokens (classic) need the public_repo or repo scope to create a public repository, and repo scope to create a private repository.
2407
+
2408
+ ### Parameters
2409
+
2410
+ #### Headers
2411
+
2412
+ - **`accept`** (string)
2413
+ Setting to `application/vnd.github+json` is recommended.
2414
+
2415
+ #### Path and query parameters
2416
+
2417
+ - **`template_owner`** (string) (required)
2418
+ The account owner of the template repository. The name is not case sensitive.
2419
+
2420
+ - **`template_repo`** (string) (required)
2421
+ The name of the template repository without the .git extension. The name is not case sensitive.
2422
+
2423
+ #### Body parameters
2424
+
2425
+ - **`owner`** (string)
2426
+ The organization or person who will own the new repository. To create a new repository in an organization, the authenticated user must be a member of the specified organization.
2427
+
2428
+ - **`name`** (string) (required)
2429
+ The name of the new repository.
2430
+
2431
+ - **`description`** (string)
2432
+ A short description of the new repository.
2433
+
2434
+ - **`include_all_branches`** (boolean)
2435
+ Set to true to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: false.
2436
+ Default: `false`
2437
+
2438
+ - **`private`** (boolean)
2439
+ Either true to create a new private repository or false to create a new public one.
2440
+ Default: `false`
2441
+
2442
+ ### HTTP response status codes
2443
+
2444
+ - **201** - Created
2445
+
2446
+ ### Code examples
2447
+
2448
+ #### Example
2449
+
2450
+ **Request:**
2451
+
2452
+ ```curl
2453
+ curl -L \
2454
+ -X POST \
2455
+ https://api.github.com/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \
2456
+ -d '{
2457
+ "owner": "octocat",
2458
+ "name": "Hello-World",
2459
+ "description": "This is your first repository",
2460
+ "include_all_branches": false,
2461
+ "private": false
2462
+ }'
2463
+ ```
2464
+
2465
+ **Response schema (Status: 201):**
2466
+
2467
+ Same response schema as [Create an organization repository](#create-an-organization-repository).
2468
+
2469
+ ## List public repositories
2470
+
2471
+ ```
2472
+ GET /repositories
2473
+ ```
2474
+
2475
+ Lists all public repositories in the order that they were created.
2476
+ Note:
2477
+
2478
+ For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.
2479
+ Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of repositories.
2480
+
2481
+ ### Parameters
2482
+
2483
+ #### Headers
2484
+
2485
+ - **`accept`** (string)
2486
+ Setting to `application/vnd.github+json` is recommended.
2487
+
2488
+ #### Path and query parameters
2489
+
2490
+ - **`since`** (integer)
2491
+ A repository ID. Only return repositories with an ID greater than this ID.
2492
+
2493
+ ### HTTP response status codes
2494
+
2495
+ - **200** - OK
2496
+
2497
+ - **304** - Not modified
2498
+
2499
+ - **422** - Validation failed, or the endpoint has been spammed.
2500
+
2501
+ ### Code examples
2502
+
2503
+ #### Example
2504
+
2505
+ **Request:**
2506
+
2507
+ ```curl
2508
+ curl -L \
2509
+ -X GET \
2510
+ https://api.github.com/repositories
2511
+ ```
2512
+
2513
+ **Response schema (Status: 200):**
2514
+
2515
+ Same response schema as [List organization repositories](#list-organization-repositories).
2516
+
2517
+ ## List repositories for the authenticated user
2518
+
2519
+ ```
2520
+ GET /user/repos
2521
+ ```
2522
+
2523
+ Lists repositories that the authenticated user has explicit permission (:read, :write, or :admin) to access.
2524
+ The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.
2525
+
2526
+ ### Parameters
2527
+
2528
+ #### Headers
2529
+
2530
+ - **`accept`** (string)
2531
+ Setting to `application/vnd.github+json` is recommended.
2532
+
2533
+ #### Path and query parameters
2534
+
2535
+ - **`visibility`** (string)
2536
+ Limit results to repositories with the specified visibility.
2537
+ Default: `all`
2538
+ Can be one of: `all`, `public`, `private`
2539
+
2540
+ - **`affiliation`** (string)
2541
+ Comma-separated list of values. Can include:
2542
+
2543
+ owner: Repositories that are owned by the authenticated user.
2544
+ collaborator: Repositories that the user has been added to as a collaborator.
2545
+ organization_member: Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on.
2546
+ Default: `owner,collaborator,organization_member`
2547
+
2548
+ - **`type`** (string)
2549
+ Limit results to repositories of the specified type. Will cause a 422 error if used in the same request as visibility or affiliation.
2550
+ Default: `all`
2551
+ Can be one of: `all`, `owner`, `public`, `private`, `member`
2552
+
2553
+ - **`sort`** (string)
2554
+ The property to sort the results by.
2555
+ Default: `full_name`
2556
+ Can be one of: `created`, `updated`, `pushed`, `full_name`
2557
+
2558
+ - **`direction`** (string)
2559
+ The order to sort by. Default: asc when using full_name, otherwise desc.
2560
+ Can be one of: `asc`, `desc`
2561
+
2562
+ - **`per_page`** (integer)
2563
+ The number of results per page (max 100). For more information, see "Using pagination in the REST API."
2564
+ Default: `30`
2565
+
2566
+ - **`page`** (integer)
2567
+ The page number of the results to fetch. For more information, see "Using pagination in the REST API."
2568
+ Default: `1`
2569
+
2570
+ - **`since`** (string)
2571
+ Only show repositories updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
2572
+
2573
+ - **`before`** (string)
2574
+ Only show repositories updated before the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
2575
+
2576
+ ### HTTP response status codes
2577
+
2578
+ - **200** - OK
2579
+
2580
+ - **304** - Not modified
2581
+
2582
+ - **401** - Requires authentication
2583
+
2584
+ - **403** - Forbidden
2585
+
2586
+ - **422** - Validation failed, or the endpoint has been spammed.
2587
+
2588
+ ### Code examples
2589
+
2590
+ #### Example
2591
+
2592
+ **Request:**
2593
+
2594
+ ```curl
2595
+ curl -L \
2596
+ -X GET \
2597
+ https://api.github.com/user/repos
2598
+ ```
2599
+
2600
+ **Response schema (Status: 200):**
2601
+
2602
+ Array of `Repository`:
2603
+ * `id`: required, integer, format: int64
2604
+ * `node_id`: required, string
2605
+ * `name`: required, string
2606
+ * `full_name`: required, string
2607
+ * `license`: required, any of:
2608
+ * **null**
2609
+ * **License Simple**
2610
+ * `key`: required, string
2611
+ * `name`: required, string
2612
+ * `url`: required, string or null, format: uri
2613
+ * `spdx_id`: required, string or null
2614
+ * `node_id`: required, string
2615
+ * `html_url`: string, format: uri
2616
+ * `forks`: required, integer
2617
+ * `permissions`: object:
2618
+ * `admin`: required, boolean
2619
+ * `pull`: required, boolean
2620
+ * `triage`: boolean
2621
+ * `push`: required, boolean
2622
+ * `maintain`: boolean
2623
+ * `owner`: required, `Simple User`:
2624
+ * `name`: string or null
2625
+ * `email`: string or null
2626
+ * `login`: required, string
2627
+ * `id`: required, integer, format: int64
2628
+ * `node_id`: required, string
2629
+ * `avatar_url`: required, string, format: uri
2630
+ * `gravatar_id`: required, string or null
2631
+ * `url`: required, string, format: uri
2632
+ * `html_url`: required, string, format: uri
2633
+ * `followers_url`: required, string, format: uri
2634
+ * `following_url`: required, string
2635
+ * `gists_url`: required, string
2636
+ * `starred_url`: required, string
2637
+ * `subscriptions_url`: required, string, format: uri
2638
+ * `organizations_url`: required, string, format: uri
2639
+ * `repos_url`: required, string, format: uri
2640
+ * `events_url`: required, string
2641
+ * `received_events_url`: required, string, format: uri
2642
+ * `type`: required, string
2643
+ * `site_admin`: required, boolean
2644
+ * `starred_at`: string
2645
+ * `user_view_type`: string
2646
+ * `private`: required, boolean, default: `false`
2647
+ * `html_url`: required, string, format: uri
2648
+ * `description`: required, string or null
2649
+ * `fork`: required, boolean
2650
+ * `url`: required, string, format: uri
2651
+ * `archive_url`: required, string
2652
+ * `assignees_url`: required, string
2653
+ * `blobs_url`: required, string
2654
+ * `branches_url`: required, string
2655
+ * `collaborators_url`: required, string
2656
+ * `comments_url`: required, string
2657
+ * `commits_url`: required, string
2658
+ * `compare_url`: required, string
2659
+ * `contents_url`: required, string
2660
+ * `contributors_url`: required, string, format: uri
2661
+ * `deployments_url`: required, string, format: uri
2662
+ * `downloads_url`: required, string, format: uri
2663
+ * `events_url`: required, string, format: uri
2664
+ * `forks_url`: required, string, format: uri
2665
+ * `git_commits_url`: required, string
2666
+ * `git_refs_url`: required, string
2667
+ * `git_tags_url`: required, string
2668
+ * `git_url`: required, string
2669
+ * `issue_comment_url`: required, string
2670
+ * `issue_events_url`: required, string
2671
+ * `issues_url`: required, string
2672
+ * `keys_url`: required, string
2673
+ * `labels_url`: required, string
2674
+ * `languages_url`: required, string, format: uri
2675
+ * `merges_url`: required, string, format: uri
2676
+ * `milestones_url`: required, string
2677
+ * `notifications_url`: required, string
2678
+ * `pulls_url`: required, string
2679
+ * `releases_url`: required, string
2680
+ * `ssh_url`: required, string
2681
+ * `stargazers_url`: required, string, format: uri
2682
+ * `statuses_url`: required, string
2683
+ * `subscribers_url`: required, string, format: uri
2684
+ * `subscription_url`: required, string, format: uri
2685
+ * `tags_url`: required, string, format: uri
2686
+ * `teams_url`: required, string, format: uri
2687
+ * `trees_url`: required, string
2688
+ * `clone_url`: required, string
2689
+ * `mirror_url`: required, string or null, format: uri
2690
+ * `hooks_url`: required, string, format: uri
2691
+ * `svn_url`: required, string, format: uri
2692
+ * `homepage`: required, string or null, format: uri
2693
+ * `language`: required, string or null
2694
+ * `forks_count`: required, integer
2695
+ * `stargazers_count`: required, integer
2696
+ * `watchers_count`: required, integer
2697
+ * `size`: required, integer
2698
+ * `default_branch`: required, string
2699
+ * `open_issues_count`: required, integer
2700
+ * `is_template`: boolean, default: `false`
2701
+ * `topics`: array of string
2702
+ * `has_issues`: required, boolean, default: `true`
2703
+ * `has_projects`: required, boolean, default: `true`
2704
+ * `has_wiki`: required, boolean, default: `true`
2705
+ * `has_pages`: required, boolean
2706
+ * `has_discussions`: boolean, default: `false`
2707
+ * `has_pull_requests`: boolean, default: `true`
2708
+ * `pull_request_creation_policy`: string, enum: `all`, `collaborators_only`
2709
+ * `archived`: required, boolean, default: `false`
2710
+ * `disabled`: required, boolean
2711
+ * `visibility`: string, default: `"public"`
2712
+ * `pushed_at`: required, string or null, format: date-time
2713
+ * `created_at`: required, string or null, format: date-time
2714
+ * `updated_at`: required, string or null, format: date-time
2715
+ * `allow_rebase_merge`: boolean, default: `true`
2716
+ * `temp_clone_token`: string
2717
+ * `allow_squash_merge`: boolean, default: `true`
2718
+ * `allow_auto_merge`: boolean, default: `false`
2719
+ * `delete_branch_on_merge`: boolean, default: `false`
2720
+ * `allow_update_branch`: boolean, default: `false`
2721
+ * `squash_merge_commit_title`: string, enum: `PR_TITLE`, `COMMIT_OR_PR_TITLE`
2722
+ * `squash_merge_commit_message`: string, enum: `PR_BODY`, `COMMIT_MESSAGES`, `BLANK`
2723
+ * `merge_commit_title`: string, enum: `PR_TITLE`, `MERGE_MESSAGE`
2724
+ * `merge_commit_message`: string, enum: `PR_BODY`, `PR_TITLE`, `BLANK`
2725
+ * `allow_merge_commit`: boolean, default: `true`
2726
+ * `allow_forking`: boolean
2727
+ * `web_commit_signoff_required`: boolean, default: `false`
2728
+ * `open_issues`: required, integer
2729
+ * `watchers`: required, integer
2730
+ * `starred_at`: string
2731
+ * `anonymous_access_enabled`: boolean
2732
+ * `code_search_index_status`: object:
2733
+ * `lexical_search_ok`: boolean
2734
+ * `lexical_commit_sha`: string
2735
+
2736
+ ## Create a repository for the authenticated user
2737
+
2738
+ ```
2739
+ POST /user/repos
2740
+ ```
2741
+
2742
+ Creates a new repository for the authenticated user.
2743
+ OAuth app tokens and personal access tokens (classic) need the public_repo or repo scope to create a public repository, and repo scope to create a private repository.
2744
+
2745
+ ### Parameters
2746
+
2747
+ #### Headers
2748
+
2749
+ - **`accept`** (string)
2750
+ Setting to `application/vnd.github+json` is recommended.
2751
+
2752
+ #### Body parameters
2753
+
2754
+ - **`name`** (string) (required)
2755
+ The name of the repository.
2756
+
2757
+ - **`description`** (string)
2758
+ A short description of the repository.
2759
+
2760
+ - **`homepage`** (string)
2761
+ A URL with more information about the repository.
2762
+
2763
+ - **`private`** (boolean)
2764
+ Whether the repository is private.
2765
+ Default: `false`
2766
+
2767
+ - **`has_issues`** (boolean)
2768
+ Whether issues are enabled.
2769
+ Default: `true`
2770
+
2771
+ - **`has_projects`** (boolean)
2772
+ Whether projects are enabled.
2773
+ Default: `true`
2774
+
2775
+ - **`has_wiki`** (boolean)
2776
+ Whether the wiki is enabled.
2777
+ Default: `true`
2778
+
2779
+ - **`has_discussions`** (boolean)
2780
+ Whether discussions are enabled.
2781
+ Default: `false`
2782
+
2783
+ - **`team_id`** (integer)
2784
+ The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.
2785
+
2786
+ - **`auto_init`** (boolean)
2787
+ Whether the repository is initialized with a minimal README.
2788
+ Default: `false`
2789
+
2790
+ - **`gitignore_template`** (string)
2791
+ The desired language or platform to apply to the .gitignore.
2792
+
2793
+ - **`license_template`** (string)
2794
+ The license keyword of the open source license for this repository.
2795
+
2796
+ - **`allow_squash_merge`** (boolean)
2797
+ Whether to allow squash merges for pull requests.
2798
+ Default: `true`
2799
+
2800
+ - **`allow_merge_commit`** (boolean)
2801
+ Whether to allow merge commits for pull requests.
2802
+ Default: `true`
2803
+
2804
+ - **`allow_rebase_merge`** (boolean)
2805
+ Whether to allow rebase merges for pull requests.
2806
+ Default: `true`
2807
+
2808
+ - **`allow_auto_merge`** (boolean)
2809
+ Whether to allow Auto-merge to be used on pull requests.
2810
+ Default: `false`
2811
+
2812
+ - **`delete_branch_on_merge`** (boolean)
2813
+ Whether to delete head branches when pull requests are merged
2814
+ Default: `false`
2815
+
2816
+ - **`squash_merge_commit_title`** (string)
2817
+ Required when using squash_merge_commit_message.
2818
+ The default value for a squash merge commit title:
2819
+
2820
+ PR_TITLE - default to the pull request's title.
2821
+ COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).
2822
+ Can be one of: `PR_TITLE`, `COMMIT_OR_PR_TITLE`
2823
+
2824
+ - **`squash_merge_commit_message`** (string)
2825
+ The default value for a squash merge commit message:
2826
+
2827
+ PR_BODY - default to the pull request's body.
2828
+ COMMIT_MESSAGES - default to the branch's commit messages.
2829
+ BLANK - default to a blank commit message.
2830
+ Can be one of: `PR_BODY`, `COMMIT_MESSAGES`, `BLANK`
2831
+
2832
+ - **`merge_commit_title`** (string)
2833
+ Required when using merge_commit_message.
2834
+ The default value for a merge commit title.
2835
+
2836
+ PR_TITLE - default to the pull request's title.
2837
+ MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).
2838
+ Can be one of: `PR_TITLE`, `MERGE_MESSAGE`
2839
+
2840
+ - **`merge_commit_message`** (string)
2841
+ The default value for a merge commit message.
2842
+
2843
+ PR_TITLE - default to the pull request's title.
2844
+ PR_BODY - default to the pull request's body.
2845
+ BLANK - default to a blank commit message.
2846
+ Can be one of: `PR_BODY`, `PR_TITLE`, `BLANK`
2847
+
2848
+ - **`has_downloads`** (boolean)
2849
+ Whether downloads are enabled.
2850
+ Default: `true`
2851
+
2852
+ - **`is_template`** (boolean)
2853
+ Whether this repository acts as a template that can be used to generate new repositories.
2854
+ Default: `false`
2855
+
2856
+ ### HTTP response status codes
2857
+
2858
+ - **201** - Created
2859
+
2860
+ - **304** - Not modified
2861
+
2862
+ - **400** - Bad Request
2863
+
2864
+ - **401** - Requires authentication
2865
+
2866
+ - **403** - Forbidden
2867
+
2868
+ - **404** - Resource not found
2869
+
2870
+ - **422** - Validation failed, or the endpoint has been spammed.
2871
+
2872
+ - **451** - Validation failed, or the endpoint has been spammed.
2873
+
2874
+ ### Code examples
2875
+
2876
+ #### Example
2877
+
2878
+ **Request:**
2879
+
2880
+ ```curl
2881
+ curl -L \
2882
+ -X POST \
2883
+ https://api.github.com/user/repos \
2884
+ -d '{
2885
+ "name": "Hello-World",
2886
+ "description": "This is your first repo!",
2887
+ "homepage": "https://github.com",
2888
+ "private": false,
2889
+ "is_template": true
2890
+ }'
2891
+ ```
2892
+
2893
+ **Response schema (Status: 201):**
2894
+
2895
+ Same response schema as [Create an organization repository](#create-an-organization-repository).
2896
+
2897
+ ## List repositories for a user
2898
+
2899
+ ```
2900
+ GET /users/{username}/repos
2901
+ ```
2902
+
2903
+ Lists public repositories for the specified user.
2904
+
2905
+ ### Parameters
2906
+
2907
+ #### Headers
2908
+
2909
+ - **`accept`** (string)
2910
+ Setting to `application/vnd.github+json` is recommended.
2911
+
2912
+ #### Path and query parameters
2913
+
2914
+ - **`username`** (string) (required)
2915
+ The handle for the GitHub user account.
2916
+
2917
+ - **`type`** (string)
2918
+ Limit results to repositories of the specified type.
2919
+ Default: `owner`
2920
+ Can be one of: `all`, `owner`, `member`
2921
+
2922
+ - **`sort`** (string)
2923
+ The property to sort the results by.
2924
+ Default: `full_name`
2925
+ Can be one of: `created`, `updated`, `pushed`, `full_name`
2926
+
2927
+ - **`direction`** (string)
2928
+ The order to sort by. Default: asc when using full_name, otherwise desc.
2929
+ Can be one of: `asc`, `desc`
2930
+
2931
+ - **`per_page`** (integer)
2932
+ The number of results per page (max 100). For more information, see "Using pagination in the REST API."
2933
+ Default: `30`
2934
+
2935
+ - **`page`** (integer)
2936
+ The page number of the results to fetch. For more information, see "Using pagination in the REST API."
2937
+ Default: `1`
2938
+
2939
+ ### HTTP response status codes
2940
+
2941
+ - **200** - OK
2942
+
2943
+ ### Code examples
2944
+
2945
+ #### Example
2946
+
2947
+ **Request:**
2948
+
2949
+ ```curl
2950
+ curl -L \
2951
+ -X GET \
2952
+ https://api.github.com/users/USERNAME/repos
2953
+ ```
2954
+
2955
+ **Response schema (Status: 200):**
2956
+
2957
+ Same response schema as [List organization repositories](#list-organization-repositories).