Skip to main content

Auvious RTC API v1.9.31

Auvious RTC API is the core set of services providing the realtime communication capabilities of the Auvious Platform.

info

You are viewing REST API documentation. This documentation is auto-generated from a swagger specification which itself is generated from annotations in the source code of the project. It is possible that this documentation includes bugs and that code samples are incomplete or wrong.

Authentication​

  • HTTP Authentication, scheme: bearer
  • OAuth 2.0 Authorization.
    • Flow: clientCredentials

    • OAuth 2.0 Token URL = /security/oauth/token

    • OAuth 2.0 Scope

      ScopeScope Description

Snapshots​

Set the AI analysis of a snapshot​

PUT https://auvious.video/rtc-api/snapshots/{snapshotId}/analysis HTTP/1.1
Host: auvious.video
Content-Type: application/json
Accept: */*

Sets the AI analysis (e.g. a text description) of a snapshot. AGENT or SERVICE only; customers are refused. Agents are limited to their organization's snapshots. SERVICE callers must supply organizationId, which must match the snapshot's organization. The state is forward-only: PENDING -> COMPLETED | FAILED; a COMPLETED or FAILED analysis is never moved back to PENDING (409), while COMPLETED/FAILED -> COMPLETED/FAILED (a re-analysis) is allowed. The analysis is replaced as a whole. No event is published.

Request body​

{
"organizationId": "string",
"state": "PENDING",
"result": "string",
"taskId": "string",
"error": "string"
}

Parameters​

ParameterInTypeRequiredDescription
snapshotIdpathstringtruenone
bodybodySnapshotUpdateAnalysisWebCommandtruenone

Responses​

Overview​
StatusMeaningDescriptionSchema
204No ContentAnalysis updatedNone
400Bad RequestInvalid payload, or missing organizationId for a SERVICE callerInline
403ForbiddenCaller is neither AGENT nor SERVICENone
404Not FoundSnapshot not found in the caller's organizationNone
409ConflictTerminal analysis cannot move back to PENDING, or a concurrent update conflict persistedNone
Response Schema​

Status Code 400

NameTypeRequiredRestrictionsDescription
» additionalPropertiesstringfalsenonenone
Examples​

400 Response

caution

To perform this operation, you must be authenticated by means of one of the following methods: BearerToken, OAuth2ClientCredentials

Code samples​

curl -X PUT https://auvious.video/rtc-api/snapshots/{snapshotId}/analysis \
-H 'Content-Type: application/json' \ -H 'Accept: */*' \ -H 'Authorization: Bearer {access-token}'

Upload a snapshot​

POST https://auvious.video/rtc-api/snapshots/upload HTTP/1.1
Host: auvious.video
Content-Type: multipart/form-data
Accept: */*

Request body​

relatedSnapshotId: string
applicationId: string
targetUserId: string
targetUserEndpointId: string
interactionId: string
userEndpointId: string
snapshotType: string
snapshotSuffix: string
snapshotMimeType: string
image: string

Parameters​

ParameterInTypeRequiredDescription
bodybodyobjecttruenone
» relatedSnapshotIdbodystringfalsenone
» applicationIdbodystringtruenone
» targetUserIdbodystringtruenone
» targetUserEndpointIdbodystringtruenone
» interactionIdbodystringtruenone
» userEndpointIdbodystringtruenone
» snapshotTypebodystringtruenone
» snapshotSuffixbodystringtruenone
» snapshotMimeTypebodystringtruenone
» imagebodystring(binary)truenone

Responses​

Overview​
StatusMeaningDescriptionSchema
204No ContentNo ContentSnapshotUploadResult
400Bad RequestBad RequestInline
404Not FoundNot FoundNone
Response Schema​

Status Code 400

NameTypeRequiredRestrictionsDescription
» additionalPropertiesstringfalsenonenone
Examples​

204 Response

caution

To perform this operation, you must be authenticated by means of one of the following methods: BearerToken, OAuth2ClientCredentials

Code samples​

curl -X POST https://auvious.video/rtc-api/snapshots/upload \
-H 'Content-Type: multipart/form-data' \ -H 'Accept: */*' \ -H 'Authorization: Bearer {access-token}'

