backend: Rename expirationDate to autoDeletionDate in OpenAPI specs and update descriptions

This commit is contained in:
Carlos Santos 2025-04-08 18:35:18 +02:00
parent cf21cc7233
commit eb06643364
4 changed files with 26 additions and 16 deletions

View File

@ -10,7 +10,7 @@ content:
roomId: 'room-123' roomId: 'room-123'
roomIdPrefix: 'room' roomIdPrefix: 'room'
creationDate: 1620000000000 creationDate: 1620000000000
expirationDate: 1620000800000 autoDeletionDate: 1620000800000
preferences: preferences:
chatPreferences: chatPreferences:
enabled: true enabled: true
@ -32,7 +32,7 @@ content:
roomId: 'room-123' roomId: 'room-123'
roomIdPrefix: 'room' roomIdPrefix: 'room'
creationDate: 1620000000000 creationDate: 1620000000000
expirationDate: 1620000800000 autoDeletionDate: 1620000800000
preferences: preferences:
chatPreferences: chatPreferences:
enabled: true enabled: true

View File

@ -26,7 +26,7 @@ content:
- roomId: 'room-123' - roomId: 'room-123'
roomIdPrefix: 'room' roomIdPrefix: 'room'
creationDate: 1620000000000 creationDate: 1620000000000
expirationDate: 1620000800000 autoDeletionDate: 1620000800000
preferences: preferences:
chatPreferences: chatPreferences:
enabled: true enabled: true
@ -39,7 +39,7 @@ content:
- roomId: 'room-456' - roomId: 'room-456'
roomIdPrefix: 'room' roomIdPrefix: 'room'
creationDate: 1620001000000 creationDate: 1620001000000
expirationDate: 1620001800000 autoDeletionDate: 1620001800000
preferences: preferences:
chatPreferences: chatPreferences:
enabled: false enabled: false
@ -67,7 +67,7 @@ content:
- roomId: 'room-123' - roomId: 'room-123'
roomIdPrefix: 'room' roomIdPrefix: 'room'
creationDate: 1620000000000 creationDate: 1620000000000
expirationDate: 1620000800000 autoDeletionDate: 1620000800000
preferences: preferences:
chatPreferences: chatPreferences:
enabled: true enabled: true
@ -78,7 +78,7 @@ content:
- roomId: 'room-456' - roomId: 'room-456'
roomIdPrefix: 'room' roomIdPrefix: 'room'
creationDate: 1620001000000 creationDate: 1620001000000
expirationDate: 1620001800000 autoDeletionDate: 1620001800000
preferences: preferences:
chatPreferences: chatPreferences:
enabled: false enabled: false

View File

@ -1,13 +1,17 @@
type: object type: object
required:
- expirationDate
properties: properties:
expirationDate: autoDeletionDate:
type: number type: [number, 'null']
example: 1620000000000 example: 1620000000000
description: > description: >
The expiration date of the room in milliseconds since the Unix epoch. The date and time when the room will be deleted, represented in milliseconds since the Unix epoch.
After this date, the room will be closed and no new participants will be allowed to join.
After this date, the room will be automatically deleted and no new participants can join.
If this value is set, the room is marked for deletion but will only be removed after the last
participant leaves ("graceful deletion").
If this value is not defined, the room will exist indefinitely until manually deleted.
roomIdPrefix: roomIdPrefix:
type: string type: string
example: 'room' example: 'room'

View File

@ -15,12 +15,18 @@ properties:
example: 1620000000000 example: 1620000000000
description: > description: >
The creation date of the room in milliseconds since the Unix epoch. The creation date of the room in milliseconds since the Unix epoch.
expirationDate: autoDeletionDate:
type: number type: [number, 'null']
example: 1620000800000 example: 1620000800000
description: > description: >
The expiration date of the room in milliseconds since the Unix epoch. The date and time when the room will be deleted, represented in milliseconds since the Unix epoch.
After this date, the room will be closed and no new participants will be allowed to join.
After this date, the room will be automatically deleted and no new participants can join.
If this value is set, the room is marked for deletion but will only be removed after the last
participant leaves ("graceful deletion").
If this value is not defined, the room will exist indefinitely until manually deleted.
preferences: preferences:
$ref: meet-room-preferences.yaml#/MeetRoomPreferences $ref: meet-room-preferences.yaml#/MeetRoomPreferences
description: > description: >