Expose a single string representation of an EntityId
Description
Today EntityId is represented as an object. When an external user of CDAP needs to request a specific entity, there is no easy way for them to generate the EntityId object. We already have a way to create a string from the EntityId object, but that String representation is not exposed in the APIs when someone searches for an entity.
This Jira would create and document a string representation of the EntityId that could be used by external developers to request a specific entity from CDAP.
Today EntityId is represented as an object. When an external user of CDAP needs to request a specific entity, there is no easy way for them to generate the EntityId object. We already have a way to create a string from the EntityId object, but that String representation is not exposed in the APIs when someone searches for an entity.
This Jira would create and document a string representation of the EntityId that could be used by external developers to request a specific entity from CDAP.
For example, when searching for metadata, the results would include a unique string identifier for each entity returned. This could then be used to request more information about that specific entity from non-platform apis such as an audit log search. http://docs.cask.co/cdap/current/en/reference-manual/http-restful-api/metadata.html#searching-for-metadata