Skip to content
Merged
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
24 changes: 24 additions & 0 deletions provider/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,30 @@ Response bodies must be a `UTF-8` encoded JSON object and must minimally include
}
```

#### HTTP Response Codes

* **200:** OK: operation successful.
* **400:** Bad request.
* **401:** Unauthorized: Invalid, expired, or insufficient scope of token.
* **404:** Not Found: Object(s) do not exist.
* **500:** Internal server error.

#### Error Format

```json
{
"error": "...",
"error_description": "...",
"error_details": [ "...", "..." ]
}
```

| Field | Type | Field Description |
| ------------------- | -------- | ---------------------- |
| `error` | String | Error message string |
| `error_description` | String | Human readable error description (can be localized) |
| `error_details` | String[] (optional) | Array of error details |

All response fields must use `lower_case_with_underscores`.

#### JSON Schema
Expand Down