 that are not URL safe (e.g., '#' and '@'). Example:
 'http://domain.com:3000/api/v1/room/%23testRoom/integrations'
 ###
-RocketChat.API.v1.addRoute 'room/:channel/integrations', authRequired: true,
+RocketChat.API.v1.addRoute 'room/:rid/integrations', authRequired: true,
 	get: ->
 		
 		if RocketChat.authz.hasPermission(@userId, 'manage-integrations') is false

			return RocketChat.API.v1.unauthorized()
		try 
			this.response.setTimeout (1000)
			rpage = @queryParams.page or 1
			ritems = @queryParams.items or 100
			return RocketChat.API.v1.success
				integrations: RocketChat.models.Integrations.find({}, { limit: ritems, skip: (rpage-1)*ritems }).fetch()
		
		catch e
			return RocketChat.API.v1.failure e.name + ': ' + e.message

			
### Create Private Group
Request example:
  { "name": "room5", "members": ["Jeff","Larry","Stephen"]}
###
RocketChat.API.v1.addRoute 'groups.create', authRequired: true,
	post: ->
