- Merge request !8Issue #3284562: IntelligenceBank API v3 removed icon retrieval. โ (Closed) created by trackleft2
While attempting to make this module work for my organization, I was able to download assets via the connector using the v3 API, but, ran into an issue concerning the thumbnail attached to resource assets.
Install and enable
- ib_dam:ib_dam
- ib_dam:ib_dam_media
Create media types for all of the types of media you wish to map
Map image to image, and so on.
Get to where you need to log into your instance of intelligence bank
Find an image
Click Download
See error
Bad IntelligenceBank API request detected: Client error: `GET https://apius.intelligencebank.com/webapp/1.0/icon?p10=&p20=&type=file&name=` resulted in a `424 Failed Dependency` response: {"message":"Invalid request or server error"}
Unable to fetch data from IntelligenceBank API, bad response
Unable to save local file:
This value should be of the correct primitive type.
Bad IntelligenceBank API request detected: Client error: `GET https://apius.intelligencebank.com/webapp/1.0/icon?p10={}&p20={}&type=file&name={}` resulted in a `424 Failed Dependency` response: {"message":"Invalid request or server error"}
When I look up the end-point for this, I find the upgrade path from v2 to v3
https://intelligencebank.atlassian.net/wiki/spaces/APIDOC/pages/14262600...
Thumbnail Icon (GET) -> Folders List (GET)
Thumbnail Icon (GET) -> Resources List (GET)
Thumbnail icons are now returned as a field of folder or resource object (โthumbnailโ).
As far as I can tell, there isn't an easy way to convert this from v2 to v3, and on top of that, it isn't actually necessary (for images at least.)
Additionally, we should allow redirecting to a specific page after media is downloaded.
Remove thumbnail download for v3 api calls
Fixed
2.5
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.