def get_endpoint_by_endpoint_id(self, endpoint_id):
self._validate_uuid(endpoint_id)<EOL>url = "<STR_LIT>".format(endpoint_id)<EOL>response = NWS_DAO().getURL(url, self._read_headers)<EOL>if response.status != <NUM_LIT:200>:<EOL><INDENT>raise DataFailureException(url, response.status, response.data)<EOL><DEDENT>data = json.loads(response.data)<EOL>return self._endpoint_from_json(data.get("<STR_LIT>"))<EOL>
Get an endpoint by endpoint id