mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-14 22:33:17 +00:00
add_close_face_recognition (#6998)
* add_close_face_recognition * update * update * update --------- Co-authored-by: zheng.shen <zheng.shen@seafile.com>
This commit is contained in:
@@ -267,6 +267,11 @@ class MetadataManagerAPI {
|
||||
return this.req.post(url);
|
||||
};
|
||||
|
||||
closeFaceRecognition = (repoID) => {
|
||||
const url = this.server + '/api/v2.1/repos/' + repoID + '/metadata/face-recognition/';
|
||||
return this.req.delete(url);
|
||||
};
|
||||
|
||||
getFaceData = (repoID, start = 0, limit = 1000) => {
|
||||
const url = this.server + '/api/v2.1/repos/' + repoID + '/metadata/face-records/?start=' + start + '&limit=' + limit;
|
||||
return this.req.get(url);
|
||||
|
Reference in New Issue
Block a user