API endpoint:
https://content.vsm.vn/api/v1/transcriptions
Request example:
curl --location --request GET 'https://content.vsm.vn/api/v1/transcriptions' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
name
for Name, result
for Result. Defaults to: name
.favorite
sort_by
id
for Date created, name
for Name. Defaults to: id
.sort
desc
for Descending, asc
for Ascending. Defaults to: desc
.per_page
10
, 25
, 50
, 100
. Defaults to: 10
.API endpoint:
https://content.vsm.vn/api/v1/transcriptions/{id}
Request example:
curl --location --request GET 'https://content.vsm.vn/api/v1/transcriptions/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://content.vsm.vn/api/v1/transcriptions
Request example:
curl --location --request POST 'https://content.vsm.vn/api/v1/transcriptions' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --form 'name={name}' \ --form 'file=@{file}'
name
file
description
language
API endpoint:
https://content.vsm.vn/api/v1/transcriptions/{id}
Request example:
curl --location --request PUT 'https://content.vsm.vn/api/v1/transcriptions/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
name
result
favorite
API endpoint:
https://content.vsm.vn/api/v1/transcriptions/{id}
Request example:
curl --location --request DELETE 'https://content.vsm.vn/api/v1/transcriptions/{id}' \ --header 'Authorization: Bearer {api_key}'