setMethod(
f = "available.versions",
signature = "character",
definition = function(object){
if(is.null(object) || object == "")
return(NULL)
.jsonListToDataFrame(synapseGet(sprintf("/entity/%s/version", object))$results)
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.