# 获取我实例所有API端点的编程方式？

**URL:** <https://meta.discourse.org/t/programmatic-way-to-get-all-api-endpoints-for-my-instance/362648>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [2025年四月19日 23:59 UTC](https://meta.discourse.org/t/programmatic-way-to-get-all-api-endpoints-for-my-instance/362648 "2025-04-19T23:59:49Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [2025年四月24日 18:52 UTC](https://meta.discourse.org/t/programmatic-way-to-get-all-api-endpoints-for-my-instance/362648/14 "2025-04-24T18:52:16Z")

</div>

> [@RGJ](#):
>
> 缺少像 OpenAPI 这样的标准化、机器可读格式

API 文档是 OpenAPI 格式的吗？

 ![CleanShot 2025-04-24 at 12.47.43@2x](https://global.discourse-cdn.com/meta/original/4X/c/c/b/ccbeb74ed4df6a9693c46a582ad845a43566c62b.png)

[https://docs.discourse.org/openapi.json](https://docs.discourse.org/openapi.json)

```plaintext
{
  "openapi": "3.1.0",
  "info": {
    "title": "Discourse API Documentation",
    "x-logo": {
      "url": "https://docs.discourse.org/logo.svg"
    },
    "version": "latest",
...

```

---

_[View the full topic](https://meta.discourse.org/t/programmatic-way-to-get-all-api-endpoints-for-my-instance/362648)._
