Skip to content

Commit

Permalink
feat: add display name and operation id to FDR latest shape (#1956)
Browse files Browse the repository at this point in the history
  • Loading branch information
RohinBhargava authored Jan 7, 2025
1 parent e9144f4 commit 331678a
Show file tree
Hide file tree
Showing 49 changed files with 6,316 additions and 87 deletions.
2 changes: 2 additions & 0 deletions fern/apis/fdr/definition/api/latest/endpoint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ types:
id: rootCommons.EndpointId # or original endpoint id?
method: rootCommons.HttpMethod
path: list<commons.PathPart>
displayName: optional<string>
operationId: optional<string>

auth: optional<list<auth.AuthSchemeId>>
defaultEnvironment: optional<rootCommons.EnvironmentId>
Expand Down
2 changes: 2 additions & 0 deletions fern/apis/fdr/definition/api/latest/webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ types:
- commons.WithNamespace
properties:
id: rootCommons.WebhookId
displayName: optional<string>
operationId: optional<string>
method: WebhookHttpMethod
path: list<string>
headers: optional<list<type.ObjectProperty>>
Expand Down
2 changes: 2 additions & 0 deletions fern/apis/fdr/definition/api/latest/websocket.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ types:
- commons.WithNamespace
properties:
id: rootCommons.WebSocketId
displayName: optional<string>
operationId: optional<string>
path: list<commons.PathPart>
messages:
type: list<WebSocketMessage>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"namespace": [
"subpackage_profiles"
],
"displayName": "Get profiles",
"operationId": "get",
"description": "Get profiles matching by id",
"method": "GET",
"path": [
Expand Down Expand Up @@ -265,6 +267,8 @@
"namespace": [
"subpackage_profiles"
],
"displayName": "Delete profiles",
"operationId": "delete",
"description": "Delete profiles matching by id",
"method": "DELETE",
"path": [
Expand Down Expand Up @@ -479,6 +483,8 @@
"namespace": [
"subpackage_sessions"
],
"displayName": "Get a list of sessions",
"operationId": "list",
"description": "Get a list of sessions by ID",
"method": "GET",
"path": [
Expand Down Expand Up @@ -1145,6 +1151,8 @@
"namespace": [
"subpackage_sessions"
],
"displayName": "Create a session",
"operationId": "create",
"method": "POST",
"path": [
{
Expand Down Expand Up @@ -2040,6 +2048,8 @@
"namespace": [
"subpackage_sessions"
],
"displayName": "Get info for a session",
"operationId": "get-info",
"description": "Get a session by ID",
"method": "GET",
"path": [
Expand Down Expand Up @@ -2457,6 +2467,8 @@
"namespace": [
"subpackage_sessions"
],
"displayName": "Ends a session",
"operationId": "terminate",
"description": "Ends a session by ID. If a given session id does not exist within the organization, it is ignored.",
"method": "DELETE",
"path": [
Expand Down Expand Up @@ -2671,6 +2683,8 @@
"namespace": [
"subpackage_windows"
],
"displayName": "Creates a new browser window in a session",
"operationId": "create",
"method": "POST",
"path": [
{
Expand Down Expand Up @@ -3164,6 +3178,8 @@
"namespace": [
"subpackage_windows"
],
"displayName": "Get information about a browser window in a session",
"operationId": "get-window-info",
"method": "GET",
"path": [
{
Expand Down Expand Up @@ -3642,6 +3658,8 @@
"namespace": [
"subpackage_windows"
],
"displayName": "Loads a specified url on a given window",
"operationId": "load-url",
"method": "POST",
"path": [
{
Expand Down Expand Up @@ -4128,6 +4146,8 @@
"namespace": [
"subpackage_windows"
],
"displayName": "Close the specified window",
"operationId": "close",
"method": "DELETE",
"path": [
{
Expand Down Expand Up @@ -4437,6 +4457,8 @@
"namespace": [
"subpackage_windows"
],
"displayName": "Submit a prompt about the content in a specific browser window.",
"operationId": "prompt-content",
"method": "POST",
"path": [
{
Expand Down Expand Up @@ -5050,6 +5072,8 @@
"namespace": [
"subpackage_windows"
],
"displayName": "Scrape a window",
"operationId": "scrape-content",
"method": "POST",
"path": [
{
Expand Down Expand Up @@ -5555,6 +5579,8 @@
"namespace": [
"subpackage_windows"
],
"displayName": "Get a summary of content in a browser window",
"operationId": "summarize-content",
"availability": "Deprecated",
"method": "POST",
"path": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"namespace": [
"subpackage_files"
],
"displayName": "Upload a media file",
"operationId": "upload",
"description": "Upload a media file to AssemblyAI's servers.",
"method": "POST",
"path": [
Expand Down Expand Up @@ -379,6 +381,8 @@
"namespace": [
"subpackage_transcripts"
],
"displayName": "List transcripts",
"operationId": "list",
"description": "Retrieve a list of transcripts you created.\nTranscripts are sorted from newest to oldest. The previous URL always points to a page with older transcripts.",
"method": "GET",
"path": [
Expand Down Expand Up @@ -856,6 +860,8 @@
"namespace": [
"subpackage_transcripts"
],
"displayName": "Transcribe audio",
"operationId": "submit",
"description": "Create a transcript from a media file that is accessible via a URL.",
"method": "POST",
"path": [
Expand Down Expand Up @@ -1987,6 +1993,8 @@
"namespace": [
"subpackage_transcripts"
],
"displayName": "Get transcript",
"operationId": "get",
"description": "Get the transcript resource. The transcript is ready when the \"status\" is \"completed\".",
"method": "GET",
"path": [
Expand Down Expand Up @@ -3030,6 +3038,8 @@
"namespace": [
"subpackage_transcripts"
],
"displayName": "Delete transcript",
"operationId": "delete",
"description": "Delete the transcript.\nDeleting does not delete the resource itself, but removes the data from the resource and marks it as deleted.",
"method": "DELETE",
"path": [
Expand Down Expand Up @@ -4073,6 +4083,8 @@
"namespace": [
"subpackage_transcripts"
],
"displayName": "Get subtitles for transcript",
"operationId": "get-subtitles",
"description": "Export your transcript in SRT or VTT format to use with a video player for subtitles and closed captions.",
"method": "GET",
"path": [
Expand Down Expand Up @@ -4462,6 +4474,8 @@
"namespace": [
"subpackage_transcripts"
],
"displayName": "Get sentences in transcript",
"operationId": "get-sentences",
"description": "Get the transcript split by sentences. The API will attempt to semantically segment the transcript into sentences to create more reader-friendly transcripts.",
"method": "GET",
"path": [
Expand Down Expand Up @@ -4890,6 +4904,8 @@
"namespace": [
"subpackage_transcripts"
],
"displayName": "Get paragraphs in transcript",
"operationId": "get-paragraphs",
"description": "Get the transcript split by paragraphs. The API will attempt to semantically segment your transcript into paragraphs to create more reader-friendly transcripts.",
"method": "GET",
"path": [
Expand Down Expand Up @@ -5300,6 +5316,8 @@
"namespace": [
"subpackage_transcripts"
],
"displayName": "Search words in transcript",
"operationId": "word-search",
"description": "Search through the transcript for keywords. You can search for individual words, numbers, or phrases containing up to five words or numbers.",
"method": "GET",
"path": [
Expand Down Expand Up @@ -5698,6 +5716,8 @@
"namespace": [
"subpackage_transcripts"
],
"displayName": "Get redacted audio",
"operationId": "get-redacted-audio",
"description": "Retrieve the redacted audio object containing the status and URL to the redacted audio.",
"method": "GET",
"path": [
Expand Down Expand Up @@ -6045,6 +6065,8 @@
"namespace": [
"subpackage_lemur"
],
"displayName": "Run a task using LeMUR",
"operationId": "task",
"description": "Use the LeMUR task endpoint to input your own LLM prompt.",
"method": "POST",
"path": [
Expand Down Expand Up @@ -6433,6 +6455,8 @@
"namespace": [
"subpackage_lemur"
],
"displayName": "Summarize a transcript using LeMUR",
"operationId": "summary",
"description": "Custom Summary allows you to distill a piece of audio into a few impactful sentences.\nYou can give the model context to obtain more targeted results while outputting the results in a variety of formats described in human language.",
"method": "POST",
"path": [
Expand Down Expand Up @@ -6812,6 +6836,8 @@
"namespace": [
"subpackage_lemur"
],
"displayName": "Ask questions using LeMUR",
"operationId": "question-answer",
"description": "Question & Answer allows you to ask free-form questions about a single transcript or a group of transcripts.\nThe questions can be any whose answers you find useful, such as judging whether a caller is likely to become a customer or whether all items on a meeting's agenda were covered.",
"method": "POST",
"path": [
Expand Down Expand Up @@ -7257,6 +7283,8 @@
"namespace": [
"subpackage_lemur"
],
"displayName": "Extract action items",
"operationId": "action-items",
"description": "Use LeMUR to generate a list of action items from a transcript",
"method": "POST",
"path": [
Expand Down Expand Up @@ -7638,6 +7666,8 @@
"namespace": [
"subpackage_lemur"
],
"displayName": "Purge LeMUR request data",
"operationId": "purge-request-data",
"description": "Delete the data for a previously submitted LeMUR request.\nThe LLM response data, as well as any context provided in the original request will be removed.",
"method": "DELETE",
"path": [
Expand Down Expand Up @@ -7982,6 +8012,8 @@
"namespace": [
"subpackage_streaming"
],
"displayName": "Create temporary authentication token for Streaming STT",
"operationId": "create-temporary-token",
"description": "Create a temporary authentication token for Streaming Speech-to-Text",
"method": "POST",
"path": [
Expand Down Expand Up @@ -8363,6 +8395,8 @@
"namespace": [
"subpackage_streaming"
],
"displayName": "Streaming",
"operationId": "streaming",
"path": [
{
"type": "literal",
Expand Down
Loading

0 comments on commit 331678a

Please sign in to comment.