Create a signed url for a snapshot​

POST https://auvious.video/rtc-api/snapshots/signedUrl HTTP/1.1
Host: auvious.video
Content-Type: application/json
Accept: application/json
Referer: string

Request body​

{
"snapshotId": "string",
"createInternalSignedUrl": true
}

Parameters​

ParameterInTypeRequiredDescription
Refererheaderstringtruenone
bodybodyCreateSnapshotSignedURLWebCommandtruenone

Responses​

Overview​
StatusMeaningDescriptionSchema
200OKOKSignedUrl
400Bad RequestBad RequestInline
404Not FoundNot FoundNone
Response Schema​

Status Code 400

NameTypeRequiredRestrictionsDescription
» additionalPropertiesstringfalsenonenone
Examples​

200 Response

{
"url": "https://cdn.example.com/path/to/file?signature=abc123",
"validFor": "PT5M",
"validUntil": "2025-03-27T12:00:00Z"
}

400 Response

caution

To perform this operation, you must be authenticated by means of one of the following methods: BearerToken, OAuth2ClientCredentials

Code samples​

curl -X POST https://auvious.video/rtc-api/snapshots/signedUrl \
-H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Referer: string' \ -H 'Authorization: Bearer {access-token}'

Creates a new snapshot request​

POST https://auvious.video/rtc-api/snapshots/request HTTP/1.1
Host: auvious.video
Content-Type: application/json
Accept: application/json

Request body​

{
"applicationId": "string",
"userEndpointId": "string",
"targetUserId": "string",
"targetUserEndpointId": "string",
"sessionType": "UNKNOWN",
"sessionId": "string",
"interactionId": "string",
"snapshotType": "string"
}

Parameters​

ParameterInTypeRequiredDescription
bodybodySnapshotRequestWebCommandtruenone

Responses​

Overview​
StatusMeaningDescriptionSchema
200OKOKSnapshotRequestResult
400Bad RequestBad RequestInline
404Not FoundNot FoundNone
Response Schema​

Status Code 400

NameTypeRequiredRestrictionsDescription
» additionalPropertiesstringfalsenonenone
Examples​

200 Response

{
"snapshotId": "string"
}

400 Response

caution

To perform this operation, you must be authenticated by means of one of the following methods: BearerToken, OAuth2ClientCredentials

Code samples​

curl -X POST https://auvious.video/rtc-api/snapshots/request \
-H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer {access-token}'

Discard a snapshot​

POST https://auvious.video/rtc-api/snapshots/discard HTTP/1.1
Host: auvious.video
Content-Type: application/json
Accept: */*

An AGENT may discard the snapshots of its organization; a USER only its own snapshots (subject or requester) of its organization.

Request body​

{
"snapshotId": "string",
"userEndpointId": "string"
}

Parameters​

ParameterInTypeRequiredDescription
bodybodySnapshotDiscardWebCommandtruenone

Responses​

Overview​
StatusMeaningDescriptionSchema
204No ContentNo ContentNone
400Bad RequestBad RequestInline
404Not FoundSnapshot not foundNone
Response Schema​

Status Code 400

NameTypeRequiredRestrictionsDescription
» additionalPropertiesstringfalsenonenone
Examples​

400 Response

caution

To perform this operation, you must be authenticated by means of one of the following methods: BearerToken, OAuth2ClientCredentials

Code samples​

curl -X POST https://auvious.video/rtc-api/snapshots/discard \
-H 'Content-Type: application/json' \ -H 'Accept: */*' \ -H 'Authorization: Bearer {access-token}'

Creates a new camera request​

POST https://auvious.video/rtc-api/snapshots/cameraRequest HTTP/1.1
Host: auvious.video
Content-Type: application/json
Accept: application/json

Request body​

