Skip to content

Commit

Permalink
Sync from internal repo (2024/04/01) (#78)
Browse files Browse the repository at this point in the history
* Project import generated by Copybara.

GitOrigin-RevId: 57ac1e3e1114b86585cc1f6d723a75062786a5e0

* Undo undesired changes

---------

Co-authored-by: AssemblyAI <[email protected]>
  • Loading branch information
Swimburger and AssemblyAI committed Apr 1, 2024
1 parent e25b9d9 commit 15a9bfc
Show file tree
Hide file tree
Showing 8 changed files with 183 additions and 71 deletions.
1 change: 1 addition & 0 deletions .spectral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ extends: ["spectral:oas", "spectral:asyncapi"]
overrides:
- files:
- "openapi.yml#/components/schemas/TranscriptParams/example"
- "openapi.yml#/components/schemas/TranscriptList/example"
- "asyncapi.yml#/components/schemas/PartialTranscript/examples"
- "asyncapi.yml#/components/schemas/FinalTranscript/examples"
rules:
Expand Down
20 changes: 10 additions & 10 deletions asyncapi.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
asyncapi: 2.6.0
defaultContentType: application/json
id: http://assemblyai.com/real-time
id: http://assemblyai.com/asyncapi

info:
title: AssemblyAI real-time API
description: AssemblyAI real-time API
title: AssemblyAI Streaming Speech-to-Text API
description: AssemblyAI Streaming Speech-to-Text API
license:
name: MIT License
version: 1.1.1
version: 1.1.2
contact:
name: API Support
email: [email protected]
Expand All @@ -23,10 +23,10 @@ servers:
- Token: []

tags:
- name: realtime
description: Real-time transcription
- name: streaming
description: Streaming Speech-to-Text
externalDocs:
url: https://www.assemblyai.com/docs/guides/real-time-streaming-transcription
url: https://www.assemblyai.com/docs/speech-to-text/streaming

channels:
/v2/realtime/ws:
Expand Down Expand Up @@ -57,7 +57,7 @@ channels:
description: The encoding of the audio data
$ref: "#/components/schemas/AudioEncoding"
token:
description: "Authenticate using a [generated temporary token](https://www.assemblyai.com/docs/guides/real-time-streaming-transcription#creating-temporary-authentication-tokens)"
description: "Authenticate using a [generated temporary token](https://www.assemblyai.com/docs/speech-to-text/streaming#authenticate-with-a-temporary-token)"
type: string
format: password
publish:
Expand Down Expand Up @@ -511,7 +511,7 @@ components:
- terminate_session
properties:
terminate_session:
description: Set to true to end your real-time session forever
description: Set to true to end your streaming session forever
type: boolean
additionalProperties: false
examples:
Expand Down Expand Up @@ -549,7 +549,7 @@ components:
in: header
name: Authorization
Token:
description: "Authenticate using a [generated temporary token](https://www.assemblyai.com/docs/guides/real-time-streaming-transcription#creating-temporary-authentication-tokens)"
description: "Authenticate using a [generated temporary token](https://www.assemblyai.com/docs/speech-to-text/streaming#authenticate-with-a-temporary-token)"
type: httpApiKey
in: query
name: token
2 changes: 1 addition & 1 deletion fern/asyncapi-overrides.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
channels:
/v2/realtime/ws:
x-fern-display-name: Streaming
x-fern-display-name: Streaming
32 changes: 16 additions & 16 deletions fern/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ instances:
title: AssemblyAI | Reference
navigation:
- api: API Reference
layout:
- files
layout:
- files
- transcripts:
- submit
- get
- getSentences
- getParagraphs
- getSubtitles
- getRedactedAudio
- wordSearch
- list
- delete
- submit
- get
- getSentences
- getParagraphs
- getSubtitles
- getRedactedAudio
- wordSearch
- list
- delete
- lemur:
- task
- summary
- questionAnswer
- actionItems
- purgeRequestData
- task
- summary
- questionAnswer
- actionItems
- purgeRequestData
- realtime
colors:
accent-primary: "#df9844"
Expand Down
2 changes: 1 addition & 1 deletion fern/fern.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"organization": "assemblyai",
"version": "0.19.23"
}
}
2 changes: 1 addition & 1 deletion fern/generators.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default-group: local
api:
api:
- path: ../asyncapi.yml
overrides: ./asyncapi-overrides.yml
- path: ../openapi.yml
Expand Down
8 changes: 4 additions & 4 deletions fern/openapi-overrides.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
x-fern-groups:
transcript:
x-fern-groups:
transcript:
summary: Transcript
lemur:
lemur:
summary: LeMUR
realtime:
realtime:
summary: Streaming
components:
schemas:
Expand Down
Loading

0 comments on commit 15a9bfc

Please sign in to comment.