Skip to main content
Participant
December 17, 2018
Answered

API - Series_id, model_id not available from search?

  • December 17, 2018
  • 1 reply
  • 689 views

Hi !

I was trying to get as much information as I can on an asset I found out the webpage do list assets from the same series.

However I couldn't find any assets links from the assert search result nor the series_id to do an additional search.

Is this possible to get somehow this series_id?

I also found in the API a "model_id" search_parametesr, I didn't look for such assets yet but I didn't see it in the search result as well.

Thanks

    This topic has been closed for replies.
    Correct answer joon.Stock

    Search api doesn't return series nor model id - you can use these parameters to get the list of assets - and any of asset IDs belong to series or model can be used as series or model id.

    1 reply

    Participating Frequently
    December 17, 2018

    You can find stock search api

    Documentation

    As you see below, model_id search is - "more from this model", series_id search is "more from this series", search parameter for both is asset id (which has model or series id search available as below) - so not applicable for any asset which doesn't have.

    Participant
    December 17, 2018

    My question was about the response (sorry if it wasn't clear).

    There is no mention about a model_id nor series_id in Documentation and since the response need result_columns (otherwise you have a subset) how to I get the model_id or/and series_id?

    I did try to add those in the result_columns but they aren't valid.

    There is nothing that look like an id that could fit my needs with the query: https://stock.adobe.io/Rest/Media/1/Search/Files?search_parameters[media_id]=69424437&result_columns[]=nb_results&result_columns[]=id&result_columns[]=title&result_columns[]=creator_name&result_columns[]=creator_id&result_columns[]=country_name&result_columns[]=width&result_columns[]=height&result_columns[]=thumbnail_url&result_columns[]=thumbnail_html_tag&result_columns[]=thumbnail_width&result_columns[]=thumbnail_height&result_columns[]=media_type_id&result_columns[]=category&result_columns[]=category_hierarchy&result_columns[]=nb_views&result_columns[]=nb_downloads&result_columns[]=creation_date&result_columns[]=keywords&result_columns[]=has_releases&result_columns[]=comp_url&result_columns[]=comp_width&result_columns[]=comp_height&result_columns[]=is_licensed&result_columns[]=vector_type&result_columns[]=content_type&result_columns[]=framerate&result_columns[]=duration&result_columns[]=comps&result_columns[]=details_url&result_columns[]=template_type_id&result_columns[]=template_category_ids&result_columns[]=marketing_text&result_columns[]=description&result_columns[]=size_bytes&result_columns[]=premium_level_id&result_columns[]=is_premium&result_columns[]=licenses

    joon.StockCorrect answer
    Participating Frequently
    December 17, 2018

    Search api doesn't return series nor model id - you can use these parameters to get the list of assets - and any of asset IDs belong to series or model can be used as series or model id.