Returns the components in the workspace of the requesting user. Only component libraries with Developer Mode enabled can be fetched.
The API ID of the variant. If specified, will filter for components that have the variant, and will return the attributes (e.g. text, status) of that component's variant.
"french"
flat
, structured
, nested
, icu
, android
, ios-strings
, ios-strings-dict
"structured"
NONE
, WIP
, REVIEW
, FINAL
"FINAL"
Include the createdAt
and updatedAt
fields for each component. Only supported for the structured
format.
Returns components
The response is of type string
.
{
"footer.about.blog": {
"name": "Footer/About/Blog",
"text": "Blog",
"status": "WIP",
"folder": null
},
"footer.about.careers": {
"name": "Footer/About/Careers",
"text": "Careers",
"status": "FINAL",
"folder": "folder_1"
}
}