Authorization: Bearer ********************
{
"status": "approved",
"reviewer_name": "anytao",
"description": "Review has approved",
"submitted_at": 1403014111,
"html_url": "https://github.com/worktile/ngx-planet/pull/127#pullrequestreview-384383294"
}
curl --location -g --request POST 'https://open.pingcode.com/v1/scm/products/{{scm_product_id}}/repositories/{{scm_product_repository_id}}/pull_requests/{{scm_pull_request_id}}/reviews' \
--header 'Content-Type: application/json' \
--data-raw '{
"status": "approved",
"reviewer_name": "anytao",
"description": "Review has approved",
"submitted_at": 1403014111,
"html_url": "https://github.com/worktile/ngx-planet/pull/127#pullrequestreview-384383294"
}'
{
"id": "524587fe700d43b81b080988",
"url": "https://rest_api_root/v1/scm/products/564587fe700d43b81b080765/repositories/564587fe700d43b81b080766/pull_requests/594587fe700d43b81b080789/reviews/524587fe700d43b81b080988",
"product": {
"id": "564587fe700d43b81b080765",
"url": "https://rest_api_root/v1/scm/products/564587fe700d43b81b080765",
"name": "Github",
"type": "github"
},
"repository": {
"id": "564587fe700d43b81b080766",
"url": "https://rest_api_root/v1/scm/products/564587fe700d43b81b080765/repositories/564587fe700d43b81b080766",
"name": "ngx-planet",
"full_name": "worktile/ngx-planet",
"created_at": 1403018919
},
"pull_request": {
"id": "594587fe700d43b81b080789",
"url": "https://rest_api_root/v1/scm/products/564587fe700d43b81b080765/repositories/564587fe700d43b81b080766/pull_requests/594587fe700d43b81b080789",
"number": 1
},
"reviewer": {
"id": "5999aea91f99e33cb7c44964",
"url": "https://rest_api_root/v1/scm/products/564587fe700d43b81b080765/users/5999aea91f99e33cb7c44964",
"name": "anytao"
},
"status": "approved",
"description": "Review has approved",
"submitted_at": 1403014111,
"html_url": "https://github.com/worktile/ngx-planet/pull/127#pullrequestreview-384383294"
}