|
|
@ -60,13 +60,23 @@ paths:
|
|
|
|
type: object
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
properties:
|
|
|
|
tags:
|
|
|
|
tags:
|
|
|
|
title: Tags
|
|
|
|
|
|
|
|
type: object
|
|
|
|
type: object
|
|
|
|
|
|
|
|
additionalProperties:
|
|
|
|
|
|
|
|
title: Tag
|
|
|
|
|
|
|
|
type: object
|
|
|
|
|
|
|
|
properties:
|
|
|
|
|
|
|
|
order:
|
|
|
|
|
|
|
|
type: number
|
|
|
|
|
|
|
|
format: float
|
|
|
|
|
|
|
|
description: |-
|
|
|
|
|
|
|
|
A number in a range ``[0,1]`` describing a relative
|
|
|
|
|
|
|
|
position of the room under the given tag.
|
|
|
|
|
|
|
|
additionalProperties: true
|
|
|
|
examples:
|
|
|
|
examples:
|
|
|
|
application/json: {
|
|
|
|
application/json: {
|
|
|
|
"tags": {
|
|
|
|
"tags": {
|
|
|
|
"m.favourite": {},
|
|
|
|
"m.favourite": {"order": 0.1},
|
|
|
|
"u.Work": {"order": "1"},
|
|
|
|
"u.Work": {"order": 0.7},
|
|
|
|
"u.Customers": {}
|
|
|
|
"u.Customers": {}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -110,8 +120,17 @@ paths:
|
|
|
|
Extra data for the tag, e.g. ordering.
|
|
|
|
Extra data for the tag, e.g. ordering.
|
|
|
|
schema:
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
type: object
|
|
|
|
|
|
|
|
properties:
|
|
|
|
|
|
|
|
order:
|
|
|
|
|
|
|
|
type: number
|
|
|
|
|
|
|
|
format: float
|
|
|
|
|
|
|
|
description: |-
|
|
|
|
|
|
|
|
A number in a range ``[0,1]`` describing a relative
|
|
|
|
|
|
|
|
position of the room under the given tag.
|
|
|
|
|
|
|
|
additionalProperties: true
|
|
|
|
example: {
|
|
|
|
example: {
|
|
|
|
"order": "1"}
|
|
|
|
"order": 0.25
|
|
|
|
|
|
|
|
}
|
|
|
|
responses:
|
|
|
|
responses:
|
|
|
|
200:
|
|
|
|
200:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|