Theme

Reviews

Create a Review

POST https://localize.cirro.io/api/v2/reviews

Parameters

ParameterTypeNote
review[content]requiredstringJSON string of the hash you want to review
review[language]requiredstringiso code of the language of the content
review[formality_level]enumDefault: default. Available options: default, more, less, prefer_more, prefer_less
review[context_id]numberThe id of an existing context

Description

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
Previous
About Reviews