{
"status": true,
"message": "Images reported successfully."
}picIDs parameter is not provided.{
"status": false,
"message": "picIDs parameter is required"
}picIDs is not an array or contains more than 10 items.{
"status": false,
"message": "picIDs must be an array with upto 10 items."
}reportReason is not an array or contains more than 10 items.{
"status": false,
"message": "reportReason must be an array with upto 10 items."
}picIDs and reportReason arrays do not contain the same number of items.{
"status": false,
"message": "picIDs and reportReason must have the same length."
}{
"status": false,
"message": "Invalid reportReason found. Allowed values are: [Bad clipping, Alignment of Road, Number plate, Window see-through, Logo, Other]"
}reportComment is provided but is not a string.{
"status": false,
"message": "reportComment must be a string."
}{
"status": false,
"message": "Pic not found for picID: 123"
}{
"status": false,
"message": "Unauthorized access for picID: 123"
}{
"status": false,
"message": "Template not found for templateID: 45 (picID: 123)"
}{
"status": false,
"message": "Cannot report image (picID: 123), Use https://apis.autobg.ai/public/api/v1/images/sendForQA-v2 api to redo the images."
}{
"status": false,
"message": "You are not Authorized"
}{
"status": false,
"message": "Rate limit exceeded."
}| Value |
|---|
| Bad clipping |
| Alignment of Road |
| Number plate |
| Window see-through |
| Logo |
| Other |
| Field | Constraint |
|---|---|
| pics | Array of images to report |
| pics[].id | The ID of the image to report |
| pics[].reportReason | Array of one or more reasons for reporting that particular image. |
| reportComment | Optional comment applicable to the report. |
{
"pics": [
{
"id": 693833,
"reportReason": [
"Bad clipping",
"Alignment of Road",
"Logo"
]
},
{
"id": 693907,
"reportReason": [
"Alignment of Road",
"Bad clipping"
]
}
],
"reportComment": "Test Comment."
}| picID | reportReason |
|---|---|
| 693833 | Bad clipping, Alignment of Road, Logo |
| 693907 | Alignment of Road, Bad clipping |
{
"status": false,
"message": "You are not Authorized"
}10 requests per minute per user/API key{
"status": false,
"message": "Rate limit exceeded."
}{
"status": false,
"message": "Service unavailable"
}{
"status": false,
"message": "<error message>"
}"status": false in the response body. Always inspect the status field to determine whether the operation succeeded.curl --location 'https://apis.autobg.ai/public/api/v1/images/reportImages' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"pics": [
{
"id": 693833,
"reportReason": [
"Bad clipping",
"Alignment of Road",
"Logo"
]
},
{
"id": 693907,
"reportReason": [
"Alignment of Road",
"Bad clipping"
]
}
],
"reportComment": "Test Comment."
}'{
"status": true,
"message": "Images reported successfully.",
"data": ""
}