Skip to content

Commit

Permalink
Update API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-white committed Jul 20, 2023
1 parent ea3c2f8 commit c585433
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ Finally, **system information and configuration** is available via a set of spec

Here major and breaking changes to the API are listed by version.

### ODK Central v2023.4

**Added**:

- [DELETE /sessions/current](/reference/authentication/session-authentication/logging-out-current-session) logs out the current session.

### ODK Central v2023.3

**Added**:
Expand Down Expand Up @@ -420,9 +426,6 @@ Only the session that was used to authenticate the request is logged out. If the
+ Response 403 (application/json)
+ Attributes (Error 403)

+ Response 404 (application/json)
+ Attributes (Error 404)

## HTTPS Basic Authentication [/v1/example]

Standard HTTP Basic Authentication is allowed, but **_strongly discouraged_**. This is because the server must verify your password with every single request, which is very slow to compute: typically, this will add hundreds of milliseconds to each request. For some one-off tasks and in cases where there is no other choice, it is reasonable to choose Basic authentication, but wherever possible we strongly encourage the use of any other authentication method.
Expand Down

0 comments on commit c585433

Please sign in to comment.