Content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
List of content
application/json
401
Unauthorized – missing or invalid access token
application/json
get
/contents/GET /api/v1/contents/ HTTP/1.1
Host: api.therappai.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"title": "text",
"description": "text",
"duration_seconds": 1,
"tags": [
"text"
]
}
]Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired
Responses
200
Content details
application/json
401
Unauthorized – missing or invalid access token
application/json
get
/contents/{id}/GET /api/v1/contents/{id}/ HTTP/1.1
Host: api.therappai.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 1,
"title": "text",
"description": "text",
"duration_seconds": 1,
"tags": [
"text"
]
}Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired
Responses
200
Marked as favourite
No content
401
Unauthorized – missing or invalid access token
application/json
post
/contents/{id}/favorite/POST /api/v1/contents/{id}/favorite/ HTTP/1.1
Host: api.therappai.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired
Responses
200
Download started
No content
401
Unauthorized – missing or invalid access token
application/json
post
/contents/{id}/download/POST /api/v1/contents/{id}/download/ HTTP/1.1
Host: api.therappai.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired
Responses
202
Transcript generation started
401
Unauthorized – missing or invalid access token
application/json
post
/contents/{id}/transcript/generate/POST /api/v1/contents/{id}/transcript/generate/ HTTP/1.1
Host: api.therappai.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired
Responses
200
Transcript
application/json
401
Unauthorized – missing or invalid access token
application/json
get
/contents/{id}/transcript/GET /api/v1/contents/{id}/transcript/ HTTP/1.1
Host: api.therappai.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"transcript": "text"
}Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired
Body
last_positionintegerOptional
Seconds
is_completedbooleanOptional
Responses
200
Progress updated
No content
401
Unauthorized – missing or invalid access token
application/json
patch
/contents/{id}/update_progress/PATCH /api/v1/contents/{id}/update_progress/ HTTP/1.1
Host: api.therappai.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"last_position": 1,
"is_completed": true
}No content
Last updated

