Example #1
0
        public static ListResourcesResult ListResourcesByPrefix(this Cloudinary cloudinary, string prefix, string type = "upload", string nextCursor = null)
        {
            var resourcesByPrefixParams = new ListResourcesByPrefixParams
            {
                Type       = type,
                Prefix     = prefix,
                NextCursor = nextCursor
            };

            return(cloudinary.ListResources(resourcesByPrefixParams));
        }
Example #2
0
        public static ListResourcesResult ListResourcesByPrefix(this Cloudinary cloudinary, string prefix, bool tags, bool context, bool moderations, string type = "upload", string nextCursor = null)
        {
            var resourcesByPrefixParams = new ListResourcesByPrefixParams
            {
                Tags        = tags,
                Context     = context,
                Moderations = moderations,
                Type        = type,
                Prefix      = prefix,
                NextCursor  = nextCursor
            };

            return(cloudinary.ListResources(resourcesByPrefixParams));
        }