Skip to main content

Auvious Auth Server API v1.8.8-beta.0

Auvious Auth Server provides the core security related services.

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

Applications

Get Application.

GET http://auvious.video/security/applications/{id} HTTP/1.1
Host: auvious.video
Accept: application/json

Use this operation to get configuration. For type GENESYS apps, if you are an integration admin user you will have 'integrations:integration:view' permission which is what this method will check in order to return all configuration entries. Otherwise, if the user is a microservice it will get back only serviceParameters, if the user is a customer he will only get back customerParameters while if the user is a non-admin agent he will get only agentParameters back

Parameters

ParameterInTypeRequiredDescription
idpathstringtruenone

Responses

Overview
StatusMeaningDescriptionSchema
200OKOKApplication
Examples

200 Response

{
"version": 0,
"id": "string",
"organizationId": "string",
"type": "GENESYS",
"config": {
"property1": {},
"property2": {}
},
"createdAt": "2019-08-24T14:15:22Z",
"visible": true,
"expiresAt": "2019-08-24T14:15:22Z"
}
caution

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

Code samples

curl -X GET http://auvious.video/security/applications/{id} \
-H 'Accept: application/json' \ -H 'Authorization: Bearer {access-token}'

Update an application

PUT http://auvious.video/security/applications/{id} HTTP/1.1
Host: auvious.video
Content-Type: application/json

Use this operation to update an existing application. For GENESYS type applications you should include your organizationId and pcEnvironment values. This operation will be denied if the user doesn't have the 'integrations:integration:edit' permission.

Request body

{
"organizationId": "string",
"type": "GENESYS",
"config": {
"property1": {},
"property2": {}
}
}

Parameters

ParameterInTypeRequiredDescription
idpathstringtruenone
bodybodyUpdateApplicationWebCommandtruenone

Responses

Overview
StatusMeaningDescriptionSchema
204No ContentUpdatedNone
404Not FoundNot FoundNone
caution

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

Code samples

curl -X PUT http://auvious.video/security/applications/{id} \
-H 'Content-Type: application/json' \ -H 'Authorization: Bearer {access-token}'

Delete application.

DELETE http://auvious.video/security/applications/{id} HTTP/1.1
Host: auvious.video

Use this if you want to delete an application. If the app is GENESYS type, the user must have the permission integrations:integration:delete permission, otherwise this call will fail.

Parameters

ParameterInTypeRequiredDescription
idpathstringtruenone

Responses

Overview
StatusMeaningDescriptionSchema
204No ContentNo ContentNone
caution

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

Code samples

curl -X DELETE http://auvious.video/security/applications/{id} \
-H 'Authorization: Bearer {access-token}'

Get all available visible applications.

GET http://auvious.video/security/applications?pageable=page,0,size,1,sort,string HTTP/1.1
Host: auvious.video
Accept: application/json

Parameters

ParameterInTypeRequiredDescription
pageablequeryPageabletruenone

Responses

Overview
StatusMeaningDescriptionSchema
200OKOKInline
Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
anonymous[Application]falsenonenone
» versioninteger(int64)falsenonenone
» idstringfalsenonenone
» organizationIdstringfalsenonenone
» typestringfalsenonenone
» configobjectfalsenonenone
»» additionalPropertiesobjectfalsenonenone
» createdAtstring(date-time)falsenonenone
» visiblebooleanfalsenonenone
» expiresAtstring(date-time)falsenonenone
Enumerated Values
PropertyValue
typeGENESYS
typeSTANDALONE_OPENID
typeTALKDESK_OPENID
typeNICE_CXONE_OPENID
typeTEST
typeSETUP_TEST
Examples

200 Response

[
{
"version": 0,
"id": "string",
"organizationId": "string",
"type": "GENESYS",
"config": {
"property1": {},
"property2": {}
},
"createdAt": "2019-08-24T14:15:22Z",
"visible": true,
"expiresAt": "2019-08-24T14:15:22Z"
}
]
caution

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

Code samples

curl -X GET http://auvious.video/security/applications?pageable=page,0,size,1,sort,string \
-H 'Accept: application/json' \ -H 'Authorization: Bearer {access-token}'

Create an application