{
"userEndpointId": "string",
"targetUserId": "string",
"targetUserEndpointId": "string",
"sessionType": "UNKNOWN",
"sessionId": "string",
"cameraRequestType": "CAMERA_SWITCH"
}

Parameters​

ParameterInTypeRequiredDescription
bodybodySnapshotCameraRequestWebCommandtruenone

Responses​

Overview​
StatusMeaningDescriptionSchema
200OKOKstring
400Bad RequestBad RequestInline
404Not FoundNot FoundNone
Response Schema​

Status Code 400

NameTypeRequiredRestrictionsDescription
» additionalPropertiesstringfalsenonenone
Examples​

200 Response

"string"

400 Response

caution

To perform this operation, you must be authenticated by means of one of the following methods: BearerToken, OAuth2ClientCredentials

Code samples​

curl -X POST https://auvious.video/rtc-api/snapshots/cameraRequest \
-H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer {access-token}'

Responds to a camera request​

POST https://auvious.video/rtc-api/snapshots/cameraRequestRespond HTTP/1.1
Host: auvious.video
Content-Type: application/json
Accept: */*

Request body​

{
"snapshotCameraRequestId": "string",
"userEndpointId": "string",
"succeeded": true,
"additionalInformation": "string"
}

Parameters​

ParameterInTypeRequiredDescription
bodybodySnapshotCameraRequestRespondWebCommandtruenone

Responses​

Overview​
StatusMeaningDescriptionSchema
204No ContentNo ContentNone
400Bad RequestBad RequestInline
404Not FoundNot FoundNone
Response Schema​

Status Code 400

NameTypeRequiredRestrictionsDescription
» additionalPropertiesstringfalsenonenone
Examples​

400 Response

caution

To perform this operation, you must be authenticated by means of one of the following methods: BearerToken, OAuth2ClientCredentials

Code samples​

curl -X POST https://auvious.video/rtc-api/snapshots/cameraRequestRespond \
-H 'Content-Type: application/json' \ -H 'Accept: */*' \ -H 'Authorization: Bearer {access-token}'

Approve a snapshot​

POST https://auvious.video/rtc-api/snapshots/approve HTTP/1.1
Host: auvious.video
Content-Type: application/json
Accept: */*

An AGENT may approve the snapshots of its organization; a USER only its own snapshots (subject or requester) of its organization.

Request body​

{
"snapshotId": "string",
"userEndpointId": "string",
"snapshotType": "string"
}

Parameters​

ParameterInTypeRequiredDescription
bodybodySnapshotApproveWebCommandtruenone

Responses​

Overview​
StatusMeaningDescriptionSchema
204No ContentNo ContentNone
400Bad RequestBad RequestInline
404Not FoundSnapshot not foundNone
Response Schema​

Status Code 400

NameTypeRequiredRestrictionsDescription
» additionalPropertiesstringfalsenonenone
Examples​

400 Response

caution

To perform this operation, you must be authenticated by means of one of the following methods: BearerToken, OAuth2ClientCredentials

Code samples​

curl -X POST https://auvious.video/rtc-api/snapshots/approve \
-H 'Content-Type: application/json' \ -H 'Accept: */*' \ -H 'Authorization: Bearer {access-token}'

Acquire a snapshot​

POST https://auvious.video/rtc-api/snapshots/acquire HTTP/1.1
Host: auvious.video
Content-Type: multipart/form-data
Accept: */*

Request body​

snapshotId: string
userEndpointId: string
snapshotType: string
snapshotSuffix: string
snapshotMimeType: string
image: string

Parameters​

ParameterInTypeRequiredDescription
bodybodyobjecttruenone
» snapshotIdbodystringtruenone
» userEndpointIdbodystringtruenone
» snapshotTypebodystringtruenone
» snapshotSuffixbodystringtruenone
» snapshotMimeTypebodystringtruenone
» imagebodystring(binary)truenone

Responses​

Overview​
StatusMeaningDescriptionSchema
204No ContentNo ContentNone
400Bad RequestBad RequestInline
404Not FoundSnapshot not foundNone
Response Schema​

Status Code 400

NameTypeRequiredRestrictionsDescription
» additionalPropertiesstringfalsenonenone
Examples​

400 Response

caution

To perform this operation, you must be authenticated by means of one of the following methods: BearerToken, OAuth2ClientCredentials

Code samples​

curl -X POST https://auvious.video/rtc-api/snapshots/acquire \
-H 'Content-Type: multipart/form-data' \ -H 'Accept: */*' \ -H 'Authorization: Bearer {access-token}'

