Make the example room id more "random" so that people are less likely to think that it is supposed to be human readable

pull/977/head
Mark Haines 9 years ago
parent f60190086a
commit 98d91d0c2b

@ -34,7 +34,7 @@ paths:
name: roomId name: roomId
description: The room to look up the state in. description: The room to look up the state in.
required: true required: true
x-example: "!room:example.com" x-example: "!636q39766251:example.com"
- in: path - in: path
type: string type: string
name: eventType name: eventType
@ -75,7 +75,7 @@ paths:
name: roomId name: roomId
description: The room to look up the state for. description: The room to look up the state for.
required: true required: true
x-example: "!room:example.com" x-example: "!636q39766251:example.com"
responses: responses:
200: 200:
description: The current state of the room description: The current state of the room
@ -89,7 +89,7 @@ paths:
}, },
"event_id": "$14259997323TLwtb:example.com", "event_id": "$14259997323TLwtb:example.com",
"origin_server_ts": 1425999732392, "origin_server_ts": 1425999732392,
"room_id": "!room:example.com", "room_id": "!636q39766251:example.com",
"state_key": "", "state_key": "",
"type": "m.room.join_rules", "type": "m.room.join_rules",
"user_id": "@alice:example.com" "user_id": "@alice:example.com"
@ -104,7 +104,7 @@ paths:
"event_id": "$1426600438280zExKY:example.com", "event_id": "$1426600438280zExKY:example.com",
"membership": "join", "membership": "join",
"origin_server_ts": 1426600438277, "origin_server_ts": 1426600438277,
"room_id": "!room:example.com", "room_id": "!636q39766251:example.com",
"state_key": "@alice:example.com", "state_key": "@alice:example.com",
"type": "m.room.member", "type": "m.room.member",
"user_id": "@alice:example.com" "user_id": "@alice:example.com"
@ -116,7 +116,7 @@ paths:
}, },
"event_id": "$14259997320KhbwJ:example.com", "event_id": "$14259997320KhbwJ:example.com",
"origin_server_ts": 1425999732089, "origin_server_ts": 1425999732089,
"room_id": "!room:example.com", "room_id": "!636q39766251:example.com",
"state_key": "", "state_key": "",
"type": "m.room.create", "type": "m.room.create",
"user_id": "@alice:example.com" "user_id": "@alice:example.com"
@ -131,7 +131,7 @@ paths:
"event_id": "$1431525430134MxlLX:example.com", "event_id": "$1431525430134MxlLX:example.com",
"origin_server_ts": 1431525430569, "origin_server_ts": 1431525430569,
"replaces_state": "$142652023736BSXcM:example.com", "replaces_state": "$142652023736BSXcM:example.com",
"room_id": "!room:example.com", "room_id": "!636q39766251:example.com",
"state_key": "@bob:example.com", "state_key": "@bob:example.com",
"type": "m.room.member", "type": "m.room.member",
"user_id": "@bob:example.com" "user_id": "@bob:example.com"
@ -155,7 +155,7 @@ paths:
}, },
"event_id": "$14259997322mqfaq:example.com", "event_id": "$14259997322mqfaq:example.com",
"origin_server_ts": 1425999732285, "origin_server_ts": 1425999732285,
"room_id": "!room:example.com", "room_id": "!636q39766251:example.com",
"state_key": "", "state_key": "",
"type": "m.room.power_levels", "type": "m.room.power_levels",
"user_id": "@alice:example.com" "user_id": "@alice:example.com"
@ -192,7 +192,7 @@ paths:
name: roomId name: roomId
description: The room to get the data. description: The room to get the data.
required: true required: true
x-example: "!room:example.com" x-example: "!636q39766251:example.com"
responses: responses:
200: 200:
description: The current state of the room description: The current state of the room
@ -210,7 +210,7 @@ paths:
}, },
"event_id": "$14328044851tzTJS:example.com", "event_id": "$14328044851tzTJS:example.com",
"origin_server_ts": 1432804485886, "origin_server_ts": 1432804485886,
"room_id": "!room:example.com", "room_id": "!636q39766251:example.com",
"type": "m.room.message", "type": "m.room.message",
"user_id": "@alice:example.com" "user_id": "@alice:example.com"
}, },
@ -222,7 +222,7 @@ paths:
}, },
"event_id": "$14328044872spjFg:example.com", "event_id": "$14328044872spjFg:example.com",
"origin_server_ts": 1432804487480, "origin_server_ts": 1432804487480,
"room_id": "!room:example.com", "room_id": "!636q39766251:example.com",
"type": "m.room.message", "type": "m.room.message",
"user_id": "@bob:example.com" "user_id": "@bob:example.com"
} }
@ -230,7 +230,7 @@ paths:
"end": "s3456_9_0", "end": "s3456_9_0",
"start": "t44-3453_9_0" "start": "t44-3453_9_0"
}, },
"room_id": "!room:example.com", "room_id": "!636q39766251:example.com",
"state": [ "state": [
{ {
"age": 7148266897, "age": 7148266897,
@ -239,7 +239,7 @@ paths:
}, },
"event_id": "$14259997323TLwtb:example.com", "event_id": "$14259997323TLwtb:example.com",
"origin_server_ts": 1425999732392, "origin_server_ts": 1425999732392,
"room_id": "!room:example.com", "room_id": "!636q39766251:example.com",
"state_key": "", "state_key": "",
"type": "m.room.join_rules", "type": "m.room.join_rules",
"user_id": "@alice:example.com" "user_id": "@alice:example.com"
@ -254,7 +254,7 @@ paths:
"event_id": "$1426600438280zExKY:example.com", "event_id": "$1426600438280zExKY:example.com",
"membership": "join", "membership": "join",
"origin_server_ts": 1426600438277, "origin_server_ts": 1426600438277,
"room_id": "!room:example.com", "room_id": "!636q39766251:example.com",
"state_key": "@alice:example.com", "state_key": "@alice:example.com",
"type": "m.room.member", "type": "m.room.member",
"user_id": "@alice:example.com" "user_id": "@alice:example.com"
@ -266,7 +266,7 @@ paths:
}, },
"event_id": "$14259997320KhbwJ:example.com", "event_id": "$14259997320KhbwJ:example.com",
"origin_server_ts": 1425999732089, "origin_server_ts": 1425999732089,
"room_id": "!room:example.com", "room_id": "!636q39766251:example.com",
"state_key": "", "state_key": "",
"type": "m.room.create", "type": "m.room.create",
"user_id": "@alice:example.com" "user_id": "@alice:example.com"
@ -281,7 +281,7 @@ paths:
"event_id": "$1431525430134MxlLX:example.com", "event_id": "$1431525430134MxlLX:example.com",
"origin_server_ts": 1431525430569, "origin_server_ts": 1431525430569,
"replaces_state": "$142652023736BSXcM:example.com", "replaces_state": "$142652023736BSXcM:example.com",
"room_id": "!room:example.com", "room_id": "!636q39766251:example.com",
"state_key": "@bob:example.com", "state_key": "@bob:example.com",
"type": "m.room.member", "type": "m.room.member",
"user_id": "@bob:example.com" "user_id": "@bob:example.com"
@ -305,7 +305,7 @@ paths:
}, },
"event_id": "$14259997322mqfaq:example.com", "event_id": "$14259997322mqfaq:example.com",
"origin_server_ts": 1425999732285, "origin_server_ts": 1425999732285,
"room_id": "!room:example.com", "room_id": "!636q39766251:example.com",
"state_key": "", "state_key": "",
"type": "m.room.power_levels", "type": "m.room.power_levels",
"user_id": "@alice:example.com" "user_id": "@alice:example.com"
@ -388,7 +388,7 @@ paths:
name: roomId name: roomId
description: The room to get the member events for. description: The room to get the member events for.
required: true required: true
x-example: "!room:example.com" x-example: "!636q39766251:example.com"
responses: responses:
200: 200:
description: |- description: |-
@ -409,7 +409,7 @@ paths:
"event_id": "$1426600438280zExKY:example.com", "event_id": "$1426600438280zExKY:example.com",
"membership": "join", "membership": "join",
"origin_server_ts": 1426600438277, "origin_server_ts": 1426600438277,
"room_id": "!room:example.com", "room_id": "!636q39766251:example.com",
"state_key": "@alice:example.com", "state_key": "@alice:example.com",
"type": "m.room.member", "type": "m.room.member",
"user_id": "@alice:example.com" "user_id": "@alice:example.com"
@ -424,7 +424,7 @@ paths:
"event_id": "$1431525430134MxlLX:example.com", "event_id": "$1431525430134MxlLX:example.com",
"origin_server_ts": 1431525430569, "origin_server_ts": 1431525430569,
"replaces_state": "$142652023736BSXcM:example.com", "replaces_state": "$142652023736BSXcM:example.com",
"room_id": "!room:example.com", "room_id": "!636q39766251:example.com",
"state_key": "@bob:example.com", "state_key": "@bob:example.com",
"type": "m.room.member", "type": "m.room.member",
"user_id": "@bob:example.com" "user_id": "@bob:example.com"

Loading…
Cancel
Save