I created a test public corpus called /WOZIMA and I cannot fetch any JSON from it unless I use the credentials I used when creating it. When I create a new service and use those credentials, it doesn't return anything. I believe this is a permission issue on the corpus, so I'm now trying to update the permissions using the CURL command
curl -u user:pass -X POST -d '{"access":"private","users":[{"permission":"ReadWriteAdmin","account_id":"nessroingrec6"},], "public_fields":["last_modified","parts","user_fields"]}' "https://gateway.watsonplatform.net/concept-insights/api/v2/corpora/nessroingrec6/WOZIAMA" -o permissionChange.txt
Unfortunately I get an error:
{"error":"invalid corpus format","url":"/api/v2/corpora/nessroingrec6/WOZIAMA"}
How do I update the permissions for the corpus so the public can view it?