Returns the components used in the specified project. Format is identical to the format used by the Fetch components endpoint.
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"
Returns components a project
The response is of type string
.
{
"introduction": {
"name": "Introduction",
"text": "Welcome to Ditto",
"status": "FINAL",
"folder": null,
"tags": ["HOMEPAGE"],
"notes": "Show on the homepage for new users",
"variants": {}
}
}