Skip to content

Commit

Permalink
update spec
Browse files Browse the repository at this point in the history
  • Loading branch information
chdeskur committed Jul 27, 2024
1 parent 6ef5fa7 commit 6d6ae6f
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 390 deletions.
7 changes: 3 additions & 4 deletions fern/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,15 @@ navigation:
- page: Stream Speech (WebSocket)
path: api-reference/endpoints/stream-speech-websocket.mdx
icon: plug
- POST /tts/bytes
- POST /tts/clip
- POST /tts/sse
- section: REST
contents:
- GET /voices
- POST /voices
- GET /voices/{id}
- DELETE /voices/{id}
- GET /voices/{id}/embedding
- POST /voices/clone/clip
- section: Webhooks
contents:
- GET /
- POST /voices/clone/url
- tab: changelog
35 changes: 12 additions & 23 deletions fern/openapi/openapi-overrides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,28 @@ servers:
- url: "https://api.cartesia.ai"
x-fern-server-name: Production
paths:
/tts/bytes:
post:
x-fern-streaming: true
x-fern-sdk-method-name: streamSpeechBytes
/tts/sse:
post:
x-fern-streaming: true
x-fern-sdk-method-name: streamSpeechServerSentEvents
/voices:
get:
x-fern-sdk-method-name: listVoices
post:
x-fern-sdk-method-name: createVoice
/voices/{id}:
get:
x-fern-sdk-method-name: getVoice
delete:
x-fern-sdk-method-name: deleteVoice
/voices/clone/clip:
post:
x-fern-sdk-method-name: clone_voice_from_clip
# /tts/clip:
# post:
# x-fern-streaming: true
# /tts/sse:
# post:
# x-fern-streaming: true
/:
get:
x-fern-ignore: true
"/":
"":
get:
operationId: apiStatusAndVersion
servers:
- url: "wss://api.cartesia.ai"
x-name: WebSocket
x-fern-sdk-method-name: apiStatusAndVersion
# x-fern-webhook: true
security: []
summary: API Status and Version
description: Returns the server's version and a status message which can be useful for sanity checking.
requestBody:
content:
application/json: {}
responses:
"200":
description: Everything OK.
Expand Down
Loading

0 comments on commit 6d6ae6f

Please sign in to comment.