Make documentation of PUT alternatives consistent and add it where it was missing.

pull/977/head
David Baker 10 years ago
parent aa8806c9fd
commit 4354fb80bb

@ -491,7 +491,7 @@
{ {
"method": "POST", "method": "POST",
"summary": "Join a room via a room alias or room ID.", "summary": "Join a room via a room alias or room ID.",
"notes": "Join a room via a room alias or room ID.", "notes": "This endpoint, unlike /rooms/{roomId}/join allows the client to join a room by it's alias. This operation can also be done as a PUT by suffixing /{txnId}.",
"type": "JoinRoomInfo", "type": "JoinRoomInfo",
"nickname": "join", "nickname": "join",
"consumes": [ "consumes": [
@ -521,7 +521,7 @@
{ {
"method": "POST", "method": "POST",
"summary": "Create a room.", "summary": "Create a room.",
"notes": "Create a room.", "notes": "Create a room. This operation can also be done as a PUT by suffixing /{txnId}.",
"type": "RoomInfo", "type": "RoomInfo",
"nickname": "create_room", "nickname": "create_room",
"consumes": [ "consumes": [
@ -530,7 +530,7 @@
"parameters": [ "parameters": [
{ {
"name": "body", "name": "body",
"description": "The desired configuration for the room. This operation can also be done as a PUT by suffixing /{txnId}.", "description": "The desired configuration for the room.",
"required": true, "required": true,
"type": "RoomConfig", "type": "RoomConfig",
"paramType": "body" "paramType": "body"

Loading…
Cancel
Save