• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

API - How search a specific stock art id

New Here ,
Dec 17, 2018 Dec 17, 2018

Copy link to clipboard

Copied

As from both these document

https://adobeio-prod.adobemsbasic.com/apis/creativecloud/stock/docs.html#!adobe/stock-api-docs/maste...

https://adobeio-prod.adobemsbasic.com/apis/creativecloud/stock/docs.html#!adobe/stock-api-docs/maste...

I should be able to fetch the API to get details on a specific stock art id with the URL https://stock.adobe.io/Rest/Media/1/Search/Files?search_parameters[media_id]=228549042

(I won't bother you with the headers)

However, it always returns me 0 results, same go if I tried with creator_id.

I tried other column names (stock_id, content_id, series_id) and they return all stock arts, I also tried model_id which return 0 results as well.

Replacing the [] by their equivalent doesn't change anything.

The id 228549042 come from an "id" property from the result of a call to /Libraries/1/Member/LicenseHistory.

The details page is https://stock.adobe.com/228549042

EDIT: For your information, I was able to search with a different id, I don't know why this specific ID doesn't work.

Views

815

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Dec 17, 2018 Dec 17, 2018

Please look for our external api doc update in near future, as 3d & template files do require that extra parameter for single file search.

Best regards,

Votes

Translate

Translate
Adobe Employee ,
Dec 17, 2018 Dec 17, 2018

Copy link to clipboard

Copied

Please refer to the following for usage:

Documentation

What I see from your URL is that [media_id] should be replaced by [words]

Regards,

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 17, 2018 Dec 17, 2018

Copy link to clipboard

Copied

Why should I use words when media_id IS a valid parameter, and documented one, and I want to get this specific media?

And funny thing, it won't work event with words instead!

But if I used another stock art (like with 69424437) then using both words AND media_id will work.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 17, 2018 Dec 17, 2018

Copy link to clipboard

Copied

It seems that you need to apply this parameter as the subject asset is template file: search_parameters[filters][content_type:template], then you will see the result.  The one that works is an image file.  I will seek for answers if this is an expected or something needs more implementation from our side.

Best regards,

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 17, 2018 Dec 17, 2018

Copy link to clipboard

Copied

LATEST

Please look for our external api doc update in near future, as 3d & template files do require that extra parameter for single file search.

Best regards,

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Buy Adobe Stock
Getting Started