Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC-250 update error json description #268

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions content/collections/api/en/behavioral-cohorts.md
Original file line number Diff line number Diff line change
Expand Up @@ -518,9 +518,10 @@ The response is a JSON object with this schema:

| Parameter | Description |
| --- | --- |
| `http_code` | Integer. Provides the HTTP error, if available.
| `type` | String. Describes the type of error. |
| `message` | String. Describes the error. |
| `code` | Integer. Internal error code. |
| `metadata` | JSON object. For bad request error (400) with invalid ID while `skip_invalid_ids=false`, this field has the `cohort_id` and `memberships_result` (list of membership JSON). The `memberships_result’`s `skipped_ids` can help identify which IDs were invalid in which operation. For other errors, this field isn't present. |
| `metadata` | JSON object. Describes in more detail the cause of the error. For example, which user ID values are invalid. |

## Update cohort membership

Expand Down
3 changes: 2 additions & 1 deletion public/docs/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -2190,6 +2190,8 @@ line-height: 1.25rem;
margin: 0 0 15px;
text-align: center
}
}th {
text-align: left;
}.hover\:h-6:hover {
height: 1.5rem;
}.hover\:h-8:hover {
Expand Down Expand Up @@ -2294,4 +2296,3 @@ line-height: 1.25rem;
height: 8rem;
}
}

3 changes: 3 additions & 0 deletions resources/docs/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -987,3 +987,6 @@ line-height: 1.25rem;
text-align: center
}
}
th {
text-align: left;
}
Loading