Skip to main content

Client v1.0

Manage Organization Clients (client credentials)

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

Clients

Clients Controller

List clients of user organization

GET https://auvious.video:443/security/clients HTTP/1.1
Host: auvious.video:443
Accept: application/json

Use this to retrieve all clients for your organization

Responses

Overview
StatusMeaningDescriptionSchema
200OKOKInline
401UnauthorizedUnauthorizedNone
403ForbiddenForbiddenNone
404Not FoundNot FoundNone
Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
anonymous[ClientResponseValue]falsenonenone
» ClientResponseValueClientResponseValuefalsenonenone
»» clientIdstringfalsenonenone
»» clientSecretstringfalsenonenone
»» descriptionstringfalsenonenone
»» roles[string]falsenonenone
Examples

200 Response

[
{
"clientId": "string",
"clientSecret": "string",
"description": "string",
"roles": [
"string"
]
}
]
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/security/clients \
-H 'Accept: application/json' \ -H 'Authorization: Bearer {access-token}'

Create a client

POST https://auvious.video:443/security/clients HTTP/1.1
Host: auvious.video:443
Content-Type: application/json
Accept: application/json

Use this to create a new client

Request body

{
"description": "string",
"roles": [
"string"
]
}

Parameters

ParameterInTypeRequiredDescription
bodybodyCreateClientWebCommandfalsenone

Responses

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

200 Response

{
"clientId": "string",
"clientSecret": "string",
"description": "string",
"roles": [
"string"
]
}
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/security/clients \
-H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer {access-token}'

Update a client

PUT https://auvious.video:443/security/clients/{clientId} HTTP/1.1
Host: auvious.video:443
Content-Type: application/json
Accept: application/json

Use this to update description and/or roles of a new client

Request body

{
"description": "string",
"roles": [
"string"
]
}

Parameters

ParameterInTypeRequiredDescription
clientIdpathstringtrueclientId
bodybodyUpdateClientWebCommandfalsenone

Responses

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

200 Response

{
"clientId": "string",
"clientSecret": "string",
"description": "string",
"roles": [
"string"
]
}
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 PUT https://auvious.video:443/security/clients/{clientId} \
-H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer {access-token}'

Delete client of user organization

DELETE https://auvious.video:443/security/clients/{clientId} HTTP/1.1
Host: auvious.video:443

Use this to delete a client for your organization

Parameters

ParameterInTypeRequiredDescription
clientIdpathstringtrueclientId

Responses

Overview
StatusMeaningDescriptionSchema
204No ContentNo ContentNone
401UnauthorizedUnauthorizedNone
403ForbiddenForbiddenNone
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 DELETE https://auvious.video:443/security/clients/{clientId} \
-H 'Authorization: Bearer {access-token}'

Rotate client secret

POST https://auvious.video:443/security/clients/{clientId}/rotate HTTP/1.1
Host: auvious.video:443
Accept: application/json

Use this to create new secret for client - USE WITH CAUTION

Parameters

ParameterInTypeRequiredDescription
clientIdpathstringtrueclientId

Responses

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

200 Response

{
"clientId": "string",
"clientSecret": "string",
"description": "string",
"roles": [
"string"
]
}
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/security/clients/{clientId}/rotate \
-H 'Accept: application/json' \ -H 'Authorization: Bearer {access-token}'

Schemas

ClientResponseValue

{
"clientId": "string",
"clientSecret": "string",
"description": "string",
"roles": [
"string"
]
}

ClientResponseValue

Properties

NameTypeRequiredRestrictionsDescription
clientIdstringfalsenonenone
clientSecretstringfalsenonenone
descriptionstringfalsenonenone
roles[string]falsenonenone

CreateClientWebCommand

{
"description": "string",
"roles": [
"string"
]
}

CreateClientWebCommand

Properties

NameTypeRequiredRestrictionsDescription
descriptionstringfalsenoneclient description text
roles[string]falsenoneclient roles (Optional). Valid values are: ClientService, Agent, Supervisor, Admin

UpdateClientWebCommand

{
"description": "string",
"roles": [
"string"
]
}

UpdateClientWebCommand

Properties

NameTypeRequiredRestrictionsDescription
descriptionstringfalsenonenew client description text (Optional - if not provided old one will remain).
roles[string]falsenonenew client roles (Optional - if not provided old ones will remain). Valid values are: ClientService, Agent, Supervisor, Admin