Skip to content
Draft
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
14 changes: 14 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ The FCVS API can be used by state medical boards (SMBs) to retrieve information

To learn more about FSMB APIs, refer to the [Getting Started](https://github.com/fsmb/api-docs) guide. To learn more about this API and to begin using it in your code, please contact [FSMB](mailto:fcvs@fsmb.org).

This API currently uses a custom error response instead of the standard [FSMB error response](https://github.com/fsmb/api-docs/docs/errors.md). The format of an error response is given here.

```json
{
"code": "Error code",
"message": "Descriptive message",
"target": "Optional target of the error",
"logId": "The ID of the log entry associated with the error, if any",
"innerError": { },
"data": { }
}
```

If the error was caused by a lower level error, then `innerError` contains the error detail of the child error. Some errors may return additional data in the `data` property. The `code` field identifies the underlying error that occurred while the `message` field provides a developer friendly message.

- URL
- Demo: https://services-fcvs-demo.fsmb.org
Expand Down