Implements expandable properties for room responses to reduce payload size. Introduces an `expand` query parameter to control which complex properties, like `config`, are included in the response. By default, these properties are replaced with a stub containing a HATEOAS link to fetch the full data. This change optimizes network bandwidth and improves API performance by preventing unnecessary data transfer, especially when clients only need a subset of room details.
10 lines
245 B
YAML
10 lines
245 B
YAML
name: fields
|
|
in: query
|
|
description: >
|
|
Specifies which fields to include in the response for the room resource.
|
|
Provide a comma-separated list of field names.
|
|
required: false
|
|
schema:
|
|
type: string
|
|
example: 'fields=roomId,moderatorUrl'
|