From 8b4071dc9e71ee52220914ccc3b9e34b328de96a Mon Sep 17 00:00:00 2001 From: markzegarelli Date: Wed, 11 Sep 2024 14:01:43 -0700 Subject: [PATCH] DOC-250 update error json description --- content/collections/api/en/behavioral-cohorts.md | 5 +++-- public/docs/css/site.css | 3 ++- resources/docs/css/site.css | 3 +++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/content/collections/api/en/behavioral-cohorts.md b/content/collections/api/en/behavioral-cohorts.md index ebdf0e221..601f5bf92 100644 --- a/content/collections/api/en/behavioral-cohorts.md +++ b/content/collections/api/en/behavioral-cohorts.md @@ -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 diff --git a/public/docs/css/site.css b/public/docs/css/site.css index 82096e2c6..88577396e 100644 --- a/public/docs/css/site.css +++ b/public/docs/css/site.css @@ -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 { @@ -2294,4 +2296,3 @@ line-height: 1.25rem; height: 8rem; } } - diff --git a/resources/docs/css/site.css b/resources/docs/css/site.css index c2616bf7b..90550af6d 100644 --- a/resources/docs/css/site.css +++ b/resources/docs/css/site.css @@ -987,3 +987,6 @@ line-height: 1.25rem; text-align: center } } +th { + text-align: left; +} \ No newline at end of file