Skip to main content

FileTransfer v1.0

Operations supporting file transfers between user (endpoints), using application (setup by the customer) storage as an intermediary station. Also files are stored there in order to be retrieved later e.g. when reviewing the interaction/session.

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

File Transfers

File Transfer Controller

Find file transfers

GET https://auvious.video:443/rtc-api/filetransfers HTTP/1.1
Host: auvious.video:443
Accept: application/json

Parameters

ParameterInTypeRequiredDescription
interactionIdquerystringfalsefind by interactionId, mutually exclusive with conferenceId
conferenceIdquerystringfalsefind by conferenceId, mutually exclusive with interactionId
allquerybooleanfalseif provided and true, all file transfers will be received, not just the ones sent or received by user calling which is the default behavior

Responses

Overview
StatusMeaningDescriptionSchema
200OKOKIterable«FileTransferInfo»
401UnauthorizedUnauthorizedNone
403ForbiddenForbiddenNone
404Not FoundNot FoundNone
Examples

200 Response

{}
caution

To perform this operation, you must be authenticated by means of one of the following methods: Client Credentials Flow ( Scopes: global ), Jwt ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global )

Code samples

curl -X GET https://auvious.video:443/rtc-api/filetransfers \
-H 'Accept: application/json' \ -H 'Authorization: Bearer {access-token}'

Transfer a file

POST https://auvious.video:443/rtc-api/filetransfers HTTP/1.1
Host: auvious.video:443
Content-Type: multipart/form-data
Accept: */*
X-Auvious-TransactionId: string

Request body

applicationId: string
conferenceId: string
file: string
interactionId: string
targetId: string
targetType: string
userEndpointId: string

Parameters

ParameterInTypeRequiredDescription
X-Auvious-TransactionIdheaderstringfalseused for detecting retries of the same request
bodybodyobjectfalsenone
» applicationIdbodystringtruewhich application id to use, must match user organization
» conferenceIdbodystringtruewhich conference id to link this transfer to, optional
» filebodystring(binary)truethe actual file
» interactionIdbodystringtruewhich integration id to link this transfer to, optional
» targetIdbodystringtruetarget id e.g. a user id, will be used to send the FileTransferEvent to all user endpoints of user
» targetTypebodystringtruetarget type e.g. USER, affects which users will receive the FileTransferEvent message
» userEndpointIdbodystringfalsewhich userEndpoint id to link to

Responses

Overview
StatusMeaningDescriptionSchema
200OKOKFileTransferResult
201CreatedCreatedNone
204No ContentNo ContentNone
401UnauthorizedUnauthorizedNone
403ForbiddenForbiddenNone
404Not FoundNot FoundNone
Examples

200 Response

caution

To perform this operation, you must be authenticated by means of one of the following methods: Client Credentials Flow ( Scopes: global ), Jwt ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global )

Code samples

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

get a builtin signed url

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

Parameters

ParameterInTypeRequiredDescription
fileTransferIdpathstringtruefileTransferId
expirationpathinteger(int64)trueexpiration
signaturequerystringtruesignature

Responses

Overview
StatusMeaningDescriptionSchema
200OKOKResource
401UnauthorizedUnauthorizedNone
403ForbiddenForbiddenNone
404Not FoundNot FoundNone
Examples

200 Response

caution

To perform this operation, you must be authenticated by means of one of the following methods: Client Credentials Flow ( Scopes: global ), Jwt ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global )

Code samples

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

create a signed url

POST https://auvious.video:443/rtc-api/filetransfers/{fileTransferId}/signedUrl HTTP/1.1
Host: auvious.video:443
Accept: application/json
Referer: string

Parameters

ParameterInTypeRequiredDescription
fileTransferIdpathstringtruefileTransferId
RefererheaderstringtrueReferer

Responses

Overview
StatusMeaningDescriptionSchema
200OKOKSignedUrl
201CreatedCreatedNone
401UnauthorizedUnauthorizedNone
403ForbiddenForbiddenNone
404Not FoundNot FoundNone
Examples

200 Response

{
"url": "string",
"validUntil": "2019-08-24T14:15:22Z"
}
caution

To perform this operation, you must be authenticated by means of one of the following methods: Client Credentials Flow ( Scopes: global ), Jwt ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global )

Code samples

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

Schemas

ConferenceId

{
"id": "string"
}

ConferenceId

Properties

NameTypeRequiredRestrictionsDescription
idstringfalsenonenone

FileTransferInfo

{
"conferenceId": {
"id": "string"
},
"fileTransferId": "string",
"filename": "string",
"interactionId": "string",
"mimeType": "string",
"sentAt": "2019-08-24T14:15:22Z",
"targetId": "string",
"targetType": "CONFERENCE",
"userEndpointId": "string",
"userId": "string"
}

FileTransferInfo

Properties

NameTypeRequiredRestrictionsDescription
conferenceIdConferenceIdfalsenonenone
fileTransferIdstringfalsenonenone
filenamestringfalsenonenone
interactionIdstringfalsenonenone
mimeTypestringfalsenonenone
sentAtstring(date-time)falsenonenone
targetIdstringfalsenonenone
targetTypestringfalsenonenone
userEndpointIdstringfalsenonenone
userIdstringfalsenonenone
Enumerated Values
PropertyValue
targetTypeCONFERENCE
targetTypeUNKNOWN
targetTypeUSER
targetTypeUSER_ENDPOINT

FileTransferResult

{
"fileTransferId": "string"
}

FileTransferResult

Properties

NameTypeRequiredRestrictionsDescription
fileTransferIdstringfalsenonenone

InputStream

{}

InputStream

Properties

None

Iterable«FileTransferInfo»

{}

Iterable«FileTransferInfo»

Properties

None

Resource

{
"description": "string",
"file": "string",
"filename": "string",
"inputStream": {},
"open": true,
"readable": true,
"uri": "http://example.com",
"url": "string"
}

Resource

Properties

NameTypeRequiredRestrictionsDescription
descriptionstringfalsenonenone
filestring(binary)falsenonenone
filenamestringfalsenonenone
inputStreamInputStreamfalsenonenone
openbooleanfalsenonenone
readablebooleanfalsenonenone
uristring(uri)falsenonenone
urlstring(url)falsenonenone

SignedUrl

{
"url": "string",
"validUntil": "2019-08-24T14:15:22Z"
}

SignedUrl

Properties

NameTypeRequiredRestrictionsDescription
urlstring(url)falsenonenone
validUntilstring(date-time)falsenonenone