All URIs are relative to https://api.daily.co/v1
Method | HTTP request | Description |
---|---|---|
delete_transcript | DELETE /transcript/{transcriptId} | transcript/:id |
get_transcript_info | GET /transcript/{transcriptId} | transcript/:transcriptId |
get_transcript_link | GET /transcript/{transcriptId}/access-link | transcript/:id/access-link |
list_transcript | GET /transcript | /transcript |
delete_transcript(transcript_id)
transcript/:id
Delete a transcript
require 'time'
require 'daily-ruby'
# setup authorization
Daily.configure do |config|
# Configure API key authorization: sec0
config.api_key['sec0'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['sec0'] = 'Bearer'
end
api_instance = Daily::TranscriptApi.new
transcript_id = 'transcript_id_example' # String |
begin
# transcript/:id
result = api_instance.delete_transcript(transcript_id)
p result
rescue Daily::ApiError => e
puts "Error when calling TranscriptApi->delete_transcript: #{e}"
end
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> delete_transcript_with_http_info(transcript_id)
begin
# transcript/:id
data, status_code, headers = api_instance.delete_transcript_with_http_info(transcript_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <DeleteTranscript200Response>
rescue Daily::ApiError => e
puts "Error when calling TranscriptApi->delete_transcript_with_http_info: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
transcript_id | String |
- Content-Type: Not defined
- Accept: application/json
get_transcript_info(transcript_id)
transcript/:transcriptId
Get info about a Transcript
require 'time'
require 'daily-ruby'
# setup authorization
Daily.configure do |config|
# Configure API key authorization: sec0
config.api_key['sec0'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['sec0'] = 'Bearer'
end
api_instance = Daily::TranscriptApi.new
transcript_id = 'transcript_id_example' # String |
begin
# transcript/:transcriptId
result = api_instance.get_transcript_info(transcript_id)
p result
rescue Daily::ApiError => e
puts "Error when calling TranscriptApi->get_transcript_info: #{e}"
end
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> get_transcript_info_with_http_info(transcript_id)
begin
# transcript/:transcriptId
data, status_code, headers = api_instance.get_transcript_info_with_http_info(transcript_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <GetTranscriptInfo200Response>
rescue Daily::ApiError => e
puts "Error when calling TranscriptApi->get_transcript_info_with_http_info: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
transcript_id | String |
- Content-Type: Not defined
- Accept: application/json
get_transcript_link(transcript_id)
transcript/:id/access-link
Generate an access link for a transcript
require 'time'
require 'daily-ruby'
# setup authorization
Daily.configure do |config|
# Configure API key authorization: sec0
config.api_key['sec0'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['sec0'] = 'Bearer'
end
api_instance = Daily::TranscriptApi.new
transcript_id = 'transcript_id_example' # String |
begin
# transcript/:id/access-link
result = api_instance.get_transcript_link(transcript_id)
p result
rescue Daily::ApiError => e
puts "Error when calling TranscriptApi->get_transcript_link: #{e}"
end
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> get_transcript_link_with_http_info(transcript_id)
begin
# transcript/:id/access-link
data, status_code, headers = api_instance.get_transcript_link_with_http_info(transcript_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <GetTranscriptLink200Response>
rescue Daily::ApiError => e
puts "Error when calling TranscriptApi->get_transcript_link_with_http_info: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
transcript_id | String |
- Content-Type: Not defined
- Accept: application/json
list_transcript(opts)
/transcript
List transcripts
require 'time'
require 'daily-ruby'
# setup authorization
Daily.configure do |config|
# Configure API key authorization: sec0
config.api_key['sec0'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['sec0'] = 'Bearer'
end
api_instance = Daily::TranscriptApi.new
opts = {
limit: 56, # Integer |
ending_before: 'ending_before_example', # String |
starting_after: 'starting_after_example', # String |
room_id: 'room_id_example', # String |
mtg_session_id: 'mtg_session_id_example' # String |
}
begin
# /transcript
result = api_instance.list_transcript(opts)
p result
rescue Daily::ApiError => e
puts "Error when calling TranscriptApi->list_transcript: #{e}"
end
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> list_transcript_with_http_info(opts)
begin
# /transcript
data, status_code, headers = api_instance.list_transcript_with_http_info(opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <ListTranscript200Response>
rescue Daily::ApiError => e
puts "Error when calling TranscriptApi->list_transcript_with_http_info: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
limit | Integer | [optional] | |
ending_before | String | [optional] | |
starting_after | String | [optional] | |
room_id | String | [optional] | |
mtg_session_id | String | [optional] |
- Content-Type: Not defined
- Accept: application/json