'List endpoints for a token'

def list_endpoints_for_token(self, token_id):

    (resp, body) = self.get(('tokens/%s/endpoints' % token_id))
    self.expected_success(200, resp.status)
    body = json.loads(body)
    return rest_client.ResponseBody(resp, body)
