Get Recipient Images Endpoint

Retrieves all image IDs that a recipient has access to from the image_shares table.

Required Query Parameters: - recipientId: The ID of the recipient

Optional Query Parameters: - projectId: Filter images by project ID

Returns: JSON response with list of image IDs and count: - success: boolean indicating if the request was successful - count: number of images found - imageIds: list of image IDs the recipient has access to

Errors: - 400 if recipientId is missing - 404 if recipient doesn't exist - 500 if database access fails

get/getRecipientImages

Query parameters

recipientIdstring required
projectIdstring

Response

Successful Response

{"stackTrail":"paths:/getRecipientImages:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes