* added figma analyzer * fixed lint issue * fixed lint issue (2) * added endpoint config from json * simplified scope extraction and endpoint configuration * updated with lint issue fixes --------- Co-authored-by: Kashif Khan <[email protected]>
32 lines
1.1 KiB
JSON
32 lines
1.1 KiB
JSON
{
|
|
"files:read": {
|
|
"url": "https://api.figma.com/v1/me",
|
|
"method": "GET",
|
|
"expected_status_code_with_scope": 200,
|
|
"expected_status_code_without_scope": 403
|
|
},
|
|
"library_analytics:read": {
|
|
"url": "https://api.figma.com/v1/analytics/libraries/0/component/actions",
|
|
"method": "GET",
|
|
"expected_status_code_with_scope": 400,
|
|
"expected_status_code_without_scope": 403
|
|
},
|
|
"file_dev_resources:write": {
|
|
"url": "https://api.figma.com/v1/dev_resources",
|
|
"method": "POST",
|
|
"expected_status_code_with_scope": 400,
|
|
"expected_status_code_without_scope": 403
|
|
},
|
|
"file_variables:read": {
|
|
"url": "https://api.figma.com/v1/files/0/variables/published",
|
|
"method": "GET",
|
|
"expected_status_code_with_scope": 404,
|
|
"expected_status_code_without_scope": 403
|
|
},
|
|
"webhooks:write": {
|
|
"url": "https://api.figma.com/v2/webhooks",
|
|
"method": "POST",
|
|
"expected_status_code_with_scope": 400,
|
|
"expected_status_code_without_scope": 403
|
|
}
|
|
} |