mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Change the results dict to a list
This commit is contained in:
parent
23b2497743
commit
5e8bb34f36
|
|
@ -160,10 +160,10 @@ paths:
|
||||||
type: number
|
type: number
|
||||||
description: Total number of results found
|
description: Total number of results found
|
||||||
results:
|
results:
|
||||||
type: object
|
type: array
|
||||||
title: Results
|
title: Results
|
||||||
description: Mapping of event_id to result.
|
description: Mapping of event_id to result.
|
||||||
additionalProperties:
|
items:
|
||||||
type: object
|
type: object
|
||||||
title: Result
|
title: Result
|
||||||
description: The result object.
|
description: The result object.
|
||||||
|
|
@ -295,8 +295,8 @@ paths:
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"count": 24,
|
"count": 24,
|
||||||
"results": {
|
"results": [
|
||||||
"$144429830826TWwbB:localhost": {
|
{
|
||||||
"rank": 0.00424866,
|
"rank": 0.00424866,
|
||||||
"result": {
|
"result": {
|
||||||
"age": 526228296,
|
"age": 526228296,
|
||||||
|
|
@ -311,7 +311,7 @@ paths:
|
||||||
"user_id": "@test:localhost"
|
"user_id": "@test:localhost"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue