Title: Document `peps.json` and move it to the root · Issue #2584 · python/peps · GitHub
Open Graph Title: Document `peps.json` and move it to the root · Issue #2584 · python/peps
X Title: Document `peps.json` and move it to the root · Issue #2584 · python/peps
Description: We currently have https://peps.python.org/api/peps.json, an undocumented file. It seems that people have usecases for the file, even without official support (see #2567, #2583). I suggest moving the file to the root1 for consistency with...
Open Graph Description: We currently have https://peps.python.org/api/peps.json, an undocumented file. It seems that people have usecases for the file, even without official support (see #2567, #2583). I suggest moving th...
X Description: We currently have https://peps.python.org/api/peps.json, an undocumented file. It seems that people have usecases for the file, even without official support (see #2567, #2583). I suggest moving th...
Opengraph URL: https://github.com/python/peps/issues/2584
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Document `peps.json` and move it to the root","articleBody":"We currently have https://peps.python.org/api/peps.json, an undocumented file.\r\n\r\nIt seems that people have usecases for the file, even without official support (see #2567, #2583). I suggest moving the file to the root[^1] for consistency with `peps.rss` and easier discoverability, and simultaneously documenting the file, and the minimum guarantees we provide about it.\r\n\r\n[^1]: i.e. to https://peps.python.org/peps.json\r\n\r\nIn the issue that created it, Cam [noted](https://github.com/python/peps/pull/2475#pullrequestreview-922494118):\r\n\r\n\u003e Maybe put this under an `/api/peps` endpoint (at least once we're ready to more publicly expose it)? Then if there was need/desire in the future, we could have an `authors` endpoint, sub-endpoints `api/peps/N` to get a single PEP's metadata, etc.\r\n\r\nI think the `api/` is uneeded here -- to those use cases, we could instead generate `peps.python.org/pep-NNNN.json`, and `peps.python.org/authors.json`.\r\n\r\nI'd be interested in views.\r\n\r\nA","author":{"url":"https://github.com/AA-Turner","@type":"Person","name":"AA-Turner"},"datePublished":"2022-05-07T10:45:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/2584/peps/issues/2584"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6a7dca29-90d2-f2c3-15e4-4ff431da158d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E2C0:E253E:6362B4:84D8F7:6A617D4E |
| html-safe-nonce | 6ecddce2918b766edf55322a1cd75662038f6114d529e080565d4e79885dafcb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkMwOkUyNTNFOjYzNjJCNDo4NEQ4Rjc6NkE2MTdENEUiLCJ2aXNpdG9yX2lkIjoiNjE1NjIxNTM0MTQyMzg4NTY0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5bc3487d716b2eacab2787bc0d11d0ee920bb4a7052f9f8a36219930c3d4c1c2 |
| hovercard-subject-tag | issue:1228595892 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/peps/2584/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9011669cce7e850e34b38f83007edf4ff591a3cb95c2e30cf76f239bcfd487f0/python/peps/issues/2584 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9011669cce7e850e34b38f83007edf4ff591a3cb95c2e30cf76f239bcfd487f0/python/peps/issues/2584 |
| og:image:alt | We currently have https://peps.python.org/api/peps.json, an undocumented file. It seems that people have usecases for the file, even without official support (see #2567, #2583). I suggest moving th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AA-Turner |
| hostname | github.com |
| expected-hostname | github.com |
| None | c28c2f6607f2aacbd934868d997038895c9780d08babfe918550d73773326f4c |
| turbo-cache-control | no-preview |
| go-import | github.com/python/peps git https://github.com/python/peps.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 13414105 |
| octolytics-dimension-repository_nwo | python/peps |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13414105 |
| octolytics-dimension-repository_network_root_nwo | python/peps |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cd05235d52ffb3318513d883a56c87a121015c8b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width