You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b33c1f3
Browse filesBrowse the repository at this point in the historyBrowse files
createLivenessSession (named in each language's style) starts a session
and returns its ID, the challenges to show in order and the expiry.
completeLivenessSession submits the frames with mirrored and returns
isLive, the steps and, when the session passed, the liveness token used
for enrolment. LIVENESS_SESSION_INVALID surfaces as the typed API error.
Completion is retried only on 429: any other answer, 503 included, means
the session was already used up, so a retry could only fail.
BREAKING: activeLiveness results no longer carry the token fields,
because the API stopped returning them. This is a new major version,
pinned to contract 2.0.0, with migration notes in the CHANGELOG.
Copy file name to clipboardExpand all lines: README.md
+39-11Lines changed: 39 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Official Python SDK for [LiveXFace](https://github.com/livexface/livexface-pytho
15
15
pip install livexface
16
16
```
17
17
18
-
Validated against API contract 1.0.0 (`/openapi.json``info.version`). The test suite calls every client method against the contract committed in `contract/` and fails if a method, path or required field is not in it; to move to a new contract, copy the release asset `openapi-<version>.json` into `contract/`, then update `CONTRACT_VERSION` and `livexface.CONTRACT_VERSION`.
18
+
Validated against API contract 2.0.0 (`/openapi.json``info.version`). The test suite calls every client method against the contract committed in `contract/` and fails if a method, path or required field is not in it; to move to a new contract, copy the release asset `openapi-<version>.json` into `contract/`, then update `CONTRACT_VERSION` and `livexface.CONTRACT_VERSION`.
0 commit comments