Get list of all subscriptions on a given endpoint ``ep``
		
		:param str ep: name of endpoint
		:return: successful ``.status_code`` / ``.is_done``. Check the ``.error``
		:rtype: asyncResult

def getEndpointSubscriptions(self,ep):
		'''
		Get list of all subscriptions on a given endpoint ``ep``
		
		:param str ep: name of endpoint
		:return: successful ``.status_code`` / ``.is_done``. Check the ``.error``
		:rtype: asyncResult
		'''
		result = asyncResult()
		result.endpoint = ep
		data = self._getURL("/subscriptions/"+ep)
		if data.status_code == 200: #immediate success
			result.error = False
			result.is_done = True
			result.result = data.content
		else:
			result.error = response_codes("unsubscribe",data.status_code)
			result.is_done = True
		result.raw_data = data.content
		result.status_code = data.status_code
		return result