Skip to main content

Auvious RTC API v1.9.5-beta.unchecked.27

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

Ratings

Create a new rating

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

Request body

{
"userEndpointId": "string",
"sessionType": "UNKNOWN",
"sessionId": "string",
"rating": 0,
"comment": "string",
"interactionId": "string"
}

Parameters

ParameterInTypeRequiredDescription
bodybodyCreateRatingWebCommandtruenone

Responses

Overview
StatusMeaningDescriptionSchema
200OKOKCreatingRatingWebResponse
400Bad RequestBad RequestInline
Response Schema

Status Code 400

NameTypeRequiredRestrictionsDescription
» additionalPropertiesstringfalsenonenone
Examples

200 Response

{
"id": "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/ratings \
-H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer {access-token}'

Find ratings by interaction id

GET https://auvious.video/rtc-api/ratings/interactions/{interactionId} HTTP/1.1
Host: auvious.video
Accept: application/json

Parameters

ParameterInTypeRequiredDescription
interactionIdpathstringtruenone

Responses

Overview
StatusMeaningDescriptionSchema
200OKOKInline
400Bad RequestBad RequestInline
Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
anonymous[Rating]falsenonenone
» idstringfalsenonerating id
» userIdstringfalsenonethe user who created this rating
» userEndpointIdstringfalsenonethe user endpoint from which the user created this rating
» organizationIdstringfalsenonerelated organization id
» interactionIdstringfalsenonerelated interaction id
» sessionTypestringfalsenonekind of session, CALL or CONFERENCE
» sessionIdstringfalsenonethe call or conference id related with this rating
» scoreinteger(int32)falsenonethe rating the user gave, scale is 1-5, 1 meaning bad and 5 perfect
» commentstringfalsenoneany comment the user gave
» createdAtstring(date-time)falsenonenone
Enumerated Values
PropertyValue
sessionTypeUNKNOWN
sessionTypeCALL
sessionTypeCONFERENCE

Status Code 400

NameTypeRequiredRestrictionsDescription
» additionalPropertiesstringfalsenonenone
Examples

200 Response

[
{
"id": "string",
"userId": "string",
"userEndpointId": "string",
"organizationId": "string",
"interactionId": "string",
"sessionType": "UNKNOWN",
"sessionId": "string",
"score": 0,
"comment": "string",
"createdAt": "2019-08-24T14:15:22Z"
}
]

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 GET https://auvious.video/rtc-api/ratings/interactions/{interactionId} \
-H 'Accept: application/json' \ -H 'Authorization: Bearer {access-token}'

Find ratings by conference id

GET https://auvious.video/rtc-api/ratings/conferences/{conferenceId} HTTP/1.1
Host: auvious.video
Accept: application/json

Parameters

ParameterInTypeRequiredDescription
conferenceIdpathstringtruenone

Responses

Overview
StatusMeaningDescriptionSchema
200OKOKInline
400Bad RequestBad RequestInline
Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
anonymous[Rating]falsenonenone
» idstringfalsenonerating id
» userIdstringfalsenonethe user who created this rating
» userEndpointIdstringfalsenonethe user endpoint from which the user created this rating
» organizationIdstringfalsenonerelated organization id
» interactionIdstringfalsenonerelated interaction id
» sessionTypestringfalsenonekind of session, CALL or CONFERENCE
» sessionIdstringfalsenonethe call or conference id related with this rating
» scoreinteger(int32)falsenonethe rating the user gave, scale is 1-5, 1 meaning bad and 5 perfect
» commentstringfalsenoneany comment the user gave
» createdAtstring(date-time)falsenonenone
Enumerated Values
PropertyValue
sessionTypeUNKNOWN
sessionTypeCALL
sessionTypeCONFERENCE

Status Code 400

NameTypeRequiredRestrictionsDescription
» additionalPropertiesstringfalsenonenone
Examples

200 Response

[
{
"id": "string",
"userId": "string",
"userEndpointId": "string",
"organizationId": "string",
"interactionId": "string",
"sessionType": "UNKNOWN",
"sessionId": "string",
"score": 0,
"comment": "string",
"createdAt": "2019-08-24T14:15:22Z"
}
]

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 GET https://auvious.video/rtc-api/ratings/conferences/{conferenceId} \
-H 'Accept: application/json' \ -H 'Authorization: Bearer {access-token}'

Schemas

CreateRatingWebCommand

{
"userEndpointId": "string",
"sessionType": "UNKNOWN",
"sessionId": "string",
"rating": 0,
"comment": "string",
"interactionId": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
userEndpointIdstringfalsenoneuser endpoint id, optional
sessionTypestringtruenonetype of session, CALL or CONFERENCE
sessionIdstringtruenonethe call or conference id related with this rating
ratinginteger(int32)truenonethe rating the user gave, scale is 1-5, 1 meaning bad and 5 perfect
commentstringfalsenoneany comment the user gave
interactionIdstringfalsenonerelated interaction id
Enumerated Values
PropertyValue
sessionTypeUNKNOWN
sessionTypeCALL
sessionTypeCONFERENCE

CreatingRatingWebResponse

{
"id": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
idstringfalsenonenone

Rating

{
"id": "string",
"userId": "string",
"userEndpointId": "string",
"organizationId": "string",
"interactionId": "string",
"sessionType": "UNKNOWN",
"sessionId": "string",
"score": 0,
"comment": "string",
"createdAt": "2019-08-24T14:15:22Z"
}

Properties

NameTypeRequiredRestrictionsDescription
idstringfalsenonerating id
userIdstringfalsenonethe user who created this rating
userEndpointIdstringfalsenonethe user endpoint from which the user created this rating
organizationIdstringfalsenonerelated organization id
interactionIdstringfalsenonerelated interaction id
sessionTypestringfalsenonekind of session, CALL or CONFERENCE
sessionIdstringfalsenonethe call or conference id related with this rating
scoreinteger(int32)falsenonethe rating the user gave, scale is 1-5, 1 meaning bad and 5 perfect
commentstringfalsenoneany comment the user gave
createdAtstring(date-time)falsenonenone
Enumerated Values
PropertyValue
sessionTypeUNKNOWN
sessionTypeCALL
sessionTypeCONFERENCE