Transcription
Patch segments
Transcription
Patch segments
Patch existing project transcription segments.
PATCH
/
v2
/
projects
/
{project_id}
/
transcription
/
segments
curl --request PATCH \
--url https://api.rask.ai/v2/projects/{project_id}/transcription/segments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"segments": [
{
"id": "<string>",
"src": {
"text": "<string>",
"lang": "<string>"
},
"dst": {
"text": "<string>",
"lang": "<string>"
},
"speaker": "<string>",
"start": "<string>",
"end": "<string>"
}
]
}'
{
"segments": [
{
"src": {
"text": "<string>",
"lang": "<string>"
},
"dst": {
"text": "<string>",
"lang": "<string>"
},
"speaker": "<string>",
"start": "<string>",
"end": "<string>",
"id": "<string>",
"status": "processing"
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Project ID
Body
application/json
Response
200
application/json
Patched transcription segments
The response is of type object
.
curl --request PATCH \
--url https://api.rask.ai/v2/projects/{project_id}/transcription/segments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"segments": [
{
"id": "<string>",
"src": {
"text": "<string>",
"lang": "<string>"
},
"dst": {
"text": "<string>",
"lang": "<string>"
},
"speaker": "<string>",
"start": "<string>",
"end": "<string>"
}
]
}'
{
"segments": [
{
"src": {
"text": "<string>",
"lang": "<string>"
},
"dst": {
"text": "<string>",
"lang": "<string>"
},
"speaker": "<string>",
"start": "<string>",
"end": "<string>",
"id": "<string>",
"status": "processing"
}
]
}