{"id":21558,"date":"2017-07-19T16:04:48","date_gmt":"2017-07-19T16:04:48","guid":{"rendered":"http:\/\/finding_the_right_media_assets_with_a_powerful_new_search_api"},"modified":"2024-06-05T17:07:29","modified_gmt":"2024-06-06T00:07:29","slug":"finding_the_right_media_assets_with_a_powerful_new_search_api","status":"publish","type":"post","link":"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api","title":{"rendered":"Finding the right media assets with a powerful new search API"},"content":{"rendered":"<div class=\"wp-block-cloudinary-markdown \"><p>Great content is hard to come by. You can invest a lot of time and effort in building a great media library, but if content managers and editors can\u2019t quickly find what they need at the right time, it\u2019s almost useless (and frustrating). Good search capabilities allow you to provide them with a better experience: present relevant content or a well-organized catalog by a variety of criteria such as tags, folders, size, resolution, aspect ratio, faces, colors and many more.<\/p>\n<h2>Introducing image &amp; video advanced search API<\/h2>\n<p>Cloudinary is an <a href=\"https:\/\/cloudinary.com\/products\/digital_asset_management\">end-to-end image and video management solution<\/a>. Our new search API allows you to <strong>incorporate advanced search capabilities into your media management workflow<\/strong>, letting your content managers easily find assets uploaded to Cloudinary by almost any criteria. You can use the data in the search response to display an organized view of your catalog, display relevant content, or even expose dynamic search options directly.<\/p>\n<p>For example, let\u2019s say John is an editor who is writing an article that needs an image. The website design requires a landscape image with good quality. John also remembers that the company purchased some images earlier this month and there was one with a dog that could be just right, that may have been tagged. Well, if the company\u2019s images are stored in a Cloudinary account, then finding that perfect image is easy with the Search API.<\/p>\n<p>Here\u2019s a quick Ruby example:<\/p>\n<pre class=\"js-syntax-highlighted\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php shcb-wrap-lines\">Cloudinary::Search.expression(<span class=\"hljs-string\">'tag:dog uploaded_at&gt;1m aspect_ratio&gt;=\"4:3\" width&gt;2048'<\/span>).execute\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n<p>This query returns a <a href=\"https:\/\/cloudinary.com\/documentation\/search_api#response\">JSON response<\/a> that provides a summary of the search results and lists all matching images. In this example, the response includes all images tagged with \u2018dog\u2019, with an aspect ratio of 4:3, wider than 2048px, and that were uploaded within the past month. Results are sorted by relevance.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cloudinary-res.cloudinary.com\/image\/upload\/w_340,h_340,c_fill,g_auto,dpr_2.0,q_auto,f_auto\/river.jpg\" alt=\"Search API - sample result returned 1\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"170\" height=\"170\"\/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cloudinary-res.cloudinary.com\/image\/upload\/w_340,h_340,c_fill,g_auto,dpr_2.0,q_auto,f_auto\/kid-with-dog.jpg\" alt=\"Search API - sample result returned 2\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"170\" height=\"170\"\/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cloudinary-res.cloudinary.com\/image\/upload\/w_340,h_340,c_fill,g_auto,dpr_2.0,q_auto,f_auto\/dog-sea.jpg\" alt=\"Search API - sample result returned 3\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"170\" height=\"170\"\/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cloudinary-res.cloudinary.com\/image\/upload\/w_340,h_340,c_fill,g_auto,dpr_2.0,q_auto,f_auto\/bridge.jpg\" alt=\"Search API - sample result returned 4\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"170\" height=\"170\"\/><\/p>\n<div style=\"clear: both\"><\/div>\n<p>The search API is based on a <strong>robust new asset search engine<\/strong>, so that even if you have millions of assets, results are returned immediately. You can truly focus on your core product and let us do the searching for you.<\/p>\n<h3>Search for any combination of criteria<\/h3>\n<p>The search expression syntax is <a href=\"https:\/\/lucene.apache.org\/core\/2_9_4\/queryparsersyntax.html\">Lucene-based<\/a>, and supports any combination of attributes:<\/p>\n<ul>\n<li>Asset attributes such as <strong>file size<\/strong>, <strong>aspect ratio<\/strong>, <strong>resolution<\/strong>, <strong>video duration<\/strong>\n<\/li>\n<li>Categorization attributes such as <strong>tags<\/strong>, <strong>context<\/strong>, <strong>folders<\/strong>\n<\/li>\n<li>Dates such as when the resource was <strong>uploaded<\/strong> or <strong>created<\/strong>\n<\/li>\n<li>\n<strong>Advanced options<\/strong> such as <strong>embedded image metadata<\/strong> (Exif) and <strong>image analysis<\/strong> (colors, faces, transparency, and more).<\/li>\n<\/ul>\n<p>Using flexible query expressions, you can tailor your search to match the way your content managers and editors like to search for content.<\/p>\n<h2>Faceted search<\/h2>\n<p>Faceted search is a great way to provide <strong>themed navigation and exploration<\/strong> by predefined categories, usually more suitable for the less tech-savvy users within your organization. Rather than expecting users to search by different criteria, you can use the API\u2019s aggregation options to proactively display different category values, and how many assets match that category.<\/p>\n<p>Here\u2019s an example of aggregating assets by format:<\/p>\n<pre class=\"js-syntax-highlighted\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php shcb-wrap-lines\">Cloudinary::Search.(<span class=\"hljs-string\">'flower'<\/span>).aggregate(<span class=\"hljs-string\">'format'<\/span>).execute\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n<p>The response returns all assets that contain the search term \u2018flower\u2019, listing the number of assets for each of these formats:<\/p>\n<pre class=\"js-syntax-highlighted\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript shcb-wrap-lines\">{\n  \u2026\n  <span class=\"hljs-string\">\"aggregations\"<\/span>: {\n    <span class=\"hljs-string\">\"format\"<\/span>: {\n      <span class=\"hljs-string\">\"png\"<\/span>: <span class=\"hljs-number\">484<\/span>,\n      <span class=\"hljs-string\">\"jpg\"<\/span>: <span class=\"hljs-number\">121<\/span>,\n      <span class=\"hljs-string\">\"gif\"<\/span>: <span class=\"hljs-number\">3<\/span>,\n      <span class=\"hljs-string\">\"pdf\"<\/span>: <span class=\"hljs-number\">2<\/span>\n    }\n  },\n  \u2026\n}\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n<h2>More examples<\/h2>\n<h3>1. Dynamic image search in an eCommerce catalog<\/h3>\n<p>Say you have an <strong>eCommerce catalog<\/strong>, with millions of product images, and multiple photographers who upload them from a variety of sources. Images are usually uploaded to a specific folder (e.g., \u2018products\/photos\/\u2019), and you carefully manage metadata for product types, but for a specific campaign you want to be able to find all blue shirts, with high quality (above 5 MP), that were taken within the last week. Just one simple query and here they are:<\/p>\n<pre class=\"js-syntax-highlighted\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php shcb-wrap-lines\">Cloudinary::Search.expression(\n<span class=\"hljs-string\">'resource_type:image AND folder:products\/photos\/* AND\n context.productType:shirt AND \n(colors.blue&gt;10 pixels&gt;5mp taken_at&gt;1w)'<\/span>).execute\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n<p>Now it\u2019s easy to download them, tag them, or publish them on your website.<\/p>\n<h3>2. Housekeeping and cleanup<\/h3>\n<p>You can also use the search API for cleaning up a cluttered media library. Let\u2019s say you want to get rid of meaningless large videos to save some space. Just search for all mp4 videos that are shorter than 1 minute and weigh over 10 MB, and request them in descending order of size. Housekeeping has never been easier.<\/p>\n<pre class=\"js-syntax-highlighted\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php shcb-wrap-lines\">Cloudinary::Search.expression(\n<span class=\"hljs-string\">'format:mp4 AND duration&lt;30s AND size&gt;10mb'<\/span>).sort_by(<span class=\"hljs-string\">'size'<\/span>,<span class=\"hljs-string\">'desc'<\/span>).execute\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n<h3>3. Taking advantage of auto-tagging<\/h3>\n<p>Tagging every image in your media library is valuable in many ways and improves the searchability of your media assets, but manual tagging according to image content is a very time-consuming task. And if you have a lot of user-generated content, you simply cannot manually handle it all.<\/p>\n<p>Cloudinary offers fully integrated add-ons for <strong>automatic image tagging<\/strong> using <a href=\"https:\/\/cloudinary.com\/documentation\/aws_rekognition_auto_tagging_addon\">AWS Rekognition<\/a> &amp; <a href=\"https:\/\/cloudinary.com\/documentation\/imagga_auto_tagging_addon\">Imagga<\/a>. Using one of these, you can ensure that all your images are automatically tagged with relevant terms based on content. You can then easily search for specific content or for inspiration, without relying on manual categorization and taxonomy. And if your search turns out to be too broad, it\u2019s easy to refine it to quickly find what you\u2019re looking for without the tedious manual efforts.<\/p>\n<p>Here is an example of searching for an image of a bike. Note that when no fields are specified in the search expression, we search for the term in all string fields, including tags.<\/p>\n<pre class=\"js-syntax-highlighted\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php shcb-wrap-lines\">Cloudinary::Search.expression(<span class=\"hljs-string\">'bike'<\/span>).execute\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n<p>Examples of results appear below, along with the automatic tags that were identified.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cloudinary-res.cloudinary.com\/image\/upload\/w_350,h_238,c_fill,g_south_east,dpr_2.0,q_auto,f_auto\/bike-1.jpg\" alt=\"Search API - auto tagging 1\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"350\" height=\"238\"\/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cloudinary-res.cloudinary.com\/image\/upload\/w_350,h_238,c_fill,g_south_east,dpr_2.0,q_auto,f_auto\/bike-2.jpg\" alt=\"Search API - auto tagging 2\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"350\" height=\"238\"\/><\/p>\n<div style=\"clear: both\"><\/div>\n<h2>Still haven\u2019t found what you\u2019re looking for?<\/h2>\n<p>There are many more examples of what you can accomplish with the advanced search API. Search for transparent logos, photos with a certain number of people in them, media assets that are protected with copyright or taken with a specific camera model in a specific location, and more.<\/p>\n<p><a href=\"https:\/\/cloudinary.com\/documentation\/admin_api\">Check out our Search API documentation<\/a> for a full list of search options.<\/p>\n<h2>Give it a try<\/h2>\n<p>The asset search API is part of our Admin API and is available in the following SDKs: <strong>Ruby<\/strong>, <strong>Node<\/strong>, <strong>Java<\/strong>, <strong>PHP<\/strong>, <strong>Python<\/strong> and <strong>Scala<\/strong>.<\/p>\n<p>It is <strong>included for our Advanced Extra plans and higher<\/strong> and requires a small setup on our side. An additional search tier is available which allows more advanced functionality, such as embedded image metadata, image analysis and aggregations.<\/p>\n<p>Our beta customers have been trying it out for a while now, and so far we\u2019ve been hearing great feedback. Want to try it out? <a href=\"https:\/\/support.cloudinary.com\">Contact us<\/a> and we\u2019ll set it up for you. Looking forward to hearing what you think!<\/p>\n<h2>Further Reading on Digital Asset Management<\/h2>\n<ul>\n<li>\n<a href=\"https:\/\/cloudinary.com\/guides\/digital-asset-management\/what-is-digital-asset-management\">Cloud-based digital asset management solution<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/guides\/digital-asset-management\/what-is-digital-asset-management\">The Ultimate Digital Asset Management Guide<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/reimaging_dam_the_next_generation_solution_for_marketing_development\">Reimaging DAM: The next-generation solution for marketing &amp; development<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/asset_collaboration_be_dam-a_cross_organizational_solution\">Asset collaboration be DAM\u2019d: A cross-organizational solution<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/a_unified_approach_to_digital_asset_management_across_the_asset_lifecycle\">A unified approach to DAM across the asset lifecycle<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/how_cloud_native_dam_optimizes_customer_experiences\">How a cloud-native DAM optimizes customer experiences<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/transforming_marketing_campaigns_into_dynamic_visual_experiences\">Rise above the noise with dynamic visual experiences<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/setting_up_automatic_ai_content_recognition_tagging_in_the_cloudinary_dam\">Auto AI content recognition tagging in Cloudinary DAM<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/how_to_automatically_identify_similar_images_using_phash\">Image fingerprinting identify similar images using pHash<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/uploading_managing_and_delivering_pdfs\">How to create attractive PDF thumbnails &#8211; for PDF cover page and internal pages<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/restful_api_for_managing_your_website_s_images_and_other_online_assets\">An intuitive RESTful HTTP administrative API provides control to programmatically manage assets<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/api_for_extracting_semantic_image_data_colors_faces_exif_data_and_more\">Learn how to leverage Cloudinary\u2019s cloud-based API for applying effects on images to automatically blur faces using the pixelate effect<\/a>\n<\/li>\n<\/ul>\n<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":41,"featured_media":21559,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_cloudinary_featured_overwrite":false,"footnotes":""},"categories":[1],"tags":[25,89],"class_list":["post-21558","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-asset-management","tag-digital-asset-management"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.6 (Yoast SEO v26.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Finding the Right Media Assets with a Robust Search API<\/title>\n<meta name=\"description\" content=\"Integrate advanced search engine technology into your media assets management according to any criteria: tags, folders, size, resolution, aspect ratio, and more\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Finding the right media assets with a powerful new search API\" \/>\n<meta property=\"og:description\" content=\"Integrate advanced search engine technology into your media assets management according to any criteria: tags, folders, size, resolution, aspect ratio, and more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api\" \/>\n<meta property=\"og:site_name\" content=\"Cloudinary Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-07-19T16:04:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-06T00:07:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/v1649724121\/Web_Assets\/blog\/search-api-blog\/search-api-blog-jpg?_i=AA\" \/>\n\t<meta property=\"og:image:width\" content=\"1540\" \/>\n\t<meta property=\"og:image:height\" content=\"866\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"NewsArticle\",\"@id\":\"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api#article\",\"isPartOf\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"Finding the right media assets with a powerful new search API\",\"datePublished\":\"2017-07-19T16:04:48+00:00\",\"dateModified\":\"2024-06-06T00:07:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api\"},\"wordCount\":11,\"publisher\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api#primaryimage\"},\"thumbnailUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649724121\/Web_Assets\/blog\/search-api-blog\/search-api-blog.jpg?_i=AA\",\"keywords\":[\"Asset Management\",\"Digital Asset Management\"],\"inLanguage\":\"en-US\",\"copyrightYear\":\"2017\",\"copyrightHolder\":{\"@id\":\"https:\/\/cloudinary.com\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api\",\"url\":\"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api\",\"name\":\"Finding the Right Media Assets with a Robust Search API\",\"isPartOf\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api#primaryimage\"},\"thumbnailUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649724121\/Web_Assets\/blog\/search-api-blog\/search-api-blog.jpg?_i=AA\",\"datePublished\":\"2017-07-19T16:04:48+00:00\",\"dateModified\":\"2024-06-06T00:07:29+00:00\",\"description\":\"Integrate advanced search engine technology into your media assets management according to any criteria: tags, folders, size, resolution, aspect ratio, and more\",\"breadcrumb\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api#primaryimage\",\"url\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649724121\/Web_Assets\/blog\/search-api-blog\/search-api-blog.jpg?_i=AA\",\"contentUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649724121\/Web_Assets\/blog\/search-api-blog\/search-api-blog.jpg?_i=AA\",\"width\":1540,\"height\":866},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudinary.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Finding the right media assets with a powerful new search API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#website\",\"url\":\"https:\/\/cloudinary.com\/blog\/\",\"name\":\"Cloudinary Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cloudinary.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\",\"name\":\"Cloudinary Blog\",\"url\":\"https:\/\/cloudinary.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA\",\"contentUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA\",\"width\":312,\"height\":60,\"caption\":\"Cloudinary Blog\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Finding the Right Media Assets with a Robust Search API","description":"Integrate advanced search engine technology into your media assets management according to any criteria: tags, folders, size, resolution, aspect ratio, and more","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api","og_locale":"en_US","og_type":"article","og_title":"Finding the right media assets with a powerful new search API","og_description":"Integrate advanced search engine technology into your media assets management according to any criteria: tags, folders, size, resolution, aspect ratio, and more","og_url":"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api","og_site_name":"Cloudinary Blog","article_published_time":"2017-07-19T16:04:48+00:00","article_modified_time":"2024-06-06T00:07:29+00:00","og_image":[{"width":1540,"height":866,"url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/v1649724121\/Web_Assets\/blog\/search-api-blog\/search-api-blog-jpg?_i=AA","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api#article","isPartOf":{"@id":"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api"},"author":{"name":"","@id":""},"headline":"Finding the right media assets with a powerful new search API","datePublished":"2017-07-19T16:04:48+00:00","dateModified":"2024-06-06T00:07:29+00:00","mainEntityOfPage":{"@id":"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api"},"wordCount":11,"publisher":{"@id":"https:\/\/cloudinary.com\/blog\/#organization"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api#primaryimage"},"thumbnailUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649724121\/Web_Assets\/blog\/search-api-blog\/search-api-blog.jpg?_i=AA","keywords":["Asset Management","Digital Asset Management"],"inLanguage":"en-US","copyrightYear":"2017","copyrightHolder":{"@id":"https:\/\/cloudinary.com\/#organization"}},{"@type":"WebPage","@id":"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api","url":"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api","name":"Finding the Right Media Assets with a Robust Search API","isPartOf":{"@id":"https:\/\/cloudinary.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api#primaryimage"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api#primaryimage"},"thumbnailUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649724121\/Web_Assets\/blog\/search-api-blog\/search-api-blog.jpg?_i=AA","datePublished":"2017-07-19T16:04:48+00:00","dateModified":"2024-06-06T00:07:29+00:00","description":"Integrate advanced search engine technology into your media assets management according to any criteria: tags, folders, size, resolution, aspect ratio, and more","breadcrumb":{"@id":"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api#primaryimage","url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649724121\/Web_Assets\/blog\/search-api-blog\/search-api-blog.jpg?_i=AA","contentUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649724121\/Web_Assets\/blog\/search-api-blog\/search-api-blog.jpg?_i=AA","width":1540,"height":866},{"@type":"BreadcrumbList","@id":"https:\/\/cloudinary.com\/blog\/finding_the_right_media_assets_with_a_powerful_new_search_api#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudinary.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Finding the right media assets with a powerful new search API"}]},{"@type":"WebSite","@id":"https:\/\/cloudinary.com\/blog\/#website","url":"https:\/\/cloudinary.com\/blog\/","name":"Cloudinary Blog","description":"","publisher":{"@id":"https:\/\/cloudinary.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudinary.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/cloudinary.com\/blog\/#organization","name":"Cloudinary Blog","url":"https:\/\/cloudinary.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA","contentUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA","width":312,"height":60,"caption":"Cloudinary Blog"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":""}]}},"jetpack_featured_media_url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649724121\/Web_Assets\/blog\/search-api-blog\/search-api-blog.jpg?_i=AA","_links":{"self":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/21558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/comments?post=21558"}],"version-history":[{"count":5,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/21558\/revisions"}],"predecessor-version":[{"id":34451,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/21558\/revisions\/34451"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/media\/21559"}],"wp:attachment":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/media?parent=21558"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/categories?post=21558"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/tags?post=21558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}