Returns all subject id's associated with a gallery.

get_gallery_subjects(gallery)

Arguments

gallery

The gallery in which the subjects are enrolled.

Value

A vector of subject id's

Examples

#> Succesfully initialized authentification credentials.
# enroll finn_image <- 'https://upload.wikimedia.org/wikipedia/en/2/2a/Finn-Force_Awakens_%282015%29.png' finn_enroll <- enroll(image = finn_image, subject_id = 'finn', gallery = 'starwars')
#> Error: API did not return json
# view subjects get_gallery_subjects(gallery = 'starwars')
#> Error: lexical error: invalid char in json text. #> Authentication failed #> (right here) ------^