retrieve snapshots​

GET https://auvious.video/rtc-api/snapshots?interactionId=string HTTP/1.1
Host: auvious.video
Accept: */*

The analysis of each snapshot is returned only to AGENT or SERVICE callers; it is null for other callers (ROLE_USER may be an end customer).

Parameters​

ParameterInTypeRequiredDescription
interactionIdquerystringtruenone

Responses​

Overview​
StatusMeaningDescriptionSchema
200OKOKInline
400Bad RequestBad RequestInline
404Not FoundNot FoundNone
Response Schema​

Status Code 400

NameTypeRequiredRestrictionsDescription
» additionalPropertiesstringfalsenonenone
Examples​

200 Response

caution

To perform this operation, you must be authenticated by means of one of the following methods: BearerToken, OAuth2ClientCredentials

Code samples​

curl -X GET https://auvious.video/rtc-api/snapshots?interactionId=string \
-H 'Accept: */*' \ -H 'Authorization: Bearer {access-token}'

retrieve specific snapshot​

GET https://auvious.video/rtc-api/snapshots/{snapshotId} HTTP/1.1
Host: auvious.video
Accept: */*

Parameters​

ParameterInTypeRequiredDescription
snapshotIdpathstringtruenone

Responses​

Overview​
StatusMeaningDescriptionSchema
200OKOKSnapshot
400Bad RequestBad RequestInline
404Not FoundSnapshot not found in the caller's organizationNone
Response Schema​

Status Code 400

NameTypeRequiredRestrictionsDescription
» additionalPropertiesstringfalsenonenone
Examples​

200 Response

caution

To perform this operation, you must be authenticated by means of one of the following methods: BearerToken, OAuth2ClientCredentials

Code samples​

curl -X GET https://auvious.video/rtc-api/snapshots/{snapshotId} \
-H 'Accept: */*' \ -H 'Authorization: Bearer {access-token}'

get a builtin signed url​

GET https://auvious.video/rtc-api/snapshots/signed/{snapshotId}/{expiration}?signature=string HTTP/1.1
Host: auvious.video
Accept: */*

Parameters​

ParameterInTypeRequiredDescription
snapshotIdpathstringtruenone
expirationpathinteger(int64)truenone
signaturequerystringtruenone

Responses​

Overview​
StatusMeaningDescriptionSchema
200OKOKstring
400Bad RequestBad RequestInline
404Not FoundNot FoundNone
Response Schema​

Status Code 400

NameTypeRequiredRestrictionsDescription
» additionalPropertiesstringfalsenonenone
Examples​

200 Response

caution

To perform this operation, you must be authenticated by means of one of the following methods: BearerToken, OAuth2ClientCredentials

Code samples​

curl -X GET https://auvious.video/rtc-api/snapshots/signed/{snapshotId}/{expiration}?signature=string \
-H 'Accept: */*' \ -H 'Authorization: Bearer {access-token}'

Schemas​

SnapshotUpdateAnalysisWebCommand​

{
"organizationId": "string",
"state": "PENDING",
"result": "string",
"taskId": "string",
"error": "string"
}

Sets the AI analysis of a snapshot

Properties​

