-
-
Save chasestarr/f9cc95a19277f71da90e7e545a78c8df to your computer and use it in GitHub Desktop.
Demonstrating 'branch' bug on list project files endpoint. Creating a branch on the Map file removes it from the response.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -H 'X-FIGMA-TOKEN: <token>' 'https://api.figma.com/v1/projects/15174532/files' | jq '.files' | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 1813 100 1813 0 0 5886 0 --:--:-- --:--:-- --:--:-- 5886 | |
[ | |
{ | |
"key": "FfYisjwvETRzhweVUCdgHA", | |
"name": "Map", | |
"thumbnail_url": "<url>", | |
"last_modified": "2021-03-05T05:17:22Z" | |
}, | |
{ | |
"key": "SpQjQZ06NMJDypWBHg60iz", | |
"name": "Snackbars", | |
"thumbnail_url": "<url>", | |
"last_modified": "2021-03-05T05:17:19Z" | |
}, | |
{ | |
"key": "IjT7nHtKD77uGd30uSoK8O", | |
"name": "Tabs", | |
"thumbnail_url": "<url>", | |
"last_modified": "2021-03-05T05:17:16Z" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -H 'X-FIGMA-TOKEN: <token>' 'https://api.figma.com/v1/projects/15174532/files' | jq '.files' | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 1224 100 1224 0 0 1364 0 --:--:-- --:--:-- --:--:-- 1363 | |
[ | |
{ | |
"key": "SpQjQZ06NMJDypWBHg60iz", | |
"name": "Snackbars", | |
"thumbnail_url": "<url>", | |
"last_modified": "2021-03-05T05:17:19Z" | |
}, | |
{ | |
"key": "IjT7nHtKD77uGd30uSoK8O", | |
"name": "Tabs", | |
"thumbnail_url": "<url>", | |
"last_modified": "2021-03-05T05:17:16Z" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment