Patch existing project 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"
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Project ID
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"
}
]
}
Patch existing project 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"
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Project ID
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"
}
]
}