build_master_picture.Rd
This helper function creates the 'master_picture' part of the JSON request that includes the image or link to the image
This function is used by the build_json_request
function to create the complete JSON request.
build_master_picture(type, value)
type | string; one of "url" for image urls or "local" for local images. |
---|---|
value | string; either the url if type == "url" or path to local image |
list; valid list form for the complete JSON request