Returns a list of models from Model Manager

list_model_contents(session, model, start = 0, limit = 20, exact = FALSE, ...)

Arguments

session

viya_connection object, obtained through session function

model

MMmodel or MMmodelVersion object, model ID or model name. If name, will try to find a single model with exact name match. See exact parameter

start

the index of the first content to return

limit

maximum number of models to return

exact

boolean, If the filter query should use "contains" for partial match or "eq" for exact match

...

additional parameters to be passed to httr::GET such as httr::add_headers

Value

A MMmodelContentList list with the list of contents

Examples


if (FALSE) { # \dontrun{
models <- list_models(sess, filter = list(createdBy = "creatorUser", name = "modelName"))

models
} # }