Skip to main content
Awais_Iqbal
Jan 25, 2023 10:29 AM UTC
Question

Not getting frame images separately

Hi
I’ve written Rest API for images using
https://api.figma.com/v1/images/myfilekey
https://api.figma.com/v1/images/myfilekey?ids=123456
it has multiple frames but it is returning all frames in one image in response
{
“err”: null,
“images”: {
“node-id”: “image-path”
}
}
The image path that is returning , it is correct path but I can’t get all frames separately
But when I change the https://api.figma.com/v1/images/myfilekey to https://api.figma.com/v1/files/myfilekey then I get all frames separately.
How to resolve this issue?

This topic has been closed for replies.

12 replies

Jan 24, 2024 1:58 AM UTC

Do you know if there is a similar way to pass multiple ids to the comments API endpoint?

Gleb
Power Member
Jan 24, 2024 9:53 AM UTC

You can only get all comments from a file, not specific ones.

https://www.figma.com/developers/api#get-comments-endpoint