NameTypeRequiredRestrictionsDescription
organizationIdstringfalsenoneorganization id of the snapshot; required for SERVICE callers (ignored for agents, whose organization comes from the token)
statestringtruenoneanalysis state, one of PENDING
resultstring¦nullfalsenonethe analysis (recognition) text, at most 32 KiB in UTF-8
taskIdstring¦nullfalsenonethe ai task id
errorstring¦nullfalsenoneshort failure reason
Enumerated Values​
PropertyValue
statePENDING
stateCOMPLETED
stateFAILED

SnapshotUploadResult​

{
"snapshotId": "string"
}

Properties​

NameTypeRequiredRestrictionsDescription
snapshotIdstringfalsenonenone

CreateSnapshotSignedURLWebCommand​

{
"snapshotId": "string",
"createInternalSignedUrl": true
}

Properties​

NameTypeRequiredRestrictionsDescription
snapshotIdstringtruenonenone
createInternalSignedUrlbooleanfalsenonenone

SignedUrl​

{
"url": "https://cdn.example.com/path/to/file?signature=abc123",
"validFor": "PT5M",
"validUntil": "2025-03-27T12:00:00Z"
}

Properties​

NameTypeRequiredRestrictionsDescription
urlstring(uri)falsenonenone
validForstring(duration)falsenoneUse this ISO-8601 duration for countdowns to avoid clock drift
validUntilstring(date-time)falsenoneTimestamp when the signed link actually expires

SnapshotRequestWebCommand​

{
"applicationId": "string",
"userEndpointId": "string",
"targetUserId": "string",
"targetUserEndpointId": "string",
"sessionType": "UNKNOWN",
"sessionId": "string",
"interactionId": "string",
"snapshotType": "string"
}

Properties​

NameTypeRequiredRestrictionsDescription
applicationIdstringtruenonethe application to use
userEndpointIdstringtruenonethe requester's userEndpointId
targetUserIdstringtruenonethe request's target userId
targetUserEndpointIdstringtruenonethe request's target userEndpointId
sessionTypestringfalsenonesession type, one of CONFERENCE
sessionIdstringfalsenonesession id, e.g. conference id for conference
interactionIdstringfalsenoneinteraction id, e.g. if provided snapshot will be stored under interactions/{interaction-id} folder in storage
snapshotTypestringfalsenonethe snapshot's type
Enumerated Values​
PropertyValue
sessionTypeUNKNOWN
sessionTypeCALL
sessionTypeCONFERENCE

SnapshotRequestResult​

{
"snapshotId": "string"
}

Properties​

NameTypeRequiredRestrictionsDescription
snapshotIdstringfalsenonenone

SnapshotDiscardWebCommand​

{
"snapshotId": "string",
"userEndpointId": "string"
}

Properties​

NameTypeRequiredRestrictionsDescription
snapshotIdstringtruenonethe snapshot id
userEndpointIdstringtruenonethe discarder's userEndpointId

SnapshotCameraRequestWebCommand​

{
"userEndpointId": "string",
"targetUserId": "string",
"targetUserEndpointId": "string",
"sessionType": "UNKNOWN",
"sessionId": "string",
"cameraRequestType": "CAMERA_SWITCH"
}

Properties​

NameTypeRequiredRestrictionsDescription
userEndpointIdstringtruenonethe requester's userEndpointId
targetUserIdstringtruenonethe request's target userId
targetUserEndpointIdstringtruenonethe request's target userEndpointId
sessionTypestringfalsenonesession type, one of CONFERENCE
sessionIdstringfalsenonesession id, e.g. conference id for conference
cameraRequestTypestringtruenonethe request type, feel free to enter what suits you
Enumerated Values​
PropertyValue
sessionTypeUNKNOWN
sessionTypeCALL
sessionTypeCONFERENCE
cameraRequestTypeCAMERA_SWITCH
cameraRequestTypeFLASH_ON
cameraRequestTypeFLASH_OFF

SnapshotCameraRequestRespondWebCommand​

{
"snapshotCameraRequestId": "string",
"userEndpointId": "string",
"succeeded": true,
"additionalInformation": "string"
}

Properties​

