allowed room in api for a generic server rather than just ws