Specify how ordering of tags is supposed to work

This commit is contained in:
Mark Haines 2015-11-16 17:04:19 +00:00
parent 3b390bff3c
commit 299af673da
5 changed files with 10 additions and 5 deletions

View file

@ -314,7 +314,7 @@ paths:
"visibility": "private",
"private_user_data": [{
"type": "m.tag",
"content": {"tags": {"work": {"order": 1}}}
"content": {"tags": {"work": {"order": "1"}}}
}]
}
schema:

View file

@ -248,7 +248,7 @@ paths:
"visibility": "private",
"private_user_data": [{
"type": "m.tag",
"content": {"tags": {"work": {"order": 1}}}
"content": {"tags": {"work": {"order": "1"}}}
}]
}
]

View file

@ -291,7 +291,7 @@ paths:
"events": [
{
"type": "m.tags",
"content": {"tags": {"work": {"order": 1}}}
"content": {"tags": {"work": {"order": "1"}}}
}
]
}

View file

@ -55,7 +55,7 @@ paths:
application/json: |-
{
"tags": {
"work": {"order": 1},
"work": {"order": "1"},
"pinned": {}
}
}
@ -97,7 +97,7 @@ paths:
schema:
type: object
example: |-
{"order": 1}
{"order": "1"}
responses:
200:
description: