Retrieves all of the entities stored within a parent such as folder or project.

synGetChildren(parent, includeTypes=list("folder", "file", "table", "link", "entityview", "dockerrepo"), sortBy=NAME, sortDirection=ASC)

Arguments

parent

An id or an object of a Synapse container or NULL to retrieve all projects

includeTypes

Must be a list of entity types (ie. ["folder","file"]) which can be found here:
http://docs.synapse.org/rest/org/sagebionetworks/repo/model/EntityType.html

sortBy

How results should be sorted. Can be NAME, or CREATED_ON

sortDirection

The direction of the result sort. Can be ASC, or DESC

Details

Value

An iterator that shows all the children of the container. Use nextElem or as.list to access the values.

References

Note

See also

Examples

# NOT RUN {
iterator<-synGetChildren("syn123456", includeTypes="file", sortBy="CREATED_ON")
# }