I would like to create an export of my documents via the API, download it via the API then upload translations inside prismic via the API too.
We already have crowdin for some projects, with its API we can push content/get content from crowdin without a human. So I would like to be able to get the export of prismic so we can auto update crowdin and once we have translations we can upload them (via the API) to prismic.
But I wasn't able to find documentation for this use case. We can find a few pages inside the doc, but nothing is about an API to export/download/upload strings. Ex Import/Export - Documentation - Prismic we only speak about this button inside the dashboard.
So I tried to use the API to see if it's possible, but I didn't find anything for my use-case.
Via the API I can get a list of pages/documents and it looks like what I get if I go inside my dashboard -> settings -> export.
The JSON inside is similar to what we have inside the output from clients.query('')
inside .results[0].data
, but it's missing groupLang :/
Is it possible, or the API doesn't support this?