NameTypeRequiredRestrictionsDescription
snapshotCameraRequestIdstringtruenonethe request id
userEndpointIdstringtruenonethe responder's userEndpointId
succeededbooleantruenoneindicates if the request succeeded
additionalInformationstringfalsenoneadditional information about the request success or failure

SnapshotApproveWebCommand​

{
"snapshotId": "string",
"userEndpointId": "string",
"snapshotType": "string"
}

Properties​

NameTypeRequiredRestrictionsDescription
snapshotIdstringtruenonethe snapshot id
userEndpointIdstringtruenonethe requester's userEndpointId
snapshotTypestringfalsenonethe snapshot type (override request snapshot type)

Snapshot​

{
"id": "string",
"relatedSnapshotId": "string",
"organizationId": "string",
"applicationId": "string",
"requesterUserId": "string",
"requesterUserEndpointId": "string",
"userId": "string",
"userEndpointId": "string",
"sessionType": "UNKNOWN",
"sessionId": "string",
"timestamp": "2019-08-24T14:15:22Z",
"interactionId": "string",
"type": "string",
"path": "string",
"state": "UPLOADED",
"requestProcessingResult": {
"snapshotId": "string"
},
"approvalProcessingResult": {
"succeeded": true,
"additionalInformation": "string"
},
"suffix": "string",
"mimeType": "string",
"analysis": {
"state": "PENDING",
"result": "string",
"taskId": "string",
"error": "string",
"updatedAt": "2019-08-24T14:15:22Z",
"updatedBy": "string"
},
"createdAt": "2019-08-24T14:15:22Z",
"version": 0,
"approved": true
}

Properties​

NameTypeRequiredRestrictionsDescription
idstringfalsenonenone
relatedSnapshotIdstringfalsenonenone
organizationIdstringfalsenonenone
applicationIdstringfalsenonenone
requesterUserIdstringfalsenonenone
requesterUserEndpointIdstringfalsenonenone
userIdstringfalsenonenone
userEndpointIdstringfalsenonenone
sessionTypestringfalsenonenone
sessionIdstringfalsenonenone
timestampstring(date-time)falsenonenone
interactionIdstringfalsenonenone
typestringfalsenonenone
pathstringfalsenonenone
statestringfalsenonenone
requestProcessingResultSnapshotRequestResultfalsenonenone
approvalProcessingResultSnapshotApprovalProcessingResultfalsenonenone
suffixstringfalsenonenone
mimeTypestringfalsenonenone
analysisSnapshotAnalysisfalsenoneAI analysis of the snapshot; absent if the snapshot was never analysed
createdAtstring(date-time)falsenonenone
versioninteger(int64)falsenonenone
approvedbooleanfalsenonenone
Enumerated Values​
PropertyValue
sessionTypeUNKNOWN
sessionTypeCALL
sessionTypeCONFERENCE
stateUPLOADED
stateAPPROVED
stateDISCARDED

SnapshotAnalysis​

{
"state": "PENDING",
"result": "string",
"taskId": "string",
"error": "string",
"updatedAt": "2019-08-24T14:15:22Z",
"updatedBy": "string"
}

AI analysis of the snapshot; absent if the snapshot was never analysed

Properties​

NameTypeRequiredRestrictionsDescription
statestringfalsenoneanalysis state, one of PENDING
resultstring¦nullfalsenonethe analysis (recognition) text, if any
taskIdstring¦nullfalsenonethe ai task id, if any
errorstring¦nullfalsenoneshort failure reason, if any
updatedAtstring(date-time)falsenonewhen the analysis was last updated
updatedBystringfalsenonethe user (agent, or service client) that last updated the analysis
Enumerated Values​
PropertyValue
statePENDING
stateCOMPLETED
stateFAILED

SnapshotApprovalProcessingResult​

{
"succeeded": true,
"additionalInformation": "string"
}

Properties​

NameTypeRequiredRestrictionsDescription
succeededbooleanfalsenonenone
additionalInformationstringfalsenonenone