Projects
Fetch component text by project id
Returns the components used in the specified project. Format is identical to the format used by the Fetch components endpoint.
GET
Authorizations
Path Parameters
Query Parameters
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.
Example:
"french"
Available options:
flat
, structured
, nested
, icu
, android
, ios-strings
, ios-strings-dict
Example:
"structured"
Available options:
NONE
, WIP
, REVIEW
, FINAL
Example:
"FINAL"
Response
200 - application/json
Returns components a project
The response is of type string
.
Example:
{
"introduction": {
"name": "Introduction",
"text": "Welcome to Ditto",
"status": "FINAL",
"folder": null,
"tags": ["HOMEPAGE"],
"notes": "Show on the homepage for new users",
"variants": {}
}
}