Reviews
Create a Review
POST
https://localize.cirro.io/api/v2/reviews
Parameters
Parameter | Type | Note | |
---|---|---|---|
review[content] | required | string | json string of the hash you want to review |
review[language] | required | string | iso code of the source language |
review[formality_level] | optional | string | Formality level (less, more, default) |
Result
Returns the Review object if creation succeeded. Returns an error if creation failed.
Example
1cat << EOF > payload.json
2{
3 "review": {
4 "content": "{\"key\":\"Hello World\"}",
5 "language": "en",
6 }
7}
8EOF
9
10curl https://localize.cirro.io/api/v2/reviews \
11 -H "Authorization: Bearer <ACCESS_TOKEN>" \
12 -H 'Content-Type: application/json'
13 -d @payload.json