Fix API reference.

Added the required Group ID (gid) for /groups/{gid}/chat for the API reference documentation
This commit is contained in:
Jacob Evans 2014-04-11 14:31:24 +10:00
parent c1a219380b
commit 30ec32124b

View file

@ -455,6 +455,7 @@ module.exports = (swagger, v2) ->
spec:
path: "/groups/{gid}/chat"
description: "Get all chat messages"
parameters: [path('gid','Group to return the chat from ','string')]
middleware: [auth.auth, groups.attachGroup]
action: groups.getChat
@ -665,4 +666,4 @@ module.exports = (swagger, v2) ->
swagger["add#{route.spec.method}"](route);true
swagger.configure("#{nconf.get('BASE_URL')}/api/v2", "2")
swagger.configure("#{nconf.get('BASE_URL')}/api/v2", "2")