enable change password
This commit is contained in:
@@ -62,12 +62,22 @@ POST /api/v1/admin/videos/{sha256}/process
|
||||
PUT /api/v1/admin/videos/{sha256}/sentences/{index}
|
||||
PUT /api/v1/admin/videos/{sha256}/sentences/{index}/split
|
||||
PUT /api/v1/admin/videos/{sha256}/sentences/{index}/boundary
|
||||
PUT /api/v1/admin/users/password
|
||||
DELETE /api/v1/admin/videos/{sha256}
|
||||
```
|
||||
|
||||
Admin endpoints use `X-Admin-Key` when `ADMIN_API_KEY` is configured. Assessment
|
||||
requests use `X-Client-Key` when `CLIENT_API_KEY` is configured.
|
||||
|
||||
Administrators can set a local password for an SSO-linked account with:
|
||||
|
||||
```bash
|
||||
curl -X PUT https://your-server/api/v1/admin/users/password \
|
||||
-H "X-Admin-Key: $ADMIN_API_KEY" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"username":"bobcoc","password":"new-password"}'
|
||||
```
|
||||
|
||||
`POST /api/v1/audio/sentence-boundaries` accepts an audio file from an
|
||||
authenticated client, generates boundaries in memory/temp storage only, and
|
||||
returns a sentence document. It does not register or archive the uploaded
|
||||
|
||||
Reference in New Issue
Block a user