Forum Discussion

Stoplight's avatar
Stoplight
Community Manager
2 months ago
Solved

Where can I find the Stoplight API V1 documentation?

Originally posted by user Jakuarella to the Stoplight Community on 11/15/2022 at 10:26 ET.

I am able to get the toc.json file using the Stoplight API using the following endpoint: https://stoplight.io/api/v1/projects/xxxxxxxxxxxxx/table-of-contents. I want to get the same file but from a branch. Is this possible? Is there any API documentation around this?

  • Skinghar (Staff) [11/15/2022 - 11:52 ET]

    The /api/v1/* endpoints are for internal use only. But! We are currently working on an API endpoint for exporting Stoplight artifacts. ETA for this API access is the first half of next year.

4 Replies

  • Stoplight's avatar
    Stoplight
    Community Manager

    Skinghar (Staff) [11/15/2022 - 11:52 ET]

    The /api/v1/* endpoints are for internal use only. But! We are currently working on an API endpoint for exporting Stoplight artifacts. ETA for this API access is the first half of next year.

    • Stoplight's avatar
      Stoplight
      Community Manager

      Jakuarella (OP) [11/15/2022 - 11:59 ET]

      I understand. However, is there a way to currently get the toc from a branch?

      • Stoplight's avatar
        Stoplight
        Community Manager

        Skinghar (Staff) [11/15/2022 - 16:37 ET]

        Programmatically, no. Manually, yes, via copy+paste from Studio or the Download Project Zip item in the studio hamburger menu.