cancel
Showing results for 
Search instead for 
Did you mean: 

Create a new Image for feedentry via API

WolfgangGedemer
Advisor
Advisor
0 Kudos

Hi,

I tried to create a new image in an existing feedentry as described in SAP Jam Developer Guide

Using POST api/v1/OData/FeedEntries(<valid feed guid>)/FeedEntryImages/$value
with Header

slug: new jpg

Content-Type: image/jpg

and the jpg file in the payload

retrieves the message "Resource not found for the segment 'FeedEntryImages'"

Do you have any idea how uploading an image can be done.

Best Regards,
Wolfgang

Accepted Solutions (0)

Answers (1)

Answers (1)

Adam_Stone
Active Contributor
0 Kudos

The error is caused by hitting an endpoint that does not exist:

api/v1/OData/FeedEntries(<valid feed guid>)/FeedEntryImages/$value


FeedEntryImages is its own endpoint:

api/v1/OData/FeedEntryImages('key')


Hope that helps get you going.