What would be the APIs needed to upload a json for mining?
I suspect it would be this:
/api/v2/languageunderstanding/miners/{minerId}/uploads
But I don't understand what goes into the body? The json body as a string? I tried various approaches:
String: a message body - and I get an error back saying it is malformed.
String: json as string (works)
Object: 'transcript': 'whatever the transcript' (works)
And then when I try to execute the miner with the result uploadKey, I always get:
"The request failed with response code: 404. Message: S3 prefix in upload key does not exist."
Clearly I'm missing a step.