Skip to content

Data Models

The MaxConf API uses Pydantic models for request/response validation. Two primary response shapes exist depending on whether constrained_attributes is true or false.

The default response model when constrained_attributes=true. Returns only the fields necessary for a consumer to connect a citizen to a video session.

{
"id": 90,
"name": "MTIzNDU2LDc2NTQzMg",
"service_type": "conference",
"allow_guests": true,
"guest_pin": "1231",
"tag": "https://id.gov.bc.ca/idcheck/protected/video/MTIzNDU2LDc2NTQzMg",
"aliases": [
{
"id": 85,
"alias": "MTIzNDU2LDc2NTQzMg",
"conference": "/api/admin/configuration/v1/conference/90/",
"creation_time": "2024-03-05T14:31:06.145782",
"description": ""
}
]
}
FieldTypeDescription
idintegerPexip internal conference ID
namestringVMR name (Base64-encoded, used as the room alias)
service_typestringAlways "conference" for VMRs
allow_guestsbooleanWhether guest access is enabled (always true)
pinstringHost PIN - excluded from POST /room/create responses
guest_pinstringGuest PIN for citizen access
tagstringService tag URL linking the room to the IAS session
aliasesarrayList of Alias objects for this conference

The full Pexip conference object returned when constrained_attributes=false. Contains all configurable properties of a Virtual Meeting Room as defined in the Pexip Management API.

FieldTypeDescription
idintegerPexip internal conference ID
namestringVMR name
service_typestringConference type (conference, lecture, etc.)
allow_guestsbooleanGuest access enabled
pinstringHost PIN
guest_pinstringGuest PIN
tagstringService tag URL
aliasesarrayList of Alias objects
automatic_participantsarrayAuto-dial participants (SIP endpoints)
call_typestringCall type (audio/video)
creation_timedatetimeWhen the VMR was created
crypto_modestringMedia encryption mode
descriptionstringHuman-readable description
guest_viewstringGuest layout mode
host_viewstringHost layout mode
max_callrate_inintegerMaximum inbound call rate (kbps)
max_callrate_outintegerMaximum outbound call rate (kbps)
mute_all_guestsbooleanAuto-mute guests on join
participant_limitintegerMaximum simultaneous participants
resource_uristringPexip Management API resource URI

All fields are optional (nullable) in the response since they depend on the VMR’s configuration.


Represents a dial alias for a conference room.

FieldTypeDescription
idintegerAlias ID
aliasstringThe dialable alias (same as VMR name for MaxConf rooms)
conferencestringResource URI of the parent conference
creation_timedatetimeWhen the alias was created
descriptionstringOptional description

Returned by GET /public/health:

{
"status": "alive",
"timestamp": "2024-03-05T14:31:06.145782"
}
FieldTypeDescription
statusstringService status (always "alive" if reachable)
timestampstringISO 8601 timestamp of the response

These models are defined in Python using Pydantic and automatically generate the OpenAPI schema served at /docs (locally) and published as /openapi-spec.json. The OpenAPI spec is the canonical machine-readable reference; this page provides human-readable context and explains the design decisions behind the model constraints.