JDK8 update
Return the uuid by specific mediatype