This function allows you to retrieve metadata for a single protocol

getProtocol(user, id)

Arguments

user

A labstep user object. Must contain an `api_key` field. Returned from `login` command

id

ID of the protocol to retrieve

Value

Returns a `protocol` object

Examples

user <- login("demo@labstep.com","demopassword") protocol <- getProtocol(user,6140) print(protocol)
#> $message #> [1] "AppBundle\\Entity\\ProtocolCollection entity not found" #>