-
Notifications
You must be signed in to change notification settings - Fork 4
docs: add SSE streaming endpoints section to API Explorer documentation #2905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
docs: add SSE streaming endpoints section to API Explorer documentation #2905
Conversation
Co-Authored-By: Fern Support <[email protected]>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
Assignee Required This PR was opened by Devin AI but the requester's email ([email protected]) is not in the username mapping. Please add an assignee manually. |
Co-Authored-By: Fern Support <[email protected]>
Co-Authored-By: Fern Support <[email protected]>
| text: string | ||
| ``` | ||
|
|
||
| ## API Exploere |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 [vale] reported by reviewdog 🐶
[FernStyles.Headings] 'API Exploere' should use sentence-style capitalization.
Summary
Adds documentation for SSE (Server-Sent Events) streaming support in the API Explorer. This documents an existing feature that allows users to test streaming endpoints directly from the documentation, with real-time response display as data arrives.
The new section in the API Explorer page:
x-fern-streaming) and Fern Definition (response-stream)Additionally, cross-links were added from the API definition SSE pages back to the API Explorer:
fern/products/api-def/openapi-pages/endpoints/sse.mdx)fern/products/api-def/ferndef-pages/endpoints/sse.mdx)Review & Testing Checklist for Human
/learn/api-definitions/openapi/extensions/server-sent-eventsand/learn/api-definitions/fern-definition/endpoints/server-sent-events/learn/docs/api-references/api-explorer#streaming-endpoints(verify anchor link works)Recommended test plan: Navigate to the API Explorer page in the preview deployment, verify the new "Streaming endpoints" section appears with the screenshot and links. Then navigate to both SSE documentation pages (OpenAPI and Fern Definition) and verify the new "Testing streaming endpoints" section appears with working links back to the API Explorer.
Notes
The screenshot was captured from the Hume example at https://dev.hume.ai/reference/text-to-speech-tts/synthesize-json-streaming which shows the STREAM badge in the sidebar navigation.
Link to Devin run: https://app.devin.ai/sessions/9a58d22e3a524bc99e56bdb848c7e964
Requested by: Fern Support ([email protected])