public Metadata getMetadata(String typeName, String scope) {
        URL url = METADATA_URL_TEMPLATE.build(this.getAPI().getBaseURL(), this.getID(), scope, typeName);
        BoxAPIRequest request = new BoxAPIRequest(this.getAPI(), url, "GET");
        BoxJSONResponse response = (BoxJSONResponse) request.send();
        return new Metadata(JsonObject.readFrom(response.getJSON()));
    }
public Metadata getMetadata ( String typeName , String scope ) { URL url = METADATA_URL_TEMPLATE . build ( this . getAPI ( ) . getBaseURL ( ) , this . getID ( ) , scope , typeName ) ; BoxAPIRequest request = new BoxAPIRequest ( this . getAPI ( ) , url , "GET" ) ; BoxJSONResponse response = ( BoxJSONResponse ) request . send ( ) ; return new Metadata ( JsonObject . readFrom ( response . getJSON ( ) ) ) ; }
Gets the file metadata of specified template type.

@param typeName the metadata template type name.
@param scope    the metadata scope (global or enterprise).
@return the metadata returned from the server.