Skip to content

Commit 4abff1a

Browse files
update success response
1 parent 93ef340 commit 4abff1a

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

articles/sentinel/upload-indicators-api.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,10 @@ Approximately 10,000 indicators per minute is the maximum throughput before a th
220220
}
221221
```
222222

223-
### Sample response body with no errors
224-
```json
225-
{
226-
"errors":[]
227-
}
228-
```
229-
230223
### Sample response body with validation error
231-
For example, if you send an array with four indicators, and the first three are good but the fourth doesn't have an `id` (a required field), then an HTTP status code 200 response is generated along with the following body:
224+
If all indicators are validated successfully, an HTTP 200 status is returned with an empty response body.
225+
226+
If validation fails for one or more indicators, the response body is returned with more information. For example, if you send an array with four indicators, and the first three are good but the fourth doesn't have an `id` (a required field), then an HTTP status code 200 response is generated along with the following body:
232227

233228
```json
234229
{

0 commit comments

Comments
 (0)