POST http://auvious.video/security/applications HTTP/1.1
Host: auvious.video
Content-Type: application/json
Accept: application/json

Use this operation to create a new application. For GENESYS type applications you should include at least your 'organizationId' and 'pcEnvironment' entries in the 'config' otherwise creation will be denied. It is also recommended to include 'integrationId' entry. Again for GENESYS type applications, this operation will check that the user has integrations:integration:add permission. Once more, for GENESYS type apps, you should include your parameters in three main entries: serviceParameters, agentParameters and customerParameters. You can include other parameters, but they will be visible to all members of the same organization as well as internal auvious services. Internal Services can create any application.

Request body

{
"id": "string",
"organizationId": "string",
"type": "GENESYS",
"config": {
"property1": {},
"property2": {}
}
}

Parameters

ParameterInTypeRequiredDescription
bodybodyCreateApplicationWebCommandtruenone

Responses

Overview
StatusMeaningDescriptionSchema
200OKOKCreateApplicationResponseValue
Examples

200 Response

{
"id": "string"
}
caution

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

Code samples

curl -X POST http://auvious.video/security/applications \
-H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer {access-token}'

Schemas

UpdateApplicationWebCommand

{
"organizationId": "string",
"type": "GENESYS",
"config": {
"property1": {},
"property2": {}
}
}

Properties

NameTypeRequiredRestrictionsDescription
organizationIdstringfalsenoneonly for access from internal service
typestringtruenonenone
configobjecttruenoneThe application configuration object. For GENESYS apps, serviceParameters will be shown only to service accounts and admins, agentParameters will only be shown to agents and customerParameters will be shown only to customers
» additionalPropertiesobjectfalsenoneThe application configuration object. For GENESYS apps, serviceParameters will be shown only to service accounts and admins, agentParameters will only be shown to agents and customerParameters will be shown only to customers
Enumerated Values
PropertyValue
typeGENESYS
typeSTANDALONE_OPENID
typeTALKDESK_OPENID
typeNICE_CXONE_OPENID
typeTEST
typeSETUP_TEST

CreateApplicationWebCommand

{
"id": "string",
"organizationId": "string",
"type": "GENESYS",
"config": {
"property1": {},
"property2": {}
}
}

Properties

NameTypeRequiredRestrictionsDescription
idstringfalsenoneonly for access from internal service
organizationIdstringfalsenoneonly for access from internal service
typestringtruenonenone
configobjecttruenoneThe application configuration object. For GENESYS apps, serviceParameters will be shown only to service accounts and admins, agentParameters will only be shown to agents and customerParameters will be shown only to customers
» additionalPropertiesobjectfalsenoneThe application configuration object. For GENESYS apps, serviceParameters will be shown only to service accounts and admins, agentParameters will only be shown to agents and customerParameters will be shown only to customers
Enumerated Values
PropertyValue
typeGENESYS
typeSTANDALONE_OPENID
typeTALKDESK_OPENID
typeNICE_CXONE_OPENID
typeTEST
typeSETUP_TEST

CreateApplicationResponseValue

{
"id": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
idstringfalsenonenone

Pageable

{
"page": 0,
"size": 1,
"sort": [
"string"
]
}

Properties

NameTypeRequiredRestrictionsDescription
pageinteger(int32)falsenonenone
sizeinteger(int32)falsenonenone
sort[string]falsenonenone

Application

{
"version": 0,
"id": "string",
"organizationId": "string",
"type": "GENESYS",
"config": {
"property1": {},
"property2": {}
},
"createdAt": "2019-08-24T14:15:22Z",
"visible": true,
"expiresAt": "2019-08-24T14:15:22Z"
}

Properties

NameTypeRequiredRestrictionsDescription
versioninteger(int64)falsenonenone
idstringfalsenonenone
organizationIdstringfalsenonenone
typestringfalsenonenone
configobjectfalsenonenone
» additionalPropertiesobjectfalsenonenone
createdAtstring(date-time)falsenonenone
visiblebooleanfalsenonenone
expiresAtstring(date-time)falsenonenone
Enumerated Values
PropertyValue
typeGENESYS
typeSTANDALONE_OPENID
typeTALKDESK_OPENID
typeNICE_CXONE_OPENID
typeTEST
typeSETUP_TEST