openapi: 3.0.1 info: title: TVU Networks — Search API description: Search API operations of the TVU Networks public HTTP API, assembled verbatim from the per-endpoint OpenAPI 3.0.1 exports TVU publishes on its own Apifox documentation site (https://docs.tvunetworks.cn/). Each operation body is the provider's own export; only grouping, servers[] and operationId backfill were added by API Evangelist. version: 1.0.0 contact: name: TVU Networks url: https://www.tvunetworks.com/tvu-developer/ servers: - url: https://api.tvunetworks.com description: Prod Env default server - url: https://search.tvunetworks.com description: Apifox server "TVUSearch" paths: /api/import: get: summary: import test deprecated: false description: '' tags: - Search API/search parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: '' content: application/json: schema: type: object properties: {} x-apifox-orders: [] headers: {} x-apifox-name: OK security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-346167500-run operationId: import_test_346167500 x-source-doc: https://docs.tvunetworks.cn/api-346167500.md /api/metadataproto/MetadataUploader.RegisterWebhook: post: summary: register webhook deprecated: false description: "register webhook\n\nwebhook request body\n\n```\n{\n \"status\": \"start / stop\"\ ,\n \"sourceObjectId\": \"1339231919795212288\",\n \"mediaObjectId\": \"1374752064554536960\"\ ,\n \"previewMediaPath\": {\n \"path\": \"http://pp-va-001.s3.us-east-1.amazonaws.com/PP/RECORDINGS/1/play.m3u8\"\ ,\n \"duration\": 69948450,\n \"fileSize\": 33148124844,\n \"startTimestamp\"\ : 1747808030709,\n \"endTimestamp\": 1747877979159\n },\n \"highResMediaPath\": {\n\ \ \"path\": \"http://pp-va-001.s3.us-east-1.amazonaws.com/PP/RECORDINGS/1/play.m3u8\",\n\ \ \"duration\": 69948450,\n \"fileSize\": 33148124844,\n \"startTimestamp\"\ : 1747808030709,\n \"endTimestamp\": 1747877979159\n },\n \"thumbnailPath\": \"http://pp-va-001.s3.us-east-1.amazonaws.com/PP/RECORDINGS/1/rec.jpg\"\ ,\n \"mediaFileType\": 1\n}\n\n```" tags: - Search API/public parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: type: object properties: webhookURL: type: string description: url operation: type: string description: register / unregister sourceObject: type: array items: type: string description: The list of sourceObjects to be considered (if an empty list is passed, then all sourceObjects are considered). x-apifox-refs: {} x-apifox-orders: - webhookURL - operation - sourceObject required: - webhookURL - operation - sourceObject example: webhookURL: https://vivid-hamburger.com/ operation: register sourceObject: - '1377420057780555776' responses: '200': description: '' content: application/json: schema: type: object properties: errorCode: type: string description: '0x0' errorInfo: type: string description: no errror x-apifox-refs: {} x-apifox-orders: - errorCode - errorInfo required: - errorInfo - errorCode example: errorCode: '0x0' errorInfo: no errror headers: {} x-apifox-name: OK security: [] x-apifox-folder: Search API/public x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-414798733-run operationId: register_webhook_414798733 x-source-doc: https://docs.tvunetworks.cn/api-414798733.md /api/resource/v2/cut-json: post: summary: cut-json deprecated: false description: 'Cut JSON: Only modify the offset field values in the root JSON, including chunk_begin_timestamp, chunk_end_timestamp, begin_offset, and end_offset; the HLS source remains unchanged.' tags: - Search API/extract parameters: - name: tagvalue in: header description: '' required: false example: '{{tagvalue}}' schema: type: string default: '{{tagvalue}}' - name: SID in: header description: '' required: false example: '{{SID}}' schema: type: string default: '{{SID}}' requestBody: content: application/json: schema: type: object properties: jsonUrl: type: string description: json url markIn: type: integer description: The offset of the cut start point relative to the origin. markOut: type: integer description: The offset of the cut endpoint relative to the starting point fileName: type: string description: file name uploadPath: type: string description: The upload location for the trimmed JSON file; if not specified, it defaults to the same directory as the original JSON. pathId: type: string description: 'Translation: The driveId required for synchronizing the driver.' bucket: type: string description: s3 bucket region: type: string description: s3 region serviceCaller: type: string description: 'Caller identifier, for example: searchd' required: - jsonUrl - region - bucket - markOut - markIn - fileName x-apifox-orders: - jsonUrl - markIn - markOut - fileName - uploadPath - pathId - bucket - region - serviceCaller responses: '200': description: '' content: application/json: schema: type: object properties: jsonUrl: type: string description: The json url after trimming errorCode: type: integer description: error code errorMessage: type: string description: error message required: - jsonUrl - errorMessage - errorCode x-apifox-orders: - jsonUrl - errorCode - errorMessage headers: {} x-apifox-name: OK security: - bearer: [] x-apifox: schemeGroups: - id: pCKNfYFw3FWFznJsmvIqj schemeIds: - bearer required: true use: id: pCKNfYFw3FWFznJsmvIqj scopes: pCKNfYFw3FWFznJsmvIqj: bearer: [] x-apifox-folder: Search API/extract x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-236527411-run operationId: cut_json_236527411 x-source-doc: https://docs.tvunetworks.cn/api-236527411.md /api/resource/v2/export: post: summary: export deprecated: false description: '' tags: - Search API/extract - public parameters: - name: tagvalue in: header description: '' required: false example: '{{tagvalue}}' schema: type: string default: '{{tagvalue}}' - name: SID in: header description: '' required: false example: '{{SID}}' schema: type: string default: '{{SID}}' requestBody: content: application/json: schema: type: object properties: highResolutionMediaFilePath: type: string description: the corresponding hls http link examples: - https://mma-s3-qa.s3.ap-east-1.amazonaws.com/ts/3CB5559B28436AFA/F417ED28275DAE820000000000000001/240521-08-50-39-224/1/play.m3u8 startTime: type: integer description: start time of the clipping interval format: int64 examples: - 1716281448865 duration: type: integer description: duration of the clipping interval format: int64 examples: - 716000 userAccount: type: string description: user account(email or userid) examples: - calebpan@tvunetworks.com withMetadataJson: type: boolean description: whether or not to generate metadata json default: false sourceObjectId: type: string description: sourceObjectId used to generate metadata json fileName: type: string description: cut video file naming examples: - public_export_test fileType: type: string description: video file type, e.g. ts/mov/mp4/json default: ts examples: - mov audioVolume: type: string description: 'set audio volume, eg: 2.0, 0.5' isFrameLevel: type: boolean description: whether or not the export is frame-accurate default: false isCover: type: boolean description: Whether to overwrite existing files with the same name in history isDryrun: type: boolean description: 'all logic runs except for extracting files ' default: true isMRSS: type: boolean description: 'set to true to return video and thumbnail information. ' audioAdjustment: type: string audioPadding: type: object properties: headLen: type: number description: max 5000 (ms) tailLen: type: number description: max 5000 (ms) unit: type: string description: ms/frame description: The Audio Padding feature allows users to configure a muted audio duration before and/or after a clip. Users can specify the padding in seconds or video frames, and the system automatically converts between the two based on the clip's frame rate. x-apifox-orders: - headLen - tailLen - unit x-apifox-ignore-properties: [] videoPadding: type: object properties: mode: type: integer description: 0(默认) -> hard black 1-> fade black headLen: type: integer tailLen: type: integer unit: type: string description: ms/frame x-apifox-orders: - mode - headLen - tailLen - unit x-apifox-ignore-properties: [] destination: $ref: '#/components/schemas/PublicDestination' description: upload location information required: - highResolutionMediaFilePath - startTime - duration - userAccount x-apifox-orders: - highResolutionMediaFilePath - startTime - duration - userAccount - withMetadataJson - sourceObjectId - fileName - fileType - audioVolume - isFrameLevel - isCover - isDryrun - isMRSS - audioAdjustment - audioPadding - videoPadding - destination x-apifox-ignore-properties: [] example: highResolutionMediaFilePath: https://tvu-tbs-project.s3.ap-northeast-1.amazonaws.com/ts/FFFFFFF0000E5612/143FEF1EF65B38970000000000000002/240527-05-11-16-159/181/play.m3u8 startTime: 1732035540427 duration: 180000 userAccount: calebpan@tvunetworks.com fileName: soffee-20241120 fileType: ts isFrameLevel: false isDryrun: true responses: '200': description: '' content: application/json: schema: type: object properties: errorCode: type: integer description: error code errorMsg: type: string description: error message isDryrun: type: boolean description: 'All logic runs except for extracting files ' timeWait: type: integer description: (ms) This non-blocking API returns this value that helps decide when to retry the operation. if it’s 0 , videoPath is the real file path. videoPath: type: string description: Full path and pre-signed for 1 hours (if the video file not be public-read) baseVideoPath: type: string description: No signature export video link metadataJsonPath: type: string description: Full path or pre-signed for 1 hours (if ihe metadata json file not be public-read) baseMetadataJsonPath: type: string description: No signature export metadata json link thumbnailInfo: type: object properties: url: type: string width: type: string height: type: string x-apifox-orders: - url - width - height x-apifox-ignore-properties: [] videoInfo: type: object properties: url: type: string type: type: string bitrate: type: string width: type: string height: type: string framerate: type: string duration: type: string x-apifox-orders: - url - type - bitrate - width - height - framerate - duration x-apifox-ignore-properties: [] videoDuration: type: integer description: video file length format: int64 fileSize: type: integer description: video file size format: int64 required: - errorCode - errorMsg - isDryrun - timeWait - videoPath - baseVideoPath - metadataJsonPath - baseMetadataJsonPath - videoDuration - fileSize x-apifox-orders: - errorCode - errorMsg - isDryrun - timeWait - videoPath - baseVideoPath - metadataJsonPath - baseMetadataJsonPath - thumbnailInfo - videoInfo - videoDuration - fileSize x-apifox-ignore-properties: [] headers: {} x-apifox-name: OK security: - bearer: [] x-apifox: schemeGroups: - id: KXaVv6qS2vTxEg6zy9eVx schemeIds: - bearer required: true use: id: KXaVv6qS2vTxEg6zy9eVx scopes: KXaVv6qS2vTxEg6zy9eVx: bearer: [] x-apifox-folder: Search API/extract x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-236527410-run operationId: export_236527410 x-source-doc: https://docs.tvunetworks.cn/api-236527410.md /api/resource/v2/exportaudio: post: summary: exportaudio deprecated: false description: export audio tags: - Search API/extract - public parameters: - name: tagvalue in: header description: '' required: false example: '{{tagvalue}}' schema: type: string default: '{{tagvalue}}' - name: SID in: header description: '' required: false example: '{{SID}}' schema: type: string default: '{{SID}}' requestBody: content: application/json: schema: type: object properties: startTime: type: integer description: audio start time(timestamp, ms) duration: type: integer description: audio duration(ms) sourceObjectId: type: string description: sourceObjectId fileName: type: string description: 'file name with suffix (eg: a.flac)' sampleRate: type: integer description: sample rate fileStartTimecode: type: integer description: audio file start time code fileEndTimecode: type: integer description: audio file end time code reTranscribe: $ref: '#/components/schemas/ReTranscribe' description: parameter information required for re-transcribe required: - startTime - duration - sourceObjectId - fileName x-apifox-orders: - startTime - duration - sourceObjectId - fileName - sampleRate - fileStartTimecode - fileEndTimecode - reTranscribe x-apifox-ignore-properties: [] responses: '200': description: '' content: application/json: schema: type: object properties: errorCode: type: integer description: error code errorMessage: type: string description: error message status: type: integer description: status code timeWait: type: integer description: next request waiting time audioPath: type: string description: audio http link required: - errorCode - errorMessage - status - timeWait - audioPath x-apifox-orders: - errorCode - errorMessage - status - timeWait - audioPath x-apifox-ignore-properties: [] headers: {} x-apifox-name: OK security: - bearer: [] x-apifox: schemeGroups: - id: tYQoaYSNmaHnpb0GTwy14 schemeIds: - bearer required: true use: id: tYQoaYSNmaHnpb0GTwy14 scopes: tYQoaYSNmaHnpb0GTwy14: bearer: [] x-apifox-folder: Search API/extract x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-236527414-run operationId: exportaudio_236527414 x-source-doc: https://docs.tvunetworks.cn/api-236527414.md /api/resource/v2/longexport: post: summary: longexport deprecated: false description: '' tags: - Search API/extract - public parameters: - name: tagvalue in: header description: '' required: false example: '{{tagvalue}}' schema: type: string default: '{{tagvalue}}' - name: SID in: header description: '' required: false example: '{{SID}}' schema: type: string default: '{{SID}}' requestBody: content: application/json: schema: type: object properties: userAccount: type: string description: user account(email or userid) examples: - calebpan@tvunetworks.com filePath: type: string description: the corresponding hls http link examples: - https://mma-s3-qa.s3.ap-east-1.amazonaws.com/ts/3CB5559B28436AFA/F417ED28275DAE820000000000000001/240521-08-50-39-224/1/play.m3u8 startTime: type: integer description: in millisecond. start time of the filePath format: int64 examples: - 1716281448865 duration: type: integer description: in millisecond. duration of the filePath format: int64 examples: - 716000 maxChunkDuration: type: integer description: in millisecond. The maxinum value is 14400000 (4 hours) fileName: type: string description: cut video file namie prefix examples: - public_export_test fileType: type: string description: video file type, TS by default examples: - mov destination: $ref: '#/components/schemas/PublicDestination' description: upload location information required: - userAccount - filePath - startTime - duration - maxChunkDuration - fileName x-apifox-orders: - userAccount - filePath - startTime - duration - maxChunkDuration - fileName - fileType - destination x-apifox-ignore-properties: [] example: userAccount: calebpan@tvunetworks.com filePath: https://mma-video-new.S3.us-east-1.amazonaws.com/ts/FFFFFFF0000EE351/74863CBB4E14B04E/240821-02-36-42-576/1/play.m3u8 startTime: 1721764355777 duration: 2708371 maxChunkDuration: 7200000 fileName: 072424-Netanyahu-Congress-AP2_3F74874773235994 fileType: ts destination: cloudVendor: s3 bucket: mimir-video region: us-east-1 folder: TVU_Search responses: '200': description: '' content: application/json: schema: type: object properties: errorCode: type: integer description: error code errorMsg: type: string description: error message timeWait: type: integer description: (ms) This non-blocking API returns this value that helps decide when to retry the operation. if it’s 0 , videoPath is the real file path. videoList: type: array items: $ref: '#/components/schemas/VideoInfo' description: clip list nullable: true required: - errorCode - errorMsg - timeWait - videoList x-apifox-orders: - errorCode - errorMsg - timeWait - videoList x-apifox-ignore-properties: [] headers: {} x-apifox-name: OK security: - bearer: [] x-apifox: schemeGroups: - id: iK0YzFupKl5MDzstiA6CZ schemeIds: - bearer required: true use: id: iK0YzFupKl5MDzstiA6CZ scopes: iK0YzFupKl5MDzstiA6CZ: bearer: [] x-apifox-folder: Search API/extract x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-236527412-run operationId: longexport_236527412 x-source-doc: https://docs.tvunetworks.cn/api-236527412.md /api/resource/v2/thumbnail: get: summary: thumbnail deprecated: false description: get thumbnail api tags: - Search API/extract - public parameters: - name: LivePath in: query description: hls http link required: false example: https://pp-va-001.s3.amazonaws.com/MH/RECORDINGS/1253344220354326528/e733264437ce4575954abc7841fd0e85/1/play.m3u8 schema: type: string - name: VodUrl in: query description: vod url (mutually exclusive with the above LivePath) required: false schema: type: string - name: Offset in: query description: ms required: true schema: type: integer - name: tagvalue in: header description: '' required: false example: '{{tagvalue}}' schema: type: string default: '{{tagvalue}}' - name: SID in: header description: '' required: false example: '{{SID}}' schema: type: string default: '{{SID}}' responses: '200': description: '' content: application/json: schema: type: object properties: ErrorCode: type: number description: error code default: 1000 ErrorMessage: type: string description: error message default: success ImagePath: type: string description: Path for thumbnail upload to imgbed required: - ErrorCode - ErrorMessage - ImagePath x-apifox-orders: - ErrorCode - ErrorMessage - ImagePath headers: {} x-apifox-name: OK security: - bearer: [] x-apifox: schemeGroups: - id: -5abKnyHTjWvhoZ9_ql7G schemeIds: - bearer required: true use: id: -5abKnyHTjWvhoZ9_ql7G scopes: -5abKnyHTjWvhoZ9_ql7G: bearer: [] x-apifox-folder: Search API/extract x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-236527413-run operationId: thumbnail_236527413 x-source-doc: https://docs.tvunetworks.cn/api-236527413.md /api/search/v1/i/activity: post: summary: Send session heartbeat to track user activity deprecated: false description: Sends a heartbeat to update the user's last-active timestamp, keeping the session alive and enabling real-time active-user tracking. Call this periodically (recommended every 30–60 seconds) while the user is viewing the application. The optional 'page' parameter records which page the user is currently on for per-page analytics. tags: - Search API/search/session - session parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/controllers.UpdateActivityReq' example: userid: jornalismo@recordtvrio.com.br sessionid: 752AB32D93A24127877CEA7BD8A5DCA0 page: /indexSearch responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/controllers.UpdateActivityResp' example: code: 0 message: succ headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/session x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959085-run operationId: Send_session_heartbeat_to_track_user_activity_468959085 x-source-doc: https://docs.tvunetworks.cn/api-468959085.md /api/search/v1/i/autosearch: post: summary: Run an auto-search query deprecated: false description: Executes an active search across media objects using the provided criteria and time range, returning matched results grouped by source object. tags: - Search API/search/query - query parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.AutoSearchReq' example: userId: ff8080816b793b5a016b8f11f2090057 criteria: sources: - '1031567882850549760' fields: - event keywords: - biden persons: null relationship: or conditions: null logos: null tsRange: startTime: 1778304121635 endTime: 1778304241635 responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/controllers.ActiveSearchResp' example: code: 0 message: succ data: size: 0 total: 0 matchList: null headers: {} x-apifox-name: '' '400': description: Bad Request content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/query x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959086-run operationId: Run_an_auto_search_query_468959086 x-source-doc: https://docs.tvunetworks.cn/api-468959086.md /api/search/v1/i/click: get: summary: List persons detected in a media file by face recognition deprecated: false description: 'Returns a paginated list of persons identified via face recognition within the specified media recording and time window. Identify the recording by ''ph_path'' (required); optionally narrow to a specific TVU device using ''peerid''. Each result includes the person''s ID, name, thumbnail, and detected timestamps. Sort options: sort=1 ranks persons by how frequently they appear (useful for recurrence scoring); sort=2 lists persons in the order they first appear as on-screen guests. Session ID required.' tags: - Search API/search/person - person parameters: - name: userid in: query description: Authenticated user ID required: true example: soffeeshu4@tvu.com schema: type: string - name: sessionid in: query description: Valid session ID for authentication required: true schema: type: string - name: uid in: query description: Unique media file identifier required: false example: 05-FFFFFFF11015C601-0C206C452A419A78 schema: type: string - name: ph_path in: query description: Physical path of the media file required: true example: mp4/FFFFFFF00015C633/55524C204558544C0000018F6581E6E4/240530-05-37-41-157/2/rt.mpd schema: type: string - name: pathtype in: query description: Path type of the media file required: true example: mpd schema: type: string - name: peerid in: query description: Peer node ID of the source device required: false example: FFFFFFF00015C633 schema: type: string - name: starttime in: query description: Search start time in milliseconds since epoch required: false example: 1717055940297 schema: type: integer - name: endtime in: query description: Search end time in milliseconds since epoch required: false example: 1717059381397 schema: type: integer - name: pageNum in: query description: Page number (1-based) required: false example: 1 schema: type: integer - name: pageSize in: query description: Number of results per page required: false example: 999 schema: type: integer - name: sort in: query description: 'Sort method: 1=by recurrence, 2=by in-guest order' required: false example: 1 schema: type: integer - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check code field for logical results: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.PersonListClickResp' example: code: 0 message: succ data: size: 1 total: 1 list: - name: '' person_id: 1710142217249mbzk5zx0 path: FFFFFFF00015C633_1717048728819.jpg position: height: 271 left: 1076 top: 118 width: 186 peer_id: FFFFFFF00015C633 timestamp: 1717055943701 face_num: 1 last_update_ts: 1717055943701 tslist: - 1717055943701 tracklist: - - 1717055943701 - 1717055944101 group_id: 00fe20a2d2d84093b304f0d54d4bedda total_track_duration: 1000 host_person: name: '' total_track_duration: 0 headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/person x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959089-run operationId: List_persons_detected_in_a_media_file_by_face_recognition_468959089 x-source-doc: https://docs.tvunetworks.cn/api-468959089.md /api/search/v1/i/combtag: post: summary: Search media content by tags and free text deprecated: false description: Searches TVU media content across multiple types (assets, captions, sources) using structured tag filters combined with an optional free-text query. Tag filters include person IDs, story IDs, media UIDs, feature keywords, and object categories (objectSources, objectUserIds, objectGroupIds). When AI search is enabled, free-text queries are automatically parsed to extract person name filters and keyword intents. Use the 'source' array to restrict which content types are searched. Results are paginated and sorted per the 'sort' parameter. Session ID required. tags: - Search API/search/slug - slug parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.SearchBaseTagsReq' example: from: monitor pageNum: 1 pageSize: 8 permission: enable: true query: '' sessionid: 25D978D710BD4C39B1EFB1644AF72631 sort: 1 source: - source tags: feature: [] objectEvents: [] objectGeo: [] objectGroupIds: - bc3a83594dcd41288c52dac3c552da3d - 52dd9380410d4430b23c35d986ed23aa objectSources: - '1447853763061747712' objectTags: [] objectUserIds: - 4668211d13424faea1677b51810cb488 personids: [] storyids: [] tsrange: starttime: 1770505900337 endtime: 1778281900337 userid: enzoricardo@zohomail.com responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/controllers.SearchCombtagsResp' example: code: 0 message: succ data: list: - DataObjectId: '1447853763061747712' Score: null hit_data: asset_id: 01088b2511ca4671908e0bae76579f89 docid: '' expl: null index: '' lang: en mpd_info: [] objectTag: null object_asset: '1502568296128581632' object_grid: '1447853763061747712' slug: Test slug_highlight: '' source: YouTube, Dec 8, 2025 at 8:33PM source_highlight: '' source_id: 55524c204558544c0000019b006c244e source_type: YouTube status: 2 timestamp_end: 1778283000000 timestamp_start: 1778281773118 update_timestamp: 1778281824416 type: source size: 1 total: 3 headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/slug x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959091-run operationId: Search_media_content_by_tags_and_free_text_468959091 x-source-doc: https://docs.tvunetworks.cn/api-468959091.md /api/search/v1/i/fetchallobjecttag: post: summary: Fetch all tags across objects deprecated: false description: Returns all object tag records matching the request criteria, including total count and paginated results. tags: - Search API/search/object - object parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.FetchAllObjectTagReq' example: classifications: [] groupId: [] responses: '200': description: 'Successful response; check code field for logical results: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.FetchAllObjectTagResp' example: result: [] headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/object x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959092-run operationId: Fetch_all_tags_across_objects_468959092 x-source-doc: https://docs.tvunetworks.cn/api-468959092.md /api/search/v1/i/fetchobjecttag: post: summary: Fetch tags for an object deprecated: false description: Returns the tag records associated with the specified object, with total count and result list. tags: - Search API/search/object - object parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.FetchObjectTagReq' example: classifications: [] objectIds: [] responses: '200': description: 'Successful response; check code field for logical results: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/object x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959093-run operationId: Fetch_tags_for_an_object_468959093 x-source-doc: https://docs.tvunetworks.cn/api-468959093.md /api/search/v1/i/getobjectdetail: post: summary: Retrieve detailed object info deprecated: false description: Returns full detail of an object including its attributes, type, and tangible associations. tags: - Search API/search/object - object parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.GetObjectReq' responses: '200': description: 'Successful response; check code field for logical results: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.GetObjectDetailResp' example: data: tangibleAttributes: [] headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/object x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959094-run operationId: Retrieve_detailed_object_info_468959094 x-source-doc: https://docs.tvunetworks.cn/api-468959094.md /api/search/v1/i/getrecordinginfoV2: post: summary: Retrieve recording info array by task ID deprecated: false description: Returns an array of recording information for the specified task ID. This v2 endpoint returns an ordered array rather than a single object. tags: - Search API/search/recording - recording parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.RecordingInfoQReq' responses: '200': description: 'Successful response; check code field for logical results: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.GetRecordingInfoV2Resp' headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/recording x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959100-run operationId: Retrieve_recording_info_array_by_task_ID_468959100 x-source-doc: https://docs.tvunetworks.cn/api-468959100.md /api/search/v1/i/getwordssupportlang: get: summary: List caption supported languages deprecated: false description: Returns the supported caption languages available for a given media path and time range. tags: - Search API/search/caption - caption parameters: - name: uid in: query description: Unique media file identifier required: true schema: type: string - name: ph_path in: query description: Physical path of the media file required: true schema: type: string - name: peerid in: query description: Peer node ID of the source device required: true schema: type: string - name: pathtype in: query description: Path type identifier (e.g. live, vod) required: true schema: type: string - name: starttime in: query description: Search start time in milliseconds since epoch required: true schema: type: integer - name: endtime in: query description: Search end time in milliseconds since epoch required: true schema: type: integer - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check code field for logical results: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.SearchWordsResp' example: data: list: [] size: 1 total: 3 headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/caption x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959102-run operationId: List_caption_supported_languages_468959102 x-source-doc: https://docs.tvunetworks.cn/api-468959102.md /api/search/v1/i/globalnametag: post: summary: Search persons globally by name or ID tags deprecated: false description: Searches for named persons across all accessible groups and data sources. Accepts a free-text name query (e.g. 'John Smith') and/or a list of known person IDs as tag filters to narrow results. Unlike the group-scoped name search, this endpoint queries the global person index and returns matches from any group library accessible to the caller. Each result includes person profile metadata. Pagination via pageNum/pageSize. Session ID required. tags: - Search API/search/person - person parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.SearchPersonNameWithTagsReq' example: query: ROBINSON size: 20 userid: shorvath@newsnationnow.com sessionid: 1C0C49E66DAC4CEE941EF70F77A94A9F tsrange: starttime: 1775684026048 endtime: 1778276026048 tags: personids: [] permission: objectSources: - '1031568072126906368' - '1031567701400764416' enable: true responses: '200': description: 'Successful response; check code field for logical results: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.SearchPersonNameWithTagsResp' example: code: 0 message: succ data: host_person: name: '' list: - access: peerlist: - FFFFFFF00001B200 asset_num: 1 face_num: 2 group_id: b7f47630d47c4479aff16b9e1862e77d name: Amy Robinson path: FFFFFFF00001B200_1721098514284.jpg peer_id: FFFFFFF00001B200 person_id: 1721098512007fkpmi32n position: height: 167 left: 1330 top: 364 width: 124 timestamp: 1721098514284 - access: peerlist: - FFFFFFF00001B203 asset_num: 1 face_num: 51 group_id: b7f47630d47c4479aff16b9e1862e77d name: Eartha Robinson path: FFFFFFF00001B203_1714742713669.jpg peer_id: FFFFFFF00001B203 person_id: 1714742710657872ut2gm position: height: 183 left: 439 top: 144 width: 135 timestamp: 1714742713669 size: 4 total: 4 headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/person x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959090-run operationId: Search_persons_globally_by_name_or_ID_tags_468959090 x-source-doc: https://docs.tvunetworks.cn/api-468959090.md /api/search/v1/i/marksrt: post: summary: Generate a marked SRT subtitle file deprecated: false description: Generates an SRT subtitle file for the specified media segment and mark range, returning the output file path. tags: - Search API/search/srt - srt parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: multipart/form-data: schema: type: object properties: accessTime: type: integer format: int64 example: 0 enableTimeCode: description: enableTimeCode query bool true "enableTimeCode" type: boolean example: '' export_filename: description: export_filename query string true "export_filename" None type: string example: '' file_start_ts: description: file_start_ts query int64 true "file_start_ts" 0 type: integer default: 0 example: 0 filename: description: filename query string true "filename" None type: string example: '' filetype: description: filetype query string true "filetype" type: string example: '' languagetype: description: languagetype query string true "languagetype" type: string example: '' mark_end: description: mark_end query int64 true "mark_end" 0 type: integer example: 0 mark_start: description: mark_start query int64 true "mark_start" 0 type: integer example: 0 pathtype: description: pathtype query string true "pathtype" type: string example: '' peerid: description: peerid query string true "peerid" type: string example: '' ph_path: description: ph_path query string true "ph_path" type: string example: '' search_end_ts: description: search_end_ts query int64 true "search_end_ts" 0 type: integer example: 0 search_start_ts: description: search_start_ts query int64 true "search_start_ts" 0 type: integer example: 0 sessionid: description: sessionid query string true "sessionid" type: string example: '' source_object_id: description: source object id query string true type: string example: '' timeOffset: description: timeOffset config the offset of subtitle appearance time type: integer example: 0 time_of_day_frequency: description: Maximum word-frequency length supported in time-of-day format type: integer example: 0 time_zone: description: Special time value used to designate the subtitle start/end time type: string example: '' uid: description: uid query string true "uid" None type: string example: '' userid: description: userid query string true "userid" type: string example: '' responses: '200': description: 'Successful response; check code field for logical results: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.GenMarkSrtResp' headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/srt x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959104-run operationId: Generate_a_marked_SRT_subtitle_file_468959104 x-source-doc: https://docs.tvunetworks.cn/api-468959104.md /api/search/v1/i/object: post: summary: Search objects with tag filters deprecated: false description: Returns a list of objects matching the query along with aggregated tag and type maps, respecting user permission groups. tags: - Search API/search/object - object parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.ObjectQReq' example: filters: deleteFlags: [] events: [] features: [] geo: [] objectIds: [] objectIntTypes: [] objectTypes: [] sources: [] status: [] tags: [] tangibleTypes: [] needFields: [] permission: groupIds: [] userIds: [] tsRange: endtime: 1778304241635 starttime: 1778304121635 responses: '200': description: 'Successful response; check code field for logical results: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.SearchObjectTagsResp' headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/object x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959095-run operationId: Search_objects_with_tag_filters_468959095 x-source-doc: https://docs.tvunetworks.cn/api-468959095.md /api/search/v1/i/objecttagsuggestion: post: summary: Get tag autocomplete suggestions for an object deprecated: false description: Returns suggested tag values based on a partial input string for the specified object. tags: - Search API/search/object - object parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.ObjectTagSuggestionReq' example: classifications: [] groupId: [] responses: '200': description: 'Successful response; check code field for logical results: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.GetObjectTagSuggestionResp' example: result: [] headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/object x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959096-run operationId: Get_tag_autocomplete_suggestions_for_an_object_468959096 x-source-doc: https://docs.tvunetworks.cn/api-468959096.md /api/search/v1/i/sctemarkerinfo: post: summary: Query SCTE-35 marker events by time range deprecated: false description: Returns SCTE-35 splice/marker events for the specified source object within the given time range. tags: - Search API/search/scene - scene parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.ScteMarkerInfoReq' responses: '200': description: 'Successful response; check code field for logical results: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.GetScteMarkerInfoResp' example: result: [] headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/scene x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959105-run operationId: Query_SCTE_35_marker_events_by_time_range_468959105 x-source-doc: https://docs.tvunetworks.cn/api-468959105.md /api/search/v1/i/searchfileformatbypath: post: summary: Search file format info by path deprecated: false description: Returns the file format details (codec, container, resolution) for a media file identified by its path. tags: - Search API/search/object - object parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.SearchFileFormatByPathReq' responses: '200': description: 'Successful response; check code field for logical results: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/object x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959097-run operationId: Search_file_format_info_by_path_468959097 x-source-doc: https://docs.tvunetworks.cn/api-468959097.md /api/search/v1/i/searchmediabyids: post: summary: Search media objects by ID list deprecated: false description: Returns media object records for the provided list of object IDs. tags: - Search API/search/object - object parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.SearchMediaByIdsReq' example: objectIds: [] responses: '200': description: 'Successful response; check code field for logical results: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.SearchMediaByIdsResp' example: result: [] headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/object x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959098-run operationId: Search_media_objects_by_ID_list_468959098 x-source-doc: https://docs.tvunetworks.cn/api-468959098.md /api/search/v1/i/searchobjectidbymedia: post: summary: Find object IDs by media paths deprecated: false description: Returns object records whose media paths match any of the provided path strings. tags: - Search API/search/object - object parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.SearchObjectIdByMediaReq' example: mediaPathes: [] responses: '200': description: 'Successful response; check code field for logical results: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.SearchObjectByMediaResp' example: result: [] headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/object x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959099-run operationId: Find_object_IDs_by_media_paths_468959099 x-source-doc: https://docs.tvunetworks.cn/api-468959099.md /api/search/v1/i/searchsummarization: post: summary: Search stored summarizations by time range deprecated: false description: Returns stored AI summarization items for the specified source object and time range, sorted chronologically. tags: - Search API/search/query - query parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.SearchSummarizationRequest' example: sourceObjectId: '1400073057711820800' startTime: 1778298487122 endTime: 1778299320439 responses: '200': description: 'Successful response; check code field for logical results: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.SearchSummarizationResp' example: data: [] headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/query x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959087-run operationId: Search_stored_summarizations_by_time_range_468959087 x-source-doc: https://docs.tvunetworks.cn/api-468959087.md /api/search/v1/i/summarization: post: summary: Get AI summarization for a media segment deprecated: false description: 'Returns an AI-generated text summarization for the specified source object and time range. Example request: ```json { "sourceObject": "1326008830139699200", "path": "", "start": 1778306200900, "end": 1778307400115, "type": 3 } ``` Example response: ```json { "code": 0, "message": "succ", "source": "{\"peer_id\":\"FFFFFFF0001CFB05\",\"text\":\"Top standby now here in a minute or two...\"}", "summarization": "Weather conditions affecting police helicopter operations." } ```' tags: - Search API/search/query - query parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.SummarizationRequest' example: sourceObject: '1326008830139699200' path: '' start: 1778306200900 end: 1778307400115 type: 3 responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/controllers.GetSummarizationResp' example: code: 0 message: succ source: '{"peer_id":"FFFFFFF0001CFB05","uid":"05-FFFFFFF0001CFB05-DB1D4D46A5BCCB90","text":"Top standby now here in a minute or two. Well. I have it for the moment here...","lang":"en-us","sourceObjectId":"1326008830139699200"}' summarization: Weather conditions affecting police helicopter operations. headers: {} x-apifox-name: '' '400': description: Bad Request content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/query x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959088-run operationId: Get_AI_summarization_for_a_media_segment_468959088 x-source-doc: https://docs.tvunetworks.cn/api-468959088.md /api/search/v1/i/updateclick: post: summary: Record a user click on a search result deprecated: false description: Records a user's click on a specific search result, incrementing that document's click-through count and logging the query context (query string, rank position, language, user agent, session) for search relevance analytics. Setting 'order' to 1 additionally writes the query to the search query frequency log. Call this once per result click from the client after the user opens a result. Session ID required. tags: - Search API/search/doc - doc parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/controllers.UpdateClickReq' responses: '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/controllers.UpdateClickCntResp' headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/doc x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959106-run operationId: Record_a_user_click_on_a_search_result_468959106 x-source-doc: https://docs.tvunetworks.cn/api-468959106.md /api/search/v1/i/version: get: summary: Get deployed service version deprecated: false description: Returns the version string of the currently deployed search service instance. Useful for build verification, compatibility checks, and troubleshooting. The version is read from 'VERSION.txt' bundled with the deployment; returns 'unknown_test' if the file is absent or unreadable. tags: - Search API/search/health - health parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/controllers.GetVersionResponse' headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/health x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959107-run operationId: Get_deployed_service_version_468959107 x-source-doc: https://docs.tvunetworks.cn/api-468959107.md /api/search/v1/i/words: get: summary: Retrieve caption transcript within a media time range deprecated: false description: Returns speech-to-text caption segments (each containing transcript text and start/end timestamps) from a broadcast recording within the specified time window. Identify the recording using 'peerid' (TVU device peer ID) and 'ph_path' (placeholder file path). 'pathtype' must be provided to route the request correctly, and 'language_type' must match the language used during transcription. Use this to extract the spoken transcript for any segment of a live or recorded broadcast. Session ID required. tags: - Search API/search/caption - caption parameters: - name: uid in: query description: Unique identifier of the media file (MPD path). Can be omitted when peerid is provided. required: false schema: type: string - name: ph_path in: query description: Placeholder file path identifying the media recording. required: true schema: type: string - name: peerid in: query description: TVU device peer ID (e.g. 'A1B2C3D4'). Identifies the source recording device. required: true schema: type: string - name: pathtype in: query description: Type/category of the media path. Required to route the query correctly. required: true schema: type: string - name: starttime in: query description: Start of the search time range, in Unix milliseconds. required: true schema: type: integer - name: endtime in: query description: End of the search time range, in Unix milliseconds. Must be >= starttime. required: true schema: type: integer - name: language_type in: query description: Language/locale code of the caption to search (e.g. 'en-US', 'zh'). Must match the language used during transcription. required: true schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/controllers.SearchWordsResp' headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/caption x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959103-run operationId: Retrieve_caption_transcript_within_a_media_time_range_468959103 x-source-doc: https://docs.tvunetworks.cn/api-468959103.md /api/search/v2/agentsearch: post: summary: AI agent search deprecated: false description: Perform a natural language AI-powered search. Supports conversational context via memoryId. tags: - Search API/search/apiv2 - apiv2 parameters: - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/controllers.AgentSearchReq' responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request' content: application/json: schema: $ref: '#/components/schemas/controllers.AgentSearchResp' example: result: list: [] headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/apiv2 x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959108-run operationId: AI_agent_search_468959108 x-source-doc: https://docs.tvunetworks.cn/api-468959108.md /api/search/v2/ai/search: post: summary: ai search deprecated: false description: Search data using natural language. tags: - Search API/search parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: type: object properties: pageNum: type: integer description: The page number of the results to retrieve. pageSize: type: integer description: The number of results to include per page. query: type: string required: - pageNum - pageSize - query x-apifox-orders: - pageNum - pageSize - query responses: '200': description: '' content: application/json: schema: type: object properties: errorCode: type: integer description: Error Code. result: type: object properties: list: type: array items: type: object properties: SourceId: type: string description: Source Id. SourceType: type: string description: Source Type. caption: type: string description: Matched caption data. captionWithHighlight: type: string description: Highlighted matched caption data. eventObjectID: type: string description: event object Id. eventTitle: type: string description: event title. eventTitleWithHighlight: type: string description: Highlighted matched Event Title. language: type: string description: caption language. living: type: boolean description: Is living or not. mediaInfo: type: array items: type: object properties: fullPath: type: string description: The file complete path in the AWS S3 bucket. mediaObjectId: type: string description: Media ObjectId. offset: type: integer description: 'Offset ' recordEnd: type: integer description: File recording end time. recordStart: type: integer description: File recording start time. sourceId: type: string description: Source id. sourceObjectId: type: string description: Source Object Id. thumbnailFullPath: type: string description: Complete thumbnail path in the AWS S3 bucket. rid: type: string description: The peerId of R who record the mediafile. x-apifox-orders: - fullPath - mediaObjectId - offset - recordEnd - recordStart - sourceId - sourceObjectId - thumbnailFullPath - rid objectTag: type: 'null' description: The object's Tag. previewMediaInfo: type: array items: type: object properties: fullPath: type: string description: The file complete path in the AWS S3 bucket. mediaObjectId: type: string description: Media ObjectId. offset: type: integer description: 'Offset ' recordEnd: type: integer description: File recording end time. recordStart: type: integer description: File recording start time. sourceId: type: string description: Source id. sourceObjectId: type: string description: Source Object Id. thumbnailFullPath: type: string description: Complete thumbnail path in the AWS S3 bucket. rid: type: string description: The peerId of R who record the mediafile. x-apifox-orders: - fullPath - mediaObjectId - offset - recordEnd - recordStart - sourceId - sourceObjectId - thumbnailFullPath - rid sourceName: type: string description: Source Name. sourceNameWithHighlight: type: string description: Highlighted matched Source Name. sourceObjectId: type: string description: Source ObjectId. sourceObjectName: type: string description: Source ObjectName. sourceObjectType: type: string description: Source ObjectType. status: type: integer timestamp: type: integer timestampEnd: type: integer description: timestamp end in millionseconds. timestampStart: type: integer description: timestamp start in millionseconds. personName: type: string description: The name of the person, only returned when the datasource parameter is set to "person". personId: type: string description: The ID of the person, only returned when the datasource parameter is set to "person". personImgInfo: type: object properties: path: type: string description: The URL path of the image. position: type: object properties: height: type: integer left: type: integer top: type: integer width: type: integer required: - height - left - top - width description: The position of the person's image within the image. x-apifox-orders: - height - left - top - width required: - path - position description: The image information of the person, only returned when the datasource parameter is set to "person". x-apifox-orders: - path - position required: - sourceObjectName - sourceObjectType - personName - personId - personImgInfo x-apifox-orders: - SourceId - SourceType - caption - captionWithHighlight - eventObjectID - eventTitle - eventTitleWithHighlight - language - living - mediaInfo - objectTag - previewMediaInfo - sourceName - sourceNameWithHighlight - sourceObjectId - sourceObjectName - sourceObjectType - status - timestamp - timestampEnd - timestampStart - personName - personId - personImgInfo size: type: integer description: The current number of returned data entries. total: type: integer description: Total number of data entries. required: - list - size - total x-apifox-orders: - list - size - total errorInfo: type: string description: Error Info. required: - errorCode - result - errorInfo x-apifox-orders: - errorCode - result - errorInfo headers: {} x-apifox-name: OK security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-425008842-run operationId: ai_search_425008842 x-source-doc: https://docs.tvunetworks.cn/api-425008842.md /api/search/v2/appearance/list: get: summary: Get appearance list deprecated: false description: Get appearance detection results by sourceObjectId. Supports cursor-based pagination via pageSize and afterContent. tags: - Search API/search - appearance parameters: - name: sourceObjectId in: query description: Source Object ID required: true schema: type: string - name: startTimestamp in: query description: Start of query range (Unix ms). Defaults to endTimestamp - 1 day required: false schema: type: integer - name: endTimestamp in: query description: End of query range (Unix ms). Defaults to current time required: false schema: type: integer - name: appearanceType in: query description: 'Filter by appearance class type: 0=logo/brand, 1=text/number, 2=person/face. Defaults to 0 (no filter applied)' required: false schema: type: integer - name: pageSize in: query description: Number of content groups per page; 0 or omitted returns all required: false schema: type: integer - name: afterContent in: query description: Pagination cursor from previous response's afterContent field; omit for first page required: false schema: type: string - name: Authorization in: header description: Retrieve Authentication Information Using the Authentication API with Session and Bearer Token Support required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/models.AppearanceListResponse' example: result: content_list: [] list: - state_time: - [] headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-284816688-run operationId: Get_appearance_list_284816688 x-source-doc: https://docs.tvunetworks.cn/api-284816688.md /api/search/v2/appearance/relations: get: summary: Get appearance relations deprecated: false description: Get relations between appearances. tags: - Search API/search - appearance parameters: - name: groupId in: query description: Group ID to query appearance relations for required: true schema: type: string - name: startTimestamp in: query description: Search start time in milliseconds; defaults to 7 days ago required: false schema: type: integer - name: endTimestamp in: query description: Search end time in milliseconds; defaults to current time required: false schema: type: integer - name: detectionTypes in: query description: 'Filter by detection type: 0=known person, 1=unknown person, 2=logo/brand, 3=text/number' required: false schema: type: array items: type: integer - name: pageNum in: query description: Page number, starting from 1 required: true schema: type: integer - name: pageSize in: query description: Number of results per page required: true schema: type: integer - name: appearanceId in: query description: Filter by specific appearance ID required: false schema: type: string - name: query in: query description: Text query to filter appearances by name required: false schema: type: string - name: language in: query description: Search language code (e.g., en, cn) required: false schema: type: string - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/models.AppearanceRelationsResponse' example: result: relations: - relations: - content: [] headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] x--orders: [] properties: {} x--ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-284249304-run operationId: Get_appearance_relations_284249304 x-source-doc: https://docs.tvunetworks.cn/api-284249304.md /api/search/v2/appearance/relationsv2: post: summary: Get appearance relations v2 deprecated: false description: Get relations between appearances (v2, JSON body). tags: - Search API/search/appearance - appearance parameters: - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.AppearanceRelationsRequestV2' example: detectionTypes: [] sourceObjects: [] responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/models.AppearanceRelationsResponse' example: result: relations: - relations: - content: [] headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/appearance x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959109-run operationId: Get_appearance_relations_v2_468959109 x-source-doc: https://docs.tvunetworks.cn/api-468959109.md /api/search/v2/appearance/search: post: summary: Appearance search deprecated: false description: Search appearances by filter and time range. tags: - Search API/search - appearance parameters: - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.AppearanceSearchRequest' example: filters: appearance: - content: [] exactMatchStrings: [] groupIds: [] objectSources: [] userIds: [] responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/models.AppearanceSearchResponse' example: result: affiliated: - content: [] list: - mediaInfo: [] previewMediaInfo: [] headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-284249305-run operationId: Appearance_search_284249305 x-source-doc: https://docs.tvunetworks.cn/api-284249305.md /api/search/v2/appearance/suggestion: get: summary: Get appearance name suggestions deprecated: false description: Get appearance entity name suggestions for autocomplete, filtered by query text and source objects. tags: - Search API/search - appearance parameters: - name: query in: query description: Search prefix for autocomplete required: false schema: type: string - name: sourceObjectIds in: query description: List of source object IDs to search within required: false schema: type: array items: type: string - name: groupId in: query description: Group ID for permission scoping required: false schema: type: string - name: appearanceType in: query description: 'Filter by appearance type: 0=logo/brand, 1=text/number, 2=person/face' required: false schema: type: integer - name: pageSize in: query description: Number of suggestions per page required: false schema: type: integer - name: pageNum in: query description: Page number, starting from 1 required: false schema: type: integer - name: language in: query description: Language code for search (e.g., en, cn) required: false schema: type: string - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/models.AppearanceSuggestionResponse' example: result: [] headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] x--orders: [] properties: {} x--ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-289161095-run operationId: Get_appearance_name_suggestions_289161095 x-source-doc: https://docs.tvunetworks.cn/api-289161095.md /api/search/v2/appearance/suggestionv2: post: summary: Get appearance name suggestions v2 deprecated: false description: Get appearance entity name suggestions for autocomplete (v2 JSON body variant). tags: - Search API/search/appearance - appearance parameters: - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.AppearanceSuggestionRequestV2' example: sourceObjectIds: [] responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/models.AppearanceSuggestionResponse' example: result: [] headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/appearance x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959110-run operationId: Get_appearance_name_suggestions_v2_468959110 x-source-doc: https://docs.tvunetworks.cn/api-468959110.md /api/search/v2/autocomplete: get: summary: Auto complete deprecated: false description: Auto complete tags: - Search API/search - object parameters: - name: cityName in: query description: city name required: true schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/controllers.AutoCompleteResp' example: data: - terms: [] headers: {} x-apifox-name: OK '400': description: Bad Request content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-239970998-run operationId: Auto_complete_239970998 x-source-doc: https://docs.tvunetworks.cn/api-239970998.md /api/search/v2/caption: get: summary: Get caption by source object deprecated: false description: 'Generate and download caption file (SRT/VTT/TXT/DOCX) for a given source object and time range. The response body is raw caption text (not JSON). On error, returns a JSON object with errorCode and errorInfo fields. Example SRT response: ``` 1 00:00:00,031 --> 00:00:00,631 his behalf. 2 00:00:00,631 --> 00:00:03,731 So so far 25 members of Congress have ```' tags: - Search API/search - apiv2 parameters: - name: objectId in: query description: Source object ID required: true example: '1243229066681782272' schema: type: string - name: startTimestamp in: query description: Start time in milliseconds required: true example: 1717661814837 schema: type: integer - name: endTimestamp in: query description: End time in milliseconds required: true example: 1717661879837 schema: type: integer - name: format in: query description: 'Caption format: srt, vtt, txt, docx. Default: srt' required: false example: srt schema: type: string enum: - srt - vtt - txt - docx - name: languageType in: query description: Language type, default en-US required: false example: en-us schema: type: string - name: noTimeCode in: query description: 'If true, return plain text without timecodes. Default: false' required: false example: 'false' schema: type: boolean - name: timeZone in: query description: IANA time zone name, default UTC required: false example: Etc/GMT schema: type: string - name: time_of_day_frequency in: query description: 'Time-of-day frequency aggregation window in minutes. Default: 10' required: false example: 10 schema: type: integer - name: fileName in: query description: Output file name (without extension) required: false example: abc schema: type: string - name: isFinal in: query description: 0=return all subtitles (default), 1=return only finalized segments required: false example: 0 schema: type: integer - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: Raw caption content in the requested format (SRT/VTT/TXT/DOCX) content: text/plain: schema: type: string headers: {} x-apifox-name: OK '400': description: Invalid request parameters content: text/plain: schema: &id001 $ref: '#/components/schemas/controllers.CaptionResp' headers: {} x-apifox-name: '' '403': description: Access denied content: text/plain: schema: *id001 headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-236527400-run operationId: Get_caption_by_source_object_236527400 x-source-doc: https://docs.tvunetworks.cn/api-236527400.md /api/search/v2/caption/search: post: summary: Search captions by keyword deprecated: false description: Search caption records within a source object and time range by fuzzy prefix match or exact keywords. Returns paginated results. tags: - Search API/search - apiv2 parameters: - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/controllers.CaptionSearchReq' example: keywords: [] responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.CaptionSearchResp' example: result: list: [] headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] x--orders: [] properties: {} x--ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-373310990-run operationId: Search_captions_by_keyword_373310990 x-source-doc: https://docs.tvunetworks.cn/api-373310990.md /api/search/v2/content/click: get: summary: Get content click v2 deprecated: false description: Get detected content click data by source object ID. Supports cursor-based pagination via pageSize and afterContent. tags: - Search API/search - content parameters: - name: sourceObjectId in: query description: Source object ID required: true schema: type: string - name: startTimestamp in: query description: Start timestamp in milliseconds required: false schema: type: integer - name: endTimestamp in: query description: End timestamp in milliseconds required: false schema: type: integer - name: contentType in: query description: Content type required: false schema: type: string - name: classType in: query description: Class type required: false schema: type: integer - name: pageSize in: query description: Number of content groups per page; 0 or omitted returns all required: false schema: type: integer - name: afterContent in: query description: Pagination cursor from previous response's afterContent field; omit for first page required: false schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/controllers.ContentV2Resp' example: result: content_list: [] list: - state_time: - [] headers: {} x-apifox-name: Success '400': description: Bad Request content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-239970996-run operationId: Get_content_click_v2_239970996 x-source-doc: https://docs.tvunetworks.cn/api-239970996.md /api/search/v2/event: get: summary: Search events by source object and time deprecated: false description: Search asset/event records for given source objects within a time range. tags: - Search API/search - apiv2 parameters: - name: sourceObjectIdList in: query description: List of source object IDs required: true schema: type: array items: type: string - name: startTimestamp in: query description: Start time in milliseconds, default last 7 days required: false schema: type: integer - name: endTimestamp in: query description: End time in milliseconds, default now required: false schema: type: integer - name: isHasMedia in: query description: Filter by media presence (0=all, 1=has media) required: false schema: type: integer - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.EventResp' example: result: list: [] headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-236527405-run operationId: Search_events_by_source_object_and_time_236527405 x-source-doc: https://docs.tvunetworks.cn/api-236527405.md /api/search/v2/event/latest: get: summary: Get latest event for source objects deprecated: false description: 'Get the most recent event/slug for given source objects. Option 1: event containing current time. Option 2: last event on the source.' tags: - Search API/search - apiv2 parameters: - name: sourceObjectIdList in: query description: List of source object IDs required: true schema: type: array items: type: string - name: option in: query description: 1=event containing current time (default), 2=last event on source required: false schema: type: integer - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.LatestEventResp' example: result: [] headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-345609808-run operationId: Get_latest_event_for_source_objects_345609808 x-source-doc: https://docs.tvunetworks.cn/api-345609808.md /api/search/v2/event/recordings: get: summary: Get recordings for an event object deprecated: false description: Get all recording media files associated with a given event object ID. tags: - Search API/search - apiv2 parameters: - name: eventObjectId in: query description: Event object ID required: true schema: type: string - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.EventRecordingsResp' headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-345609807-run operationId: Get_recordings_for_an_event_object_345609807 x-source-doc: https://docs.tvunetworks.cn/api-345609807.md /api/search/v2/getInterval: post: summary: Get recording intervals by path deprecated: false description: Retrieve recording interval information for one or more file paths. tags: - Search API/search/recording - recording parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/controllers.GetInterValReq' example: paths: [] responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2004=invalid request' content: application/json: schema: $ref: '#/components/schemas/controllers.GetIntervalResp' example: results: [] headers: {} x-apifox-name: '' '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search/recording x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-468959101-run operationId: Get_recording_intervals_by_path_468959101 x-source-doc: https://docs.tvunetworks.cn/api-468959101.md /api/search/v2/mediafile: get: summary: Get media files deprecated: false description: Search media files by source object IDs and time range. tags: - Search API/search - apiv2 parameters: - name: objectIdList in: query description: List of source object IDs required: false schema: type: array items: type: string - name: userIds in: query description: Filter by user IDs required: false schema: type: array items: type: string - name: groupIds in: query description: Filter by group IDs required: false schema: type: array items: type: string - name: startTimestamp in: query description: Start time in milliseconds, default last 7 days required: false schema: type: integer - name: endTimestamp in: query description: End time in milliseconds, default now required: false schema: type: integer - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.MediaFileResp' example: result: list: [] headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-236527404-run operationId: Get_media_files_236527404 x-source-doc: https://docs.tvunetworks.cn/api-236527404.md /api/search/v2/mediafilebyids: get: summary: Get media files by IDs deprecated: false description: Search media files by a list of source object IDs. tags: - Search API/search - apiv2 parameters: - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/controllers.MediaFileByIdsReq' example: objectIdList: [] responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.MediaFileByIdsResp' example: result: [] headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] x--orders: [] properties: {} x--ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-351735323-run operationId: Get_media_files_by_IDs_351735323 x-source-doc: https://docs.tvunetworks.cn/api-351735323.md /api/search/v2/namesuggestion: get: summary: Get name suggestions deprecated: false description: Get person name suggestions for autocomplete within source objects and time range. tags: - Search API/search - apiv2 parameters: - name: sourceObjectIds in: query description: Source object IDs required: false schema: type: array items: type: string - name: startTimestamp in: query description: Start time in milliseconds, default last 7 days required: false schema: type: integer - name: endTimestamp in: query description: End time in milliseconds, default now required: false schema: type: integer - name: personName in: query description: Search keyword (person name) required: false schema: type: string - name: personIds in: query description: Filter by person IDs required: false schema: type: array items: type: string - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.NameSuggestionResp' example: result: can_be_merged: - face_num: 1 group_id: 00fe20a2d2d84093b304f0d54d4bedda last_update_ts: 1717055943701 name: '' path: FFFFFFF00015C633_1717048728819.jpg peer_id: FFFFFFF00015C633 person_id: 1710142217249mbzk5zx0 timestamp: 1717055943701 total_track_duration: 1000 tracklist: - [] tslist: [] list: - face_num: 1 group_id: 00fe20a2d2d84093b304f0d54d4bedda last_update_ts: 1717055943701 name: '' path: FFFFFFF00015C633_1717048728819.jpg peer_id: FFFFFFF00015C633 person_id: 1710142217249mbzk5zx0 timestamp: 1717055943701 total_track_duration: 1000 tracklist: - [] tslist: [] headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-239970997-run operationId: Get_name_suggestions_239970997 x-source-doc: https://docs.tvunetworks.cn/api-239970997.md /api/search/v2/object: get: summary: Search user source objects deprecated: false description: Search source objects belonging to a user, optionally filtered by object IDs and type. tags: - Search API/search - apiv2 parameters: - name: objectId in: query description: Source object ID list required: false schema: type: array items: type: string - name: objectType in: query description: Object type, default 1 required: false schema: type: integer - name: sort in: query description: 'Sort order: 1=creation time asc, 2=update time asc. Default: 1' required: false schema: type: integer - name: pageSize in: query description: Page size, default 20 required: false schema: type: integer - name: pageNum in: query description: Page number, default 1 required: false schema: type: integer - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.ObjectResp' example: result: list: [] headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-236527398-run operationId: Search_user_source_objects_236527398 x-source-doc: https://docs.tvunetworks.cn/api-236527398.md /api/search/v2/person: get: summary: Search persons by source object deprecated: false description: Search detected persons within the given source objects and time range. tags: - Search API/search - apiv2 parameters: - name: objectIds in: query description: Source object ID list required: true schema: type: array items: type: string - name: startTimestamp in: query description: Start time in milliseconds required: true schema: type: integer - name: endTimestamp in: query description: End time in milliseconds required: true schema: type: integer - name: sort in: query description: 'Sort by timestamp: 1=ascending (default)' required: false schema: type: integer - name: personIdList in: query description: Filter by person IDs required: false schema: type: array items: type: string - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.PersonResp' example: result: list: - personIdList: [] headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-236527399-run operationId: Search_persons_by_source_object_236527399 x-source-doc: https://docs.tvunetworks.cn/api-236527399.md /api/search/v2/person/info: get: summary: Search person face appearances deprecated: false description: Search face appearance records for a specific person within source objects and time range. Supports pagination via searchAfterId. tags: - Search API/search - apiv2 parameters: - name: objectIds in: query description: Source object ID list required: true schema: type: array items: type: string - name: startTimestamp in: query description: Start time in milliseconds, default last 7 days required: false schema: type: integer - name: endTimestamp in: query description: End time in milliseconds, default now required: false schema: type: integer - name: personId in: query description: Person ID to filter by required: false schema: type: string - name: pageNum in: query description: Page number required: false schema: type: integer - name: pageSize in: query description: Page size required: false schema: type: integer - name: searchAfterId in: query description: Cursor for deep pagination; use value from previous response required: false schema: type: string - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.PersonInfoResp' example: data: list: [] headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-236527402-run operationId: Search_person_face_appearances_236527402 x-source-doc: https://docs.tvunetworks.cn/api-236527402.md /api/search/v2/person/track: get: summary: Search person track by source object deprecated: false description: Search person tracking data (appearance timeline) within given source objects and time range. tags: - Search API/search - apiv2 parameters: - name: objectIds in: query description: Source object ID list required: true schema: type: array items: type: string - name: startTimestamp in: query description: Start time in milliseconds, default last 1 day required: false schema: type: integer - name: endTimestamp in: query description: End time in milliseconds, default now required: false schema: type: integer - name: personName in: query description: Filter by person name required: false schema: type: string - name: personIdList in: query description: Filter by person IDs required: false schema: type: array items: type: string - name: noTrackList in: query description: Exclude tracklist from response, default false required: false schema: type: boolean - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.PersonTrackResp' example: result: list: - personId: [] trackList: - [] headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-236527401-run operationId: Search_person_track_by_source_object_236527401 x-source-doc: https://docs.tvunetworks.cn/api-236527401.md /api/search/v2/recorderstatus: get: summary: Get TVU 264 status deprecated: false description: Get TVU 264 status tags: - Search API/search - scene parameters: - name: errorCode in: query description: Error code filter required: false schema: type: string - name: errorMessage in: query description: Error message filter required: false schema: type: string - name: objectId in: query description: Object ID required: false schema: type: string - name: tangibleId in: query description: Tangible ID required: false schema: type: string - name: taskId in: query description: Task ID required: false schema: type: string - name: path in: query description: Path required: false schema: type: string - name: useHighRes in: query description: Use high resolution required: false schema: type: boolean - name: startTimeStamp in: query description: Start timestamp in milliseconds required: false schema: type: integer - name: endTimeStamp in: query description: End timestamp in milliseconds required: false schema: type: integer - name: Authorization in: header description: Bearer token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/controllers.Tvu264StatusResp' example: result: list: [] headers: {} x-apifox-name: OK '400': description: Bad Request content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-256196990-run operationId: Get_TVU_264_status_256196990 x-source-doc: https://docs.tvunetworks.cn/api-256196990.md /api/search/v2/scenechagneinfo: get: summary: Get scene change info v2 deprecated: false description: Search scene change info by source object ID tags: - Search API/search - scene parameters: - name: startTime in: query description: Search start time in milliseconds required: false schema: type: integer - name: endTime in: query description: Search end time in milliseconds required: false schema: type: integer - name: sourceObjectId in: query description: Source object ID required: true schema: type: string - name: Authorization in: header description: Bearer token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/controllers.SceneChangeInfoResp' example: result: list: [] headers: {} x-apifox-name: OK '400': description: Bad Request content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-239970999-run operationId: Get_scene_change_info_v2_239970999 x-source-doc: https://docs.tvunetworks.cn/api-239970999.md /api/search/v2/search: post: summary: Cross-type media content search (v2) deprecated: false description: Full-featured media content search across captions (STT transcripts), media assets, person detections, and source recordings. Authenticate via JWT Bearer token in the Authorization request header. When AI search is enabled, natural-language queries are automatically decomposed into person name filters and keyword matches. Time range defaults to the last 7 days when omitted. Results are scoped to the caller's access permissions. Use the 'dataSource' array to restrict which content types are searched ('caption', 'event', 'person', 'source'). Sort options include relevance score (0), creation time descending (1), creation time ascending (2), and custom field ordering. tags: - Search API/search - query parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: $ref: '#/components/schemas/models.PubSearchBaseReq' example: dataSource: - event - caption pageNum: 3 pageSize: 10 sort: 10 timestampRange: startTimestamp: 1699545600000 endTimestamp: 1762531199000 filters: fuzzyMatchString: books objectEvents: [] objectSources: - '1398305490756308992' persons: [] tags: [] userIds: - 578825562ca44818a40123ed90bc8ee2 groupIds: - 16d219d093fe4d268a721bbce00d7de8 searchLang: '' responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/controllers.PublicSearchResp' example: errorCode: 0 errorInfo: succ result: size: 6 list: [] total: 6 headers: {} x-apifox-name: OK security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-236527406-run operationId: Cross_type_media_content_search_v2_236527406 x-source-doc: https://docs.tvunetworks.cn/api-236527406.md /api/search/v2/settings: get: summary: Get settings deprecated: false description: Get configuration settings for a given source object. tags: - Search API/search - apiv2 parameters: - name: sourceObjectId in: query description: Source object ID required: true schema: type: string - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.SettingsResp' headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-416429886-run operationId: Get_settings_416429886 x-source-doc: https://docs.tvunetworks.cn/api-416429886.md /api/search/v2/suggestion: get: summary: Get search suggestions deprecated: false description: Get keyword/caption suggestions for autocomplete within a source object and time range. tags: - Search API/search - apiv2 parameters: - name: query in: query description: Search keyword required: true schema: type: string - name: objectId in: query description: Source object ID required: false schema: type: string - name: startTimestamp in: query description: Start time in milliseconds, default last 7 days required: false schema: type: integer - name: endTimestamp in: query description: End time in milliseconds, default now required: false schema: type: integer - name: language in: query description: 'Search language: cn, dn, en, es, fr, std. Default: auto-detect' required: false schema: type: string - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.SuggestionResp' example: result: - hint_list: [] headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-236527403-run operationId: Get_search_suggestions_236527403 x-source-doc: https://docs.tvunetworks.cn/api-236527403.md /api/search/v2/supportlang: get: summary: Get supported languages deprecated: false description: Get supported caption languages for a given source object and time range. tags: - Search API/search - apiv2 parameters: - name: sourceObject in: query description: Source object ID required: true schema: type: string - name: startTime in: query description: Start time in milliseconds, default last 7 days required: false schema: type: integer - name: endTime in: query description: End time in milliseconds, default now required: false schema: type: integer - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.SupportLangResp' example: data: list: [] headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-236527407-run operationId: Get_supported_languages_236527407 x-source-doc: https://docs.tvunetworks.cn/api-236527407.md /api/search/v2/usermediafile: get: summary: Get recorded files deprecated: false description: Search recorded files by user account and time range. tags: - Search API/search - apiv2 parameters: - name: userAccount in: query description: User ID or user email required: false schema: type: string - name: startTimestamp in: query description: Start time in milliseconds, default last 7 days required: false schema: type: integer - name: endTimestamp in: query description: End time in milliseconds, default now required: false schema: type: integer - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request, 2006=user not found, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.RecordedFileResp' example: result: list: [] headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-236527409-run operationId: Get_recorded_files_236527409 x-source-doc: https://docs.tvunetworks.cn/api-236527409.md /api/search/v2/words: get: summary: Search words deprecated: false description: Search caption words/keywords for a given source object and time range. tags: - Search API/search - apiv2 parameters: - name: sourceObject in: query description: Source object ID required: true schema: type: string - name: startTime in: query description: Start time in milliseconds, default last 7 days required: false schema: type: integer - name: endTime in: query description: End time in milliseconds, default now required: false schema: type: integer - name: languageType in: query description: Language type, default en-US required: false schema: type: string - name: Authorization in: header description: Bearer token or session token required: true example: '' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: 'Successful response; check errorCode for logical results: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' content: application/json: schema: $ref: '#/components/schemas/controllers.WordsResp' example: result: data: - words: [] headers: {} x-apifox-name: OK '400': description: Malformed HTTP request or parse error content: application/json: schema: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] headers: {} x-apifox-name: '' security: [] x-apifox-folder: Search API/search x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-236527408-run operationId: Search_words_236527408 x-source-doc: https://docs.tvunetworks.cn/api-236527408.md /search/v2/media/addClipToPP: post: summary: add the mark file to PP deprecated: false description: Place the clip object into the playback list of Produce. tags: - Search API/event parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: type: object properties: programId: type: string description: program id slotNo: type: string objectId: type: string description: clip object id required: - programId - slotNo - objectId x-apifox-orders: - programId - slotNo - objectId example: programId: '104360961019904' slotNo: s12 objectId: '1412669866040758272' responses: '200': description: '' content: application/json: schema: type: object properties: errorCode: type: string errorInfo: type: string result: type: 'null' required: - errorCode - errorInfo - result x-apifox-orders: - errorCode - errorInfo - result example: errorCode: '0x0' errorInfo: OK result: null headers: {} x-apifox-name: OK security: - bearer: [] x-apifox: schemeGroups: - id: h2jeawDuHj_2ZodQrUxah schemeIds: - bearer required: true use: id: h2jeawDuHj_2ZodQrUxah scopes: h2jeawDuHj_2ZodQrUxah: bearer: [] x-apifox-folder: Search API/event x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-351711925-run operationId: add_the_mark_file_to_PP_351711925 x-source-doc: https://docs.tvunetworks.cn/api-351711925.md /search/v2/media/currentSlugInfo: get: summary: current slug deprecated: false description: Get the slug corresponding to the current time of the sourceObject. tags: - Search API/event parameters: - name: objectId in: query description: source object id required: true example: '1031567688444559360' schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: '' content: application/json: schema: type: object properties: errorCode: type: string errorInfo: type: string result: type: object properties: id: type: string peerId: type: string objectId: type: string slug: type: string createTime: type: integer endTime: type: integer repeatId: type: string eventSlug: type: string title: type: 'null' report: type: 'null' deleteFlag: type: 'null' color: type: integer required: - id - peerId - objectId - slug - createTime - endTime - repeatId - eventSlug - title - report - deleteFlag - color x-apifox-orders: - id - peerId - objectId - slug - createTime - endTime - repeatId - eventSlug - title - report - deleteFlag - color required: - errorCode - errorInfo - result x-apifox-orders: - errorCode - errorInfo - result example: errorCode: '0x0' errorInfo: success result: id: af95f2b9205f43458a074afc63a84846 peerId: 4b999dc458fbc4c80000000000000002 objectId: '1031567688444559360' slug: 'Atlanta, Georgia bump shot Source: CNN Market Embargo: NONE ' createTime: 1673315661594 endTime: 9999999999999 repeatId: '' eventSlug: 'Atlanta, Georgia bump shot Source: CNN Market Embargo: NONE ' title: null report: null deleteFlag: null color: 0 headers: {} x-apifox-name: OK security: - bearer: [] x-apifox: schemeGroups: - id: lccHCd-LC0duoSD-DLFOP schemeIds: - bearer required: true use: id: lccHCd-LC0duoSD-DLFOP scopes: lccHCd-LC0duoSD-DLFOP: bearer: [] x-apifox-folder: Search API/event x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-351711931-run operationId: current_slug_351711931 x-source-doc: https://docs.tvunetworks.cn/api-351711931.md /search/v2/media/deleteSlug: post: summary: delete slug deprecated: false description: Delete slug by slugId. tags: - Search API/event parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: type: object properties: id: type: string description: slug id required: - id x-apifox-orders: - id example: id: 61ceaed87ea44ff1bd009281e5afcd31 responses: '200': description: '' content: application/json: schema: type: object properties: errorCode: type: string errorInfo: type: string result: type: 'null' required: - errorCode - errorInfo - result x-apifox-orders: - errorCode - errorInfo - result example: errorCode: '0x0' errorInfo: success result: null headers: {} x-apifox-name: OK security: - bearer: [] x-apifox: schemeGroups: - id: ynu_iKAPbqPMkIjfrsLwQ schemeIds: - bearer required: true use: id: ynu_iKAPbqPMkIjfrsLwQ scopes: ynu_iKAPbqPMkIjfrsLwQ: bearer: [] x-apifox-folder: Search API/event x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-351711929-run operationId: delete_slug_351711929 x-source-doc: https://docs.tvunetworks.cn/api-351711929.md /search/v2/media/mark: post: summary: create clip object deprecated: false description: Create a clip object. tags: - Search API/event parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: type: object properties: startTime: type: integer description: mark in endTime: type: integer description: mark out sourceObjectId: type: string description: source object mediaObjectIds: type: array items: type: string description: media object id exportFileName: type: string description: mark name mediaFileType: type: integer description: '0: MMA 1:RRS' thumbnail: type: string description: thumbnail path slugInfo: type: string frameRate: type: integer audioInfo: type: string audioPadding: type: string mediaParam: type: string required: - startTime - endTime - sourceObjectId - mediaObjectIds - exportFileName - mediaFileType x-apifox-orders: - startTime - endTime - sourceObjectId - mediaObjectIds - exportFileName - mediaFileType - thumbnail - slugInfo - frameRate - audioInfo - audioPadding - mediaParam example: startTime: 1757661158507 endTime: 1757661190508 sourceObjectId: '1408450928465547264' mediaObjectIds: - '1416077916047020032' exportFileName: Jersey Shore Enforces Strict Beach Access Restrictions Due to Hurricane Erin mediaFileType: 1 thumbnail: 85b7971e5e427a167995659c2a165d65/1757661351_280645.jpg responses: '200': description: '' content: application/json: schema: type: object properties: errorCode: type: string errorInfo: type: string result: type: object properties: id: type: string deleteFlag: type: integer createTime: type: integer updateTime: type: integer userId: type: string phId: type: string startTime: type: integer endTime: type: integer exportFilename: type: string srtUrl: type: 'null' imageUrl: type: string slugInfo: type: string path: type: 'null' timestamp: type: 'null' objectId: type: string type: type: 'null' fileType: type: integer sourceObjectId: type: string required: - id - deleteFlag - createTime - updateTime - userId - phId - startTime - endTime - exportFilename - srtUrl - imageUrl - slugInfo - path - timestamp - objectId - type - fileType - sourceObjectId x-apifox-orders: - id - deleteFlag - createTime - updateTime - userId - phId - startTime - endTime - exportFilename - srtUrl - imageUrl - slugInfo - path - timestamp - objectId - type - fileType - sourceObjectId required: - errorCode - errorInfo - result x-apifox-orders: - errorCode - errorInfo - result example: errorCode: '0x0' errorInfo: success result: id: D147F1926C467CE1 deleteFlag: 0 createTime: 1756932636240 updateTime: 1756932636240 userId: 699fc1d2d85c4eb892ce464f2e94ba4f phId: '1412836022928150528' startTime: 1756931175505 endTime: 1756932576211 exportFilename: Rec-Riga-Aux-3_20250903-22-26-15-505_1400705 srtUrl: null imageUrl: '' slugInfo: '' path: null timestamp: null objectId: '1413023420286898176' type: null fileType: 1 sourceObjectId: '1409578580706463744' headers: {} x-apifox-name: OK security: - bearer: [] x-apifox: schemeGroups: - id: 0831AVhHD74WK2QDEb9Mv schemeIds: - bearer required: true use: id: 0831AVhHD74WK2QDEb9Mv scopes: 0831AVhHD74WK2QDEb9Mv: bearer: [] x-apifox-folder: Search API/event x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-351711924-run operationId: create_clip_object_351711924 x-source-doc: https://docs.tvunetworks.cn/api-351711924.md /search/v2/media/slug-info: post: summary: query slug deprecated: false description: Gets all slug of the sourceobject for a period of time. tags: - Search API/event parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: type: object properties: objectId: type: string description: source objectId startTime: type: integer description: The default value is the past week. endTime: type: integer description: The default value is the current time. sort: type: string description: The default value is 'ASC' required: - objectId x-apifox-orders: - objectId - startTime - endTime - sort example: objectId: '1031568061741809664' startTime: 1405699200000 endTime: 9999999999999 sort: desc responses: '200': description: '' content: application/json: schema: type: object properties: errorCode: type: string errorInfo: type: string result: type: array items: type: object properties: id: type: string peerId: type: string objectId: type: string slug: type: string createTime: type: integer endTime: type: integer repeatId: type: string eventSlug: type: string title: type: 'null' report: type: 'null' deleteFlag: type: integer color: type: integer slugObjectId: type: string tagInfos: type: 'null' userId: type: 'null' required: - id - peerId - objectId - slug - createTime - endTime - repeatId - eventSlug - title - report - deleteFlag - color - slugObjectId - tagInfos - userId x-apifox-orders: - id - peerId - objectId - slug - createTime - endTime - repeatId - eventSlug - title - report - deleteFlag - color - slugObjectId - tagInfos - userId required: - errorCode - errorInfo - result x-apifox-orders: - errorCode - errorInfo - result example: errorCode: '0x0' errorInfo: success result: - id: XXXXXX peerId: 99ecc5d8bddd65880000000000000002 objectId: '1031568061741809664' slug: 'Slug: NY: New York City Bump (CH4 & CNN Grid 4) Source: CNN Market Embargo: NONE Web Usage: All Affiliates' createTime: 1716154348008 endTime: 1716163199999 repeatId: '' eventSlug: 'Slug: NY: New York City Bump (CH4 & CNN Grid 4) Source: CNN Market Embargo: NONE Web Usage: All Affiliates' title: null report: null deleteFlag: 0 color: 0 slugObjectId: '1241986884532580352' tagInfos: null userId: null - id: XXXXXX peerId: 99ecc5d8bddd65880000000000000002 objectId: '1031568061741809664' slug: 'Slug: TX/ Presser on Storm Cleanup Update (CH4 & CNN Grid4) Description: Harris Co Judge Lina Hilalgo on Storm Cleanup Update Source: Pool Market Embargo: none Web Usage: Network Pool Only' createTime: 1716149558339 endTime: 1716154348008 repeatId: '' eventSlug: 'Slug: TX/ Presser on Storm Cleanup Update (CH4 & CNN Grid4) Description: Harris Co Judge Lina Hilalgo on Storm Cleanup Update Source: Pool Market Embargo: none Web Usage: Network Pool Only' title: null report: null deleteFlag: 0 color: 0 slugObjectId: '1241966795448008704' tagInfos: null userId: null headers: {} x-apifox-name: OK security: - bearer: [] x-apifox: schemeGroups: - id: YRQRU8eMfAqzbNpkMh6o- schemeIds: - bearer required: true use: id: YRQRU8eMfAqzbNpkMh6o- scopes: YRQRU8eMfAqzbNpkMh6o-: bearer: [] x-apifox-folder: Search API/event x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-351711927-run operationId: query_slug_351711927 x-source-doc: https://docs.tvunetworks.cn/api-351711927.md /search/v2/media/slugInfoById: get: summary: retrieve slug deprecated: false description: The slugId gets slug information. tags: - Search API/event parameters: - name: slugId in: query description: slug id required: true example: 844207a2a1324e259935c22c07d0591d schema: type: string - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 responses: '200': description: '' content: application/json: schema: type: object properties: errorCode: type: string errorInfo: type: string result: type: object properties: id: type: string deleteFlag: type: integer createTime: type: integer updateTime: type: integer peerId: type: string gridLinkMetadata: type: string globalGridMetadata: type: 'null' sourceName: type: 'null' sourceType: type: 'null' endTime: type: integer externalId: type: 'null' repeatId: type: string executeRepeatId: type: 'null' slug: type: 'null' title: type: 'null' report: type: 'null' color: type: integer operationRepeatParam: type: 'null' objectId: type: string slugObjectId: type: string insertTime: type: integer required: - id - deleteFlag - createTime - updateTime - peerId - gridLinkMetadata - globalGridMetadata - sourceName - sourceType - endTime - externalId - repeatId - executeRepeatId - slug - title - report - color - operationRepeatParam - objectId - slugObjectId - insertTime x-apifox-orders: - id - deleteFlag - createTime - updateTime - peerId - gridLinkMetadata - globalGridMetadata - sourceName - sourceType - endTime - externalId - repeatId - executeRepeatId - slug - title - report - color - operationRepeatParam - objectId - slugObjectId - insertTime required: - errorCode - errorInfo - result x-apifox-orders: - errorCode - errorInfo - result example: errorCode: '0x0' errorInfo: success result: id: 3d2a7837e2db4370be3c7bc414de4838 deleteFlag: 0 createTime: 1673310561803 updateTime: 1673311176901 peerId: b86670577e79f3130000000000000002 gridLinkMetadata: 'Slug: TX: TCU National Championship Watch Party (CH4/CNN Grid 4) Description: TCU National Championship Watch Party at Schollmaier Arena. Source: KTVT Market Embargo: Dallas-Ft. Worth, TX Web Usage: TV and Radio Affiliates Only' globalGridMetadata: null sourceName: null sourceType: null endTime: 1673311176901 externalId: null repeatId: '' executeRepeatId: null slug: null title: null report: null color: 0 operationRepeatParam: null objectId: '1031568061741809664' slugObjectId: '1062287011265785856' insertTime: 1673310559803 headers: {} x-apifox-name: OK security: - bearer: [] x-apifox: schemeGroups: - id: 21wcpdxYKsFFzTAayr3-c schemeIds: - bearer required: true use: id: 21wcpdxYKsFFzTAayr3-c scopes: 21wcpdxYKsFFzTAayr3-c: bearer: [] x-apifox-folder: Search API/event x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-351711930-run operationId: retrieve_slug_351711930 x-source-doc: https://docs.tvunetworks.cn/api-351711930.md /search/v2/media/updateslug: post: summary: slug with ingest setting deprecated: false description: Create a slug for the source object. If you need to trigger MMA recording, you will need the slugRecord information. If you need to trigger RRS recording, you will need the slugAdvanced information. You can choose either one. If no recording is required, then there is no need for the slugRecord and slugAdvanced information. tags: - Search API/event parameters: - name: SID in: header description: '' example: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 schema: type: string default: 92575d36dcb631ac94745e6b157de17a5a13d65b31e44869f06854ab928dd80235d4daae8696b4a92a7be5f802c45a219648701fc9ca59f44e9c0f022d5d38a7 requestBody: content: application/json: schema: type: object properties: sourceId: type: string description: One objectId or sourceId is mandatory startTime: type: integer description: Slug Start time. Current time by default title: type: string description: 'Slug content: title-report-slug' report: type: string description: 'Slug content: title-report-slug' slug: type: string description: 'Slug content: title-report-slug' endTime: type: integer description: End time of slug. The default value is 9999999999999 objectId: type: string description: One objectId or sourceId is mandatory slugAdvanced: type: object properties: livePreview: type: integer description: 0:Close 1.Enable gridDistribution: type: integer description: 0:Close 1.Enable recording: type: integer description: 0:Close 1.Enable speechTranscription: type: integer description: 0:Close 1.Enable faceDetection: type: integer description: 0:Close 1.Enable transcriberInfo: type: string description: Json string,eg:{"LanguageCode":"en-US"} sourceResolution: type: integer description: //0:1080p60 1:lower 2:4kp30 description: Used to start MMA recording x-apifox-orders: - livePreview - gridDistribution - recording - speechTranscription - faceDetection - transcriberInfo - sourceResolution slugRecord: type: object properties: templateId: type: string description: The template used to start the corresponding module recording: type: string description: 0:Enable 1:Close. The default setting is enabled. vision: type: string description: 0:Enable 1:Close transcriber: type: string description: 0:Enable 1:Close transcriberParameter: type: string description: 'Custom parameters, such as language: {\"aiproxy\": {\"strLanguage\": \"en-US\"}}' rrsCustomParameter: type: string description: 'Custom parameters, such as stored information: {\"storage_info.bucket_name\": \"mma-video-new\"}}' description: Used to start RRS recording x-apifox-orders: - templateId - recording - vision - transcriber - transcriberParameter - rrsCustomParameter useAuthUserInfo: type: boolean description: Obtain the user information in the authentication information. If creating slugAdvanced or slugRecord information, true must be passed id: type: string description: It is required when updating slug. required: - objectId x-apifox-orders: - sourceId - startTime - title - report - slug - endTime - objectId - slugAdvanced - slugRecord - useAuthUserInfo - id example: "{\r\n \"objectId\": \"1416207015281299456\",\r\n \"slug\": \"TEST 1\",\r\n \"\ title\": \"\",\r\n \"report\": \"\",\r\n \"startTime\": 1758031200000,\r\n \"endTime\"\ : 1758038400000,\r\n \"useAuthUserInfo\": true,\r\n //slugRecord: Used to start RRS recording\ \ \r\n \"slugRecord\": {\r\n \"rrsCustomParameter\": \"{\\\"storage_info.bucket_name\\\ \":\\\"pp-va-001\\\",\\\"storage_info.bucket_region\\\":\\\"us-east-1\\\"}\",\r\n \"\ vision\": 1,\r\n \"templateId\": \"default\",\r\n \"transcriber\": 1,\r\n \"transcriberParameter\"\ : null,\r\n \"recording\": 0\r\n },\r\n //slugAdvanced:Used to start MMA recording\r\ \n // \"slugAdvanced\": {.\r\n // \"livePreview\": 0,\r\n // \"gridDistribution\"\ : 0,\r\n // \"recording\": 0,\r\n // \"speechTranscription\": 0,\r\n // \"faceDetection\"\ : 0,\r\n // \"transcriberInfo\": \"\"\r\n // }\r\n}" responses: '200': description: '' content: application/json: schema: type: object properties: errorCode: type: string errorInfo: type: string result: type: object properties: id: type: string deleteFlag: type: integer createTime: type: integer updateTime: type: integer peerId: type: string gridLinkMetadata: type: 'null' globalGridMetadata: type: 'null' sourceName: type: 'null' sourceType: type: 'null' endTime: type: integer externalId: type: 'null' repeatId: type: string executeRepeatId: type: 'null' slug: type: string title: type: string report: type: 'null' color: type: integer operationRepeatParam: type: 'null' objectId: type: string slugObjectId: type: string insertTime: type: integer startTimeCode: type: 'null' endTimeCode: type: 'null' slugAdvanced: type: 'null' slugRecord: type: object properties: id: type: string deleteFlag: type: integer createTime: type: integer updateTime: type: integer slugId: type: string rrsTaskId: type: 'null' userId: type: string sourceObjectId: type: string status: type: integer sourceId: type: string inputTaskId: type: 'null' templateId: type: string mmaId: type: 'null' recording: type: integer transcriber: type: integer vision: type: integer transcriberParameter: type: 'null' rrsCustomParameter: type: string groupId: type: string required: - id - deleteFlag - createTime - updateTime - slugId - rrsTaskId - userId - sourceObjectId - status - sourceId - inputTaskId - templateId - mmaId - recording - transcriber - vision - transcriberParameter - rrsCustomParameter - groupId x-apifox-orders: - id - deleteFlag - createTime - updateTime - slugId - rrsTaskId - userId - sourceObjectId - status - sourceId - inputTaskId - templateId - mmaId - recording - transcriber - vision - transcriberParameter - rrsCustomParameter - groupId thumbnailPath: type: 'null' userId: type: string groupId: type: string ingestFile: type: integer type: type: integer tags: type: 'null' required: - id - deleteFlag - createTime - updateTime - peerId - gridLinkMetadata - globalGridMetadata - sourceName - sourceType - endTime - externalId - repeatId - executeRepeatId - slug - title - report - color - operationRepeatParam - objectId - slugObjectId - insertTime - startTimeCode - endTimeCode - slugAdvanced - slugRecord - thumbnailPath - userId - groupId - ingestFile - type - tags x-apifox-orders: - id - deleteFlag - createTime - updateTime - peerId - gridLinkMetadata - globalGridMetadata - sourceName - sourceType - endTime - externalId - repeatId - executeRepeatId - slug - title - report - color - operationRepeatParam - objectId - slugObjectId - insertTime - startTimeCode - endTimeCode - slugAdvanced - slugRecord - thumbnailPath - userId - groupId - ingestFile - type - tags required: - errorCode - errorInfo - result x-apifox-orders: - errorCode - errorInfo - result example: errorCode: '0x0' errorInfo: success result: id: 20de82708f054b9c9a760579286d641b deleteFlag: 0 createTime: 1758031200000 updateTime: 1758031200000 peerId: 55524c204558544c000001993e96564c gridLinkMetadata: null globalGridMetadata: null sourceName: null sourceType: null endTime: 1758038400000 externalId: null repeatId: '' executeRepeatId: null slug: TEST 1 title: TEST 1 report: null color: 0 operationRepeatParam: null objectId: '1416207015281299456' slugObjectId: '1417350622465888256' insertTime: 1757964321179 startTimeCode: null endTimeCode: null slugAdvanced: null slugRecord: id: b25b2e26f5ee4109a239644080310661 deleteFlag: 0 createTime: 1757964321515 updateTime: 1757964321515 slugId: 20de82708f054b9c9a760579286d641b rrsTaskId: null userId: d0fd92de9b8b492ebc534a08488a7719 sourceObjectId: '1416207015281299456' status: 0 sourceId: 55524c204558544c000001993e96564c inputTaskId: null templateId: b170d0dc09d03353 mmaId: null recording: 0 transcriber: 1 vision: 1 transcriberParameter: null rrsCustomParameter: '{"storage_info.bucket_name":"pp-va-001","storage_info.bucket_region":"us-east-1"}' groupId: 472c23a709b7461d9143de5d516f5c00 thumbnailPath: null userId: d0fd92de9b8b492ebc534a08488a7719 groupId: 472c23a709b7461d9143de5d516f5c00 ingestFile: 0 type: 0 tags: null headers: {} x-apifox-name: OK security: - bearer: [] x-apifox: schemeGroups: - id: 9hbXQ-4WLn3Bbnqz6Y4-v schemeIds: - bearer required: true use: id: 9hbXQ-4WLn3Bbnqz6Y4-v scopes: 9hbXQ-4WLn3Bbnqz6Y4-v: bearer: [] x-apifox-folder: Search API/event x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/4126232/apis/api-351711926-run operationId: slug_with_ingest_setting_351711926 x-source-doc: https://docs.tvunetworks.cn/api-351711926.md components: schemas: controllers.ObjectResp: type: object required: - errorCode - errorInfo - result properties: errorCode: description: 'Business result code: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string result: description: Returned object list; present only on success allOf: - $ref: '#/components/schemas/controllers.ObjectItem' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.ObjectItem: type: object properties: list: description: List of matched source objects type: array items: $ref: '#/components/schemas/models.SearchObjectByUserId' size: description: Number of objects in the current response type: integer total: description: Total number of matching source objects type: integer x-apifox-orders: - list - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' models.SearchObjectByUserId: type: object properties: objectId: type: string objectName: type: string x-apifox-orders: - objectId - objectName x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.PersonResp: type: object required: - errorCode - errorInfo - result properties: errorCode: description: 'Business result code: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string result: description: Returned person list; present only on success allOf: - $ref: '#/components/schemas/controllers.PersonItem' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.PersonItem: type: object properties: list: description: List of detected persons type: array items: $ref: '#/components/schemas/models.PersonInfo' size: description: Number of persons in the current response type: integer total: description: Total number of matching persons type: integer x-apifox-orders: - list - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' models.PersonInfo: type: object required: - groupId - name - personIdList - position - thumbnailAllPath - thumbnailPath - timestamp properties: groupId: description: group id type: string name: description: person name type: string personIdList: description: person all id type: array items: type: string position: type: string thumbnailAllPath: description: person thumbnail all path type: string thumbnailPath: description: person thumbnail pic type: string timestamp: description: time stamp type: integer x-apifox-orders: - groupId - name - personIdList - position - thumbnailAllPath - thumbnailPath - timestamp x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.CaptionResp: type: object properties: errorCode: description: 'Business result code: 0=success, 2004=invalid request, 2008=access denied, 2009-2012=file write error' type: integer errorInfo: description: Human-readable result message type: string x-apifox-orders: - errorCode - errorInfo x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.PersonTrackResp: type: object required: - errorCode - errorInfo - result properties: errorCode: description: 'Business result code: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string result: description: Returned person track list; present only on success allOf: - $ref: '#/components/schemas/controllers.PersonTrackItem' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.PersonTrackItem: type: object properties: list: description: List of person tracking records with appearance timelines type: array items: $ref: '#/components/schemas/models.PersonTrackInfo' size: description: Number of records in the current response type: integer total: description: Total number of matching person track records type: integer x-apifox-orders: - list - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' models.PersonTrackInfo: type: object required: - LastUpdateTs - groupId - name - personId - position - thumbnailAllPath - thumbnailPath - timestamp - totalTrackDuration - trackList properties: LastUpdateTs: type: integer groupId: description: group id type: string name: description: person name type: string personId: description: person id type: array items: type: string position: type: string thumbnailAllPath: description: thumbnail all path type: string thumbnailPath: description: thumbnail path type: string timestamp: type: integer totalTrackDuration: description: total trackduration type: integer trackList: type: array items: type: array items: type: integer format: int64 x-apifox-orders: - LastUpdateTs - groupId - name - personId - position - thumbnailAllPath - thumbnailPath - timestamp - totalTrackDuration - trackList x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.PersonInfoResp: type: object required: - data - errorCode - errorInfo properties: data: description: Person face appearance data; present only on success allOf: - $ref: '#/components/schemas/controllers.PersonInfoItem' errorCode: description: 'Business result code: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string x-apifox-orders: - data - errorCode - errorInfo x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.PersonInfoItem: type: object properties: list: description: List of face appearance records type: array items: type: string personName: description: Display name of the queried person type: string searchAfterId: description: Cursor to pass in the next request for the following page; empty means last page type: string size: description: Number of records in the current response type: integer total: description: Total number of face appearance records type: integer x-apifox-orders: - list - personName - searchAfterId - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.SuggestionResp: type: object required: - errorCode - errorInfo - result properties: errorCode: description: 'Business result code: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string result: description: List of autocomplete suggestions; present only on success type: array items: $ref: '#/components/schemas/models.HintRetureData' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' models.HintRetureData: type: object properties: hint_list: type: array items: $ref: '#/components/schemas/models.HintData' hint_type: description: 'Currently, there are four types: person_name/story_title/word_expand/caption. We are going to add a new type “address”' type: string x-apifox-orders: - hint_list - hint_type x-apifox-ignore-properties: [] x-apifox-folder: '' models.HintData: type: object properties: hint_data: type: string hint_text: type: string original_string: type: string x-apifox-orders: - hint_data - hint_text - original_string x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.MediaFileResp: type: object required: - errorCode - errorInfo - result properties: errorCode: description: 'Business result code: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string result: description: Returned media file list; present only on success allOf: - $ref: '#/components/schemas/controllers.MediafileItem' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.MediafileItem: type: object properties: list: description: List of matched media files type: array items: $ref: '#/components/schemas/models.SearchMediaFileBySourceObjectId' size: description: Number of media files in the current response type: integer total: description: Total number of matching media files type: integer x-apifox-orders: - list - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' models.SearchMediaFileBySourceObjectId: type: object properties: highResMediaPath: &id002 $ref: '#/components/schemas/models.MediaItem' mediaFileType: description: '0: MMA 1:RRS' type: integer mediaObjectId: type: string previewMediaPath: *id002 sourceObjectId: type: string thumbnailPath: type: string x-apifox-orders: - highResMediaPath - mediaFileType - mediaObjectId - previewMediaPath - sourceObjectId - thumbnailPath x--orders: - highResMediaPath - mediaFileType - mediaObjectId - previewMediaPath - sourceObjectId - thumbnailPath x--ignore-properties: [] x-apifox-folder: '' models.MediaItem: type: object properties: duration: type: integer endTimestamp: type: integer fileSize: type: integer path: type: string startTimestamp: type: integer x-apifox-orders: - duration - endTimestamp - fileSize - path - startTimestamp x--orders: - duration - endTimestamp - fileSize - path - startTimestamp x--ignore-properties: [] x-apifox-folder: '' controllers.EventResp: type: object required: - errorCode - errorInfo - result properties: errorCode: description: 'Business result code: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string result: description: Returned event list; present only on success allOf: - $ref: '#/components/schemas/controllers.EventItem' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.EventItem: type: object properties: list: description: List of matched event records type: array items: $ref: '#/components/schemas/models.SearchAssetResult' size: description: Number of events in the current response type: integer total: description: Total number of matching events type: integer x-apifox-orders: - list - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' models.SearchAssetResult: type: object properties: duration: type: integer endTimestamp: type: integer groupId: type: string id: description: slug id type: string isHasMedia: type: integer name: type: string objectId: type: string path: type: string sourceObjectId: type: string startTimestamp: type: integer tagsInfos: type: string thumbnail: type: string x-apifox-orders: - duration - endTimestamp - groupId - id - isHasMedia - name - objectId - path - sourceObjectId - startTimestamp - tagsInfos - thumbnail x-apifox-ignore-properties: [] x-apifox-folder: '' models.PubSearchBaseReq: type: object properties: dataSource: description: 'The type of data to search: caption, event, person, or source' type: array items: type: string examples: - - event filters: description: The search filter criteria allOf: - $ref: '#/components/schemas/models.PubSearchFilters' groupIds: description: Group IDs for permission control type: array items: type: string examples: - - 16d219d093fe4d268a721bbce00d7de8 pageNum: description: The page number of the results to retrieve type: integer examples: - 3 pageSize: description: The number of results to include per page type: integer examples: - 10 searchLang: description: The language used for searching type: string examples: - '' sort: description: 'Sorting: 0=relevance, 1=create time desc, 2=create time asc, 3=duration desc, 4=duration asc, 5=source status, 6=source name, 7=custom, 8=last edit desc, 9=last edit asc' type: integer examples: - 10 sortOptions: description: Additional sort options (live/online/no-input source ordering) allOf: - $ref: '#/components/schemas/models.SortOptions' timestampRange: description: The time range in which to search for results allOf: - $ref: '#/components/schemas/models.PubSearchTsRange' userIds: description: User IDs or user email list for permission control type: array items: type: string examples: - - 578825562ca44818a40123ed90bc8ee2 x-apifox-orders: - dataSource - filters - groupIds - pageNum - pageSize - searchLang - sort - sortOptions - timestampRange - userIds x-apifox-ignore-properties: [] x-apifox-folder: '' models.PubSearchTsRange: type: object properties: endTimestamp: description: End time in milliseconds type: integer examples: - 1762531199000 startTimestamp: description: Start time in milliseconds type: integer examples: - 1699545600000 x-apifox-orders: - endTimestamp - startTimestamp x-apifox-ignore-properties: [] x-apifox-folder: '' models.SortOptions: type: object properties: customSourceSort: type: string liveSources: type: array items: type: string noInputources: type: array items: type: string onlineSources: type: array items: type: string x-apifox-orders: - customSourceSort - liveSources - noInputources - onlineSources x-apifox-ignore-properties: [] x-apifox-folder: '' models.PubSearchFilters: type: object properties: areaName: description: The location of the object, for example, New York type: array items: type: string exactMatchStrings: description: The string to search for exact matches type: array items: type: string fuzzyMatchString: description: fuzzyMatchString carries the natural language query. The response provides moment-level results, including sourceObject, mediaObject, and eventObject, along with specific start and end timestamps type: string examples: - books objectEvents: description: list of event object IDs type: array items: type: string objectSources: description: objectSources is required, otherwise, no data will be found. source object IDs to search within type: array items: type: string examples: - - '1398305490756308992' persons: description: person id list; results containing these persons will have higher weight type: array items: type: string status: description: 1:INGESTING 2:LIVING 3:ALL type: integer tags: description: tag id list type: array items: type: string x-apifox-orders: - areaName - exactMatchStrings - fuzzyMatchString - objectEvents - objectSources - persons - status - tags x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.PublicSearchResp: type: object properties: errorCode: description: error code type: integer examples: - 0 errorInfo: description: error message type: string examples: - succ result: description: return data allOf: - $ref: '#/components/schemas/controllers.PublicSearchItem' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.PublicSearchItem: type: object properties: list: description: return data type: array items: type: string size: description: return data size type: integer examples: - 6 total: description: return data length type: integer examples: - 6 x-apifox-orders: - list - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.SupportLangResp: type: object required: - data - errorCode - errorInfo properties: data: description: Supported language list; present only on success allOf: - $ref: '#/components/schemas/controllers.SupportLangItem' errorCode: description: 'Business result code: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string x-apifox-orders: - data - errorCode - errorInfo x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.SupportLangItem: type: object required: - list - size - total properties: list: description: List of supported language codes (e.g., "en-US", "zh-CN") type: array items: type: string size: description: Number of languages in the current response type: integer total: description: Total number of supported languages type: integer x-apifox-orders: - list - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.WordsResp: type: object required: - errorCode - errorInfo - result properties: errorCode: description: 'Business result code: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string result: description: Returned word/caption records; present only on success allOf: - $ref: '#/components/schemas/controllers.WordsItem' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.WordsItem: type: object required: - data - size - total properties: data: description: List of caption word records type: array items: $ref: '#/components/schemas/models.EsCapfullReturnData' size: description: Number of records in the current response type: integer total: description: Total number of matching records type: integer x-apifox-orders: - data - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' models.EsCapfullReturnData: type: object properties: _id: type: string end_ts: type: integer lang: type: string peer_id: type: string speaker_tag: type: integer start_ts: type: integer text: type: string timestamp: type: integer tmpid: type: string words: type: array items: $ref: '#/components/schemas/models.EsWordsData' x-apifox-orders: - _id - end_ts - lang - peer_id - speaker_tag - start_ts - text - timestamp - tmpid - words x-apifox-ignore-properties: [] x-apifox-folder: '' models.EsWordsData: type: object properties: end_time: type: integer speaker_tag: type: integer start_time: type: integer word: type: string x-apifox-orders: - end_time - speaker_tag - start_time - word x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.RecordedFileResp: type: object required: - errorCode - errorInfo - result properties: errorCode: description: 'Business result code: 0=success, 2002=no results, 2004=invalid request, 2006=user not found by email, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string result: description: Returned recorded file list; present only on success allOf: - $ref: '#/components/schemas/controllers.MediafileItem' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' PublicDestination: type: object description: Target storage location for the output file. properties: cloudVendor: type: string description: Cloud storage vendor. Values are matched case-insensitively by the storage layer (`s3`, `azure`, `oss`, `cos`). examples: - s3 bucket: type: string description: Target s3/azure/oss/cos storage bucket name. examples: - media-export-bucket region: type: string description: Bucket region. examples: - us-east-1 folder: type: string description: Key prefix / folder path within the bucket (trailing slash recommended). examples: - export/ x-apifox-orders: - cloudVendor - bucket - region - folder x-apifox-ignore-properties: [] x-apifox-folder: '' VideoInfo: type: object properties: startTime: type: integer format: int64 description: Chunk start timestamp in milliseconds (Unix epoch ms). duration: type: integer format: int64 description: Chunk duration in milliseconds. videoPath: type: string description: S3 path or URL to this chunk's video file. isCompleted: type: boolean description: Whether this chunk has finished processing. x-apifox-orders: - startTime - duration - videoPath - isCompleted x-apifox-ignore-properties: [] x-apifox-folder: '' ReTranscribe: type: object properties: switch: type: boolean description: 'whether to recollect (default: false)' groupId: type: string description: groupId language: type: string description: language x-apifox-orders: - switch - groupId - language x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.ContentV2Resp: type: object properties: errorCode: description: error code type: integer errorInfo: description: error message type: string result: $ref: '#/components/schemas/controllers.ContentV2Item' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.ContentV2Item: type: object properties: afterContent: description: Cursor for the next page; empty means this is the last page type: string content_list: type: array items: type: string list: type: array items: $ref: '#/components/schemas/models.SubStanceV2' size: type: integer total: type: integer x-apifox-orders: - afterContent - content_list - list - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' models.SubStanceV2: type: object properties: class: type: integer content: type: string height: type: number left: type: number source_object_id: type: string state_time: type: array items: type: array items: type: integer format: int64 top: type: number total_track_duration: type: integer width: type: number x-apifox-orders: - class - content - height - left - source_object_id - state_time - top - total_track_duration - width x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.NameSuggestionResp: type: object required: - errorCode - errorInfo - result properties: errorCode: description: 'Business result code: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string result: description: List of person name suggestions; present only on success allOf: - $ref: '#/components/schemas/controllers.WebPersonReturnData' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.WebPersonReturnData: type: object properties: can_be_merged: type: array items: &id003 $ref: '#/components/schemas/models.PersonReturnData' list: type: array items: *id003 size: type: integer total: type: integer x-apifox-orders: - can_be_merged - list - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' models.PersonReturnData: type: object properties: asset_num: type: integer face_num: type: integer examples: - 1 group_id: type: string examples: - 00fe20a2d2d84093b304f0d54d4bedda highlight: type: string last_update_ts: type: integer examples: - 1717055943701 name: type: string examples: - '' object_media: type: integer path: type: string examples: - FFFFFFF00015C633_1717048728819.jpg peer_id: type: string examples: - FFFFFFF00015C633 person_id: type: string examples: - 1710142217249mbzk5zx0 position: type: string recfile_path: type: string sourceObjectId: type: string tag: type: string timestamp: type: integer examples: - 1717055943701 total_track_duration: type: integer examples: - 1000 tracklist: description: the first value is the emerged time of the person, the second value is the disappearred time. type: array items: type: array items: type: integer format: int64 tslist: type: array items: type: integer uid: type: string x-apifox-orders: - asset_num - face_num - group_id - highlight - last_update_ts - name - object_media - path - peer_id - person_id - position - recfile_path - sourceObjectId - tag - timestamp - total_track_duration - tracklist - tslist - uid x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.AutoCompleteResp: type: object properties: code: type: string data: type: array items: $ref: '#/components/schemas/models.LocationInfo' msg: type: string x-apifox-orders: - code - data - msg x-apifox-ignore-properties: [] x-apifox-folder: '' models.LocationInfo: type: object properties: description: type: string mainText: type: string searchedText: type: string secondaryText: type: string terms: type: array items: $ref: '#/components/schemas/models.TermsItem' x-apifox-orders: - description - mainText - searchedText - secondaryText - terms x-apifox-ignore-properties: [] x-apifox-folder: '' models.TermsItem: type: object properties: offset: type: integer value: type: string x-apifox-orders: - offset - value x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.SceneChangeInfoResp: type: object required: - result properties: errorCode: description: error code type: integer errorInfo: description: error message type: string result: description: data allOf: - $ref: '#/components/schemas/controllers.SceneChangeInfoItem' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.SceneChangeInfoItem: type: object properties: list: type: array items: $ref: '#/components/schemas/models.SceneChangeInfoData' size: type: integer total: type: integer x-apifox-orders: - list - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' models.SceneChangeInfoData: type: object properties: createTimestamp: type: integer objectId: type: string pts: type: integer tangibleId: type: string timecode: type: integer x-apifox-orders: - createTimestamp - objectId - pts - tangibleId - timecode x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.Tvu264StatusResp: type: object required: - result properties: errorCode: description: error code type: integer errorInfo: description: error message type: string result: description: data allOf: - $ref: '#/components/schemas/controllers.Tvu264StatusItem' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.Tvu264StatusItem: type: object properties: list: type: array items: $ref: '#/components/schemas/models.Tvu264StatusData' size: type: integer total: type: integer x-apifox-orders: - list - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' models.Tvu264StatusData: type: object properties: createTimestamp: type: integer errorCode: type: string errorMessage: type: string path: type: string sourceObjectId: type: string tangibleId: type: string taskId: type: string x-apifox-orders: - createTimestamp - errorCode - errorMessage - path - sourceObjectId - tangibleId - taskId x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceRelationsResponse: type: object properties: errorCode: description: 'Business result code: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string result: description: Appearance relations result; present only on success allOf: - $ref: '#/components/schemas/models.AppearanceRelationsResult' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceRelationsResult: type: object properties: relations: type: array items: $ref: '#/components/schemas/models.AppearanceRelations' size: type: integer total: type: integer x-apifox-orders: - relations - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceRelations: type: object properties: classType: description: 'Appearance class type: 0=logo/brand, 1=text/number, 2=person/face' type: integer content: description: Content identifier of the appearance type: string groupId: description: Group ID this appearance belongs to type: string name: description: Display name of the appearance entity type: string personId: description: Person ID (applicable when classType=2) type: string position: type: string relations: description: Related appearances grouped by class type type: array items: $ref: '#/components/schemas/models.AppearanceRelationItem' thumbnailPath: description: Path to the thumbnail image type: string x-apifox-orders: - classType - content - groupId - name - personId - position - relations - thumbnailPath x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceRelationItem: type: object properties: classType: description: 'Appearance class type: 0=logo/brand, 1=text/number, 2=person/face' type: integer content: description: List of appearance content items in this class type: array items: $ref: '#/components/schemas/models.AppearanceContent' x-apifox-orders: - classType - content x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceContent: type: object properties: id: type: string name: type: string path: type: string position: type: string x-apifox-orders: - id - name - path - position x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceSearchRequest: type: object properties: filters: description: Search filter criteria allOf: - $ref: '#/components/schemas/models.AppearanceSearchFilter' pageNum: description: The page number of the returned results, defaulting to 1 type: integer pageSize: description: The number of results returned per page, defaulting to 20 type: integer searchLang: description: Search language, defaults to en type: string sort: description: Result sort order; currently only 1 (by relevance) is supported type: integer timestampRange: description: The search time range, defaults to one week allOf: - $ref: '#/components/schemas/models.TimestampRange' x-apifox-orders: - filters - pageNum - pageSize - searchLang - sort - timestampRange x-apifox-ignore-properties: [] x-apifox-folder: '' models.TimestampRange: type: object properties: endTimestamp: description: End time of search in milliseconds type: integer startTimestamp: description: Start time of search in milliseconds, defaults to last 7 days type: integer x-apifox-orders: - endTimestamp - startTimestamp x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceSearchFilter: type: object properties: appearance: description: Appearance filters; multiple filters can be combined type: array items: $ref: '#/components/schemas/models.AppearanceFilter' exactMatchStrings: description: Exact search keywords; multiple keywords can be provided type: array items: type: string fuzzyMatchStrings: description: Fuzzy matching search string type: string groupIds: description: 'Permission control: a list of user group IDs' type: array items: type: string objectSources: description: A list of source object IDs for searching content under these sources type: array items: type: string userIds: description: 'Permission control: a list of user IDs; defaults to current user if empty' type: array items: type: string x-apifox-orders: - appearance - exactMatchStrings - fuzzyMatchStrings - groupIds - objectSources - userIds x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceFilter: type: object properties: classType: description: 'Appearance class type to filter: 0=logo/brand, 1=text/number, 2=person/face' type: integer content: description: Specific appearance entities to filter by within the class type type: array items: $ref: '#/components/schemas/models.AppearanceContent' x-apifox-orders: - classType - content x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceSearchResponse: type: object properties: errorCode: description: 'Business result code: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string result: description: Search result payload; present only on success allOf: - $ref: '#/components/schemas/models.AppearanceSearchResult' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceSearchResult: type: object properties: affiliated: type: array items: $ref: '#/components/schemas/models.AppearanceAffiliated' list: type: array items: $ref: '#/components/schemas/models.AppearanceEvent' size: type: integer total: type: integer x-apifox-orders: - affiliated - list - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceEvent: type: object properties: SourceId: type: string SourceType: description: Source type identifier; currently always 100 (reserved) type: integer eventID: type: string eventObjectID: type: string eventTitle: type: string eventTitleWithHighlight: type: string host: $ref: '#/components/schemas/models.HostAppearance' language: type: string living: type: boolean mediaInfo: type: array items: $ref: '#/components/schemas/models.MediaInfo' objectTag: type: string previewMediaInfo: type: array items: $ref: '#/components/schemas/models.PreViewMediaInfo' sourceName: type: string sourceObjectId: type: string sourceObjectName: type: string sourceObjectType: type: string status: description: 'Live status of the event''s source: 0=no status, 1=live/broadcasting, 2=ingesting/recording' type: integer timestamp: type: integer timestampEnd: type: integer timestampStart: type: integer x-apifox-orders: - SourceId - SourceType - eventID - eventObjectID - eventTitle - eventTitleWithHighlight - host - language - living - mediaInfo - objectTag - previewMediaInfo - sourceName - sourceObjectId - sourceObjectName - sourceObjectType - status - timestamp - timestampEnd - timestampStart x-apifox-ignore-properties: [] x-apifox-folder: '' models.PreViewMediaInfo: type: object properties: fullPath: type: string mediaObjectId: type: string mediafrom: type: string offset: type: integer path: type: string recordEnd: type: integer recordStart: type: integer rid: type: string sourceId: type: string sourceObjectId: type: string thumbnailFullPath: type: string x-apifox-orders: - fullPath - mediaObjectId - mediafrom - offset - path - recordEnd - recordStart - rid - sourceId - sourceObjectId - thumbnailFullPath x-apifox-ignore-properties: [] x-apifox-folder: '' models.MediaInfo: type: object properties: fullPath: type: string mediaObjectId: type: string offset: type: integer path: type: string recordEnd: type: integer recordStart: type: integer rid: type: string sourceId: type: string sourceObjectId: type: string thumbnailFullPath: type: string x-apifox-orders: - fullPath - mediaObjectId - offset - path - recordEnd - recordStart - rid - sourceId - sourceObjectId - thumbnailFullPath x-apifox-ignore-properties: [] x-apifox-folder: '' models.HostAppearance: type: object properties: appearance: $ref: '#/components/schemas/models.AppearanceData' offset: type: integer x-apifox-orders: - appearance - offset x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceData: type: object properties: classType: description: 'Appearance class type: 0=logo/brand, 1=text/number, 2=person/face' type: integer content: description: Content identifier (e.g., person ID for faces, text for logos) type: string highlight: description: Highlighted snippet for search result display type: string name: description: Display name of the appearance entity type: string path: description: Path to the appearance image or resource type: string personId: description: Person ID (applicable when classType=2) type: string position: type: string x-apifox-orders: - classType - content - highlight - name - path - personId - position x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceAffiliated: type: object properties: classType: description: 'Appearance class type: 0=logo/brand, 1=text/number, 2=person/face' type: integer content: description: List of appearance entities in this class found in the result type: array items: $ref: '#/components/schemas/models.AppearanceAffiliatedContent' x-apifox-orders: - classType - content x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceAffiliatedContent: type: object properties: id: type: string name: type: string position: type: string thumbnailPath: type: string x-apifox-orders: - id - name - position - thumbnailPath x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceListResponse: type: object properties: errorCode: description: 'Business result code: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string result: description: Appearance list result; present only on success allOf: - $ref: '#/components/schemas/models.AppearanceListItem' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceListItem: type: object properties: afterContent: description: Cursor for next page; empty means last page type: string content_list: type: array items: type: string list: type: array items: $ref: '#/components/schemas/models.SubStanceV2' size: type: integer total: type: integer x-apifox-orders: - afterContent - content_list - list - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceSuggestionResponse: type: object properties: errorCode: description: 'Business result code: 0=success, 2002=no results, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string result: description: List of appearance entity suggestions; present only on success type: array items: $ref: '#/components/schemas/models.AppearanceData' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.EventRecordingsResp: type: object required: - errorCode - errorInfo - result properties: errorCode: description: 'Business result code: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string result: description: Recording files associated with the event; present only on success allOf: - $ref: '#/components/schemas/models.EventObjectRecordingsResult' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' models.EventObjectRecordingsResult: type: object properties: duration: type: integer endTimestamp: type: integer id: description: slug id type: string mType: type: string name: type: string objectId: type: string path: type: string recordEndTime: type: integer recordStartTime: type: integer rid: type: string sourceObjectId: type: string startTimestamp: type: integer storageInfoBase64: type: string tagInfos: type: string thumbnail: type: string x-apifox-orders: - duration - endTimestamp - id - mType - name - objectId - path - recordEndTime - recordStartTime - rid - sourceObjectId - startTimestamp - storageInfoBase64 - tagInfos - thumbnail x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.LatestEventResp: type: object required: - errorCode - errorInfo - result properties: errorCode: description: 'Business result code: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string result: description: List of latest event records; present only on success type: array items: $ref: '#/components/schemas/models.SearchAssetResult' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.MediaFileByIdsReq: type: object properties: objectIdList: description: List of source object IDs obtained from the source object API. type: array items: type: string x-apifox-orders: - objectIdList x--orders: - objectIdList x--ignore-properties: [] x-apifox-folder: '' controllers.MediaFileByIdsResp: type: object required: - errorCode - errorInfo - result properties: errorCode: description: 'Business result code: 0=success, 2004=invalid request, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string result: description: List of media files matching the given object IDs; present only on success type: array items: $ref: '#/components/schemas/models.SearchMediaFileBySourceObjectId' x-apifox-orders: - errorCode - errorInfo - result x--orders: - errorCode - errorInfo - result x--ignore-properties: [] x-apifox-folder: '' controllers.CaptionSearchReq: type: object properties: endTimestamp: description: Search end time in milliseconds; required type: integer fuzzyMatchString: description: Prefix-based fuzzy search string for subtitle content type: string keywords: description: Exact keyword list; all keywords must appear in the subtitle (AND logic) type: array items: type: string objectId: description: Source object ID obtained from the source object API; required type: string pageNum: description: Page number, starting from 1; defaults to 1 type: integer pageSize: description: Number of results per page; defaults to 20 type: integer startTimestamp: description: Search start time in milliseconds; required type: integer x-apifox-orders: - endTimestamp - fuzzyMatchString - keywords - objectId - pageNum - pageSize - startTimestamp x--orders: - endTimestamp - fuzzyMatchString - keywords - objectId - pageNum - pageSize - startTimestamp x--ignore-properties: [] x-apifox-folder: '' controllers.CaptionSearchResp: type: object properties: errorCode: description: 'Business result code: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string result: description: Search result payload allOf: - $ref: '#/components/schemas/controllers.CaptionSearchResult' x-apifox-orders: - errorCode - errorInfo - result x--orders: - errorCode - errorInfo - result x--ignore-properties: [] x-apifox-folder: '' controllers.CaptionSearchResult: type: object properties: list: description: List of matched caption records type: array items: $ref: '#/components/schemas/models.EsCapfullReturnDataV3' size: description: Number of records in the current page type: integer total: description: Total number of matching records across all pages type: integer x-apifox-orders: - list - size - total x--orders: - list - size - total x--ignore-properties: [] x-apifox-folder: '' models.EsCapfullReturnDataV3: type: object properties: _id: type: string capEndTimestamp: type: integer capStartTimestamp: type: integer captionText: type: string highlight: type: string lang: type: string path: type: string score: type: number sourceObjectId: type: string x-apifox-orders: - _id - capEndTimestamp - capStartTimestamp - captionText - highlight - lang - path - score - sourceObjectId x--orders: - _id - capEndTimestamp - capStartTimestamp - captionText - highlight - lang - path - score - sourceObjectId x--ignore-properties: [] x-apifox-folder: '' controllers.SettingsResp: type: object required: - errorCode - errorMsg properties: errorCode: description: 'Business result code: 0=success, 2004=invalid request, 2008=access denied' type: integer errorMsg: description: Human-readable result message type: string result: type: string x-apifox-orders: - errorCode - errorMsg - result x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.UpdateActivityReq: type: object properties: page: type: string sessionid: type: string userid: type: string x-apifox-orders: - page - sessionid - userid x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.UpdateActivityResp: type: object properties: code: type: integer message: type: string x-apifox-orders: - code - message x-apifox-ignore-properties: [] x-apifox-folder: '' models.AutoSearchReq: type: object properties: criteria: $ref: '#/components/schemas/models.CriteriasCondition' tsRange: $ref: '#/components/schemas/models.SearchTsRange' userId: type: string examples: - ff8080816b793b5a016b8f11f2090057 x-apifox-orders: - criteria - tsRange - userId x-apifox-ignore-properties: [] x-apifox-folder: '' models.SearchTsRange: type: object properties: endtime: type: integer examples: - 1778304241635 field: type: string starttime: type: integer examples: - 1778304121635 x-apifox-orders: - endtime - field - starttime x-apifox-ignore-properties: [] x-apifox-folder: '' models.CriteriasCondition: type: object properties: conditions: description: The following fields are for backward compatibility. type: array items: $ref: '#/components/schemas/models.SourceCondition' fields: type: array items: type: string examples: - - event keywords: type: array items: type: string examples: - - biden logos: type: array items: type: string persons: type: array items: type: string relationship: description: '`or` `and`' type: string examples: - or sources: type: array items: type: string examples: - - '1031567882850549760' x-apifox-orders: - conditions - fields - keywords - logos - persons - relationship - sources x-apifox-ignore-properties: [] x-apifox-folder: '' models.SourceCondition: type: object properties: eventList: type: array items: $ref: '#/components/schemas/models.EventCondition' source: type: string sourceName: type: string x-apifox-orders: - eventList - source - sourceName x-apifox-ignore-properties: [] x-apifox-folder: '' models.EventCondition: type: object properties: endTime: type: integer event: type: string eventName: type: string startTime: type: integer x-apifox-orders: - endTime - event - eventName - startTime x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.ActiveSearchResp: type: object properties: code: description: 'Response code: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' type: integer data: description: Search result type: array items: $ref: '#/components/schemas/models.MatchResult' message: description: Human-readable result message type: string x-apifox-orders: - code - data - message x-apifox-ignore-properties: [] x-apifox-folder: '' models.MatchResult: type: object properties: matchList: type: array items: $ref: '#/components/schemas/models.MatchListRet' size: type: integer examples: - 0 total: type: integer examples: - 0 x-apifox-orders: - matchList - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' models.MatchListRet: type: object properties: MediaFile: $ref: '#/components/schemas/models.MediaFileRet' captions: type: array items: $ref: '#/components/schemas/models.MatchCaptionRet' faces: type: array items: $ref: '#/components/schemas/models.MatchFaceRet' hitSlug: $ref: '#/components/schemas/models.HitSlug' logos: type: array items: $ref: '#/components/schemas/models.MatchLogoRet' slugs: type: array items: $ref: '#/components/schemas/models.MatchSlugRet' x-apifox-orders: - MediaFile - captions - faces - hitSlug - logos - slugs x-apifox-ignore-properties: [] x-apifox-folder: '' models.MatchSlugRet: type: object properties: assetId: type: string highlight: type: string objectAsset: type: string slug: type: string timestampEnd: type: integer timestampStart: type: integer x-apifox-orders: - assetId - highlight - objectAsset - slug - timestampEnd - timestampStart x-apifox-ignore-properties: [] x-apifox-folder: '' models.MatchLogoRet: type: object properties: name: type: string timestampEnd: type: integer timestampStart: type: integer x-apifox-orders: - name - timestampEnd - timestampStart x-apifox-ignore-properties: [] x-apifox-folder: '' models.HitSlug: type: object properties: objectAsset: type: string slugName: type: string timestampEnd: type: integer timestampStart: type: integer x-apifox-orders: - objectAsset - slugName - timestampEnd - timestampStart x-apifox-ignore-properties: [] x-apifox-folder: '' models.MatchFaceRet: type: object properties: faceId: type: string name: type: string path: type: string position: type: string timestampEnd: type: integer timestampStart: type: integer x-apifox-orders: - faceId - name - path - position - timestampEnd - timestampStart x-apifox-ignore-properties: [] x-apifox-folder: '' models.MatchCaptionRet: type: object properties: highlight: type: string text: type: string timestamp: type: integer timestampEnd: type: integer x-apifox-orders: - highlight - text - timestamp - timestampEnd x-apifox-ignore-properties: [] x-apifox-folder: '' models.MediaFileRet: type: object properties: RPeerId: type: string TPeerId: type: string mType: description: rrs or mma type: string objectGrid: type: string objectMedia: type: string path: type: string recordEnd: type: integer recordStart: type: integer srcInfo: type: string storageInfo: type: string thumbnailPath: type: string uid: type: string x-apifox-orders: - RPeerId - TPeerId - mType - objectGrid - objectMedia - path - recordEnd - recordStart - srcInfo - storageInfo - thumbnailPath - uid x-apifox-ignore-properties: [] x-apifox-folder: '' models.SearchSummarizationRequest: type: object properties: endTime: type: integer examples: - 1778299320439 sourceObjectId: type: string examples: - '1400073057711820800' startTime: type: integer examples: - 1778298487122 x-apifox-orders: - endTime - sourceObjectId - startTime x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.SearchSummarizationResp: type: object properties: code: description: 'Response code: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' type: integer data: description: return data type: array items: $ref: '#/components/schemas/models.SummarizationItem' message: description: Human-readable result message type: string x-apifox-orders: - code - data - message x-apifox-ignore-properties: [] x-apifox-folder: '' models.SummarizationItem: type: object properties: endTime: type: integer sourceObjectId: type: string startTime: type: integer summarization: type: string x-apifox-orders: - endTime - sourceObjectId - startTime - summarization x-apifox-ignore-properties: [] x-apifox-folder: '' models.SummarizationRequest: type: object properties: end: type: integer examples: - 1778307400115 mode: type: integer examples: - 0 path: type: string examples: - '' sourceObject: type: string examples: - '1326008830139699200' start: type: integer examples: - 1778306200900 type: type: integer examples: - 3 x-apifox-orders: - end - mode - path - sourceObject - start - type x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.GetSummarizationResp: type: object properties: code: description: 'Response code: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' type: integer examples: - 0 message: description: Human-readable result message type: string examples: - succ source: description: Raw caption source data (JSON string) type: string examples: - '{"peer_id":"FFFFFFF0001CFB05","text":"..."}' summarization: description: AI-generated summarization text for the requested segment type: string examples: - Weather conditions affecting police helicopter operations. x-apifox-orders: - code - message - source - summarization x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.PersonListClickResp: type: object properties: code: description: 'Response code: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' type: integer examples: - 0 data: description: return data, if exists allOf: - $ref: '#/components/schemas/controllers.ReturnData' message: description: Human-readable result message type: string examples: - succ x-apifox-orders: - code - data - message x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.ReturnData: type: object properties: host_person: $ref: '#/components/schemas/models.PersonReturnData' list: type: array items: type: string size: type: integer examples: - 1 total: type: integer examples: - 1 x-apifox-orders: - host_person - list - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' models.SearchPersonNameWithTagsReq: type: object properties: durationRange: $ref: '#/components/schemas/models.SearchDurationRange' pageNum: type: integer examples: - 1 pageSize: type: integer examples: - 8 permission: $ref: '#/components/schemas/models.AccessPermission' query: type: string examples: - ROBINSON searchLang: type: string sessionid: type: string examples: - 1C0C49E66DAC4CEE941EF70F77A94A9F size: type: integer examples: - 20 slugtag: type: boolean sort: type: integer examples: - 1 source: type: array items: type: string examples: - - source tags: $ref: '#/components/schemas/models.SearchTags' tsrange: $ref: '#/components/schemas/models.SearchTsRange' userid: type: string examples: - shorvath@newsnationnow.com x-apifox-orders: - durationRange - pageNum - pageSize - permission - query - searchLang - sessionid - size - slugtag - sort - source - tags - tsrange - userid x-apifox-ignore-properties: [] x-apifox-folder: '' models.SearchTags: type: object properties: CustomSourceSort: description: Custom sort order for sources, comma-separated type: string favorite: type: integer feature: type: array items: type: string geoinfo: type: string gpsinfo: $ref: '#/components/schemas/models.GpsInfo' liveSources: description: 'Sort by source status, first priority: sources actively ingesting (have ongoing events)' type: array items: type: string location: $ref: '#/components/schemas/models.SearchLocation' noInputSources: description: 'Sort by source status, third priority: online sources with no input' type: array items: type: string objectEvents: description: events type: array items: type: string objectGeo: description: geo type: array items: type: string objectGroupIds: description: Group ID list for object search type: array items: type: string examples: - - bc3a83594dcd41288c52dac3c552da3d objectSources: description: sources type: array items: type: string examples: - - '1447853763061747712' objectTags: description: object tags type: array items: type: string objectUserIds: description: User ID list for object search type: array items: type: string examples: - - 4668211d13424faea1677b51810cb488 onlineSources: description: 'Sort by source status, second priority: online sources with no ongoing event' type: array items: type: string personids: type: array items: type: string status: description: ingesting or live or other type: integer storyids: type: array items: type: string uids: type: array items: type: string x-apifox-orders: - CustomSourceSort - favorite - feature - geoinfo - gpsinfo - liveSources - location - noInputSources - objectEvents - objectGeo - objectGroupIds - objectSources - objectTags - objectUserIds - onlineSources - personids - status - storyids - uids x-apifox-ignore-properties: [] x-apifox-folder: '' models.SearchLocation: type: object properties: br: type: string tl: type: string x-apifox-orders: - br - tl x-apifox-ignore-properties: [] x-apifox-folder: '' models.GpsInfo: type: object properties: distance: type: number lat: type: number lon: type: number x-apifox-orders: - distance - lat - lon x-apifox-ignore-properties: [] x-apifox-folder: '' models.AccessPermission: type: object properties: black: type: array items: type: string enable: type: boolean examples: - true enableown: type: boolean objectSources: description: New object permission sources type: array items: type: string examples: - - '1031568072126906368' private: type: array items: type: string public: type: array items: type: string x-apifox-orders: - black - enable - enableown - objectSources - private - public x-apifox-ignore-properties: [] x-apifox-folder: '' models.SearchDurationRange: type: object properties: durationEnd: type: integer durationStart: type: integer x-apifox-orders: - durationEnd - durationStart x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.SearchPersonNameWithTagsResp: type: object properties: code: description: 'Response code: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' type: integer examples: - 0 data: description: return data, if exists allOf: - $ref: '#/components/schemas/controllers.ReturnData' message: description: Human-readable result message type: string examples: - succ x-apifox-orders: - code - data - message x-apifox-ignore-properties: [] x-apifox-folder: '' models.SearchBaseTagsReq: type: object properties: durationRange: $ref: '#/components/schemas/models.SearchDurationRange' pageNum: type: integer examples: - 1 pageSize: type: integer examples: - 8 permission: $ref: '#/components/schemas/models.AccessPermission' query: type: string examples: - ROBINSON searchLang: type: string sessionid: type: string examples: - 1C0C49E66DAC4CEE941EF70F77A94A9F slugtag: type: boolean sort: type: integer examples: - 1 source: type: array items: type: string examples: - - source tags: $ref: '#/components/schemas/models.SearchTags' tsrange: $ref: '#/components/schemas/models.SearchTsRange' userid: type: string examples: - shorvath@newsnationnow.com x-apifox-orders: - durationRange - pageNum - pageSize - permission - query - searchLang - sessionid - slugtag - sort - source - tags - tsrange - userid x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.SearchCombtagsResp: type: object properties: code: description: error code type: integer examples: - 0 data: description: return data allOf: - $ref: '#/components/schemas/controllers.CapReturnData' message: description: error message type: string examples: - succ x-apifox-orders: - code - data - message x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.CapReturnData: type: object properties: list: type: array items: type: string size: type: integer examples: - 1 total: type: integer examples: - 3 x-apifox-orders: - list - size - total x--orders: - list - size - total x--ignore-properties: [] x-apifox-folder: '' models.FetchAllObjectTagReq: type: object properties: classifications: type: array items: type: integer groupId: type: array items: type: string pageNum: type: integer pageSize: type: integer sort: type: integer userId: type: string x-apifox-orders: - classifications - groupId - pageNum - pageSize - sort - userId x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.FetchAllObjectTagResp: type: object properties: code: description: 'Response code: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' type: integer message: description: Human-readable result message type: string result: type: array items: $ref: '#/components/schemas/models.EsObjectTagData' size: type: integer total: type: integer x-apifox-orders: - code - message - result - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' models.EsObjectTagData: type: object properties: classification: type: integer groupId: type: string tagId: type: string tagName: type: string userId: type: string x-apifox-orders: - classification - groupId - tagId - tagName - userId x-apifox-ignore-properties: [] x-apifox-folder: '' models.FetchObjectTagReq: type: object properties: classifications: type: array items: type: integer objectIds: type: array items: type: string x-apifox-orders: - classifications - objectIds x-apifox-ignore-properties: [] x-apifox-folder: '' models.GetObjectReq: type: object properties: attributeType: description: '0: for ES, including all searchable attributes, no need "readableName"; 1: for UI' type: integer objectId: description: optional type: string objectType: type: integer tangibleId: type: string x-apifox-orders: - attributeType - objectId - objectType - tangibleId x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.GetObjectDetailResp: type: object properties: code: description: 'Response code: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' type: integer data: description: return data allOf: - $ref: '#/components/schemas/models.ObjectDetail' message: description: Human-readable result message type: string x-apifox-orders: - code - data - message x-apifox-ignore-properties: [] x-apifox-folder: '' models.ObjectDetail: type: object properties: tangibleAttributes: type: array items: $ref: '#/components/schemas/models.TangibleAttributeData' x-apifox-orders: - tangibleAttributes x-apifox-ignore-properties: [] x-apifox-folder: '' models.TangibleAttributeData: type: object properties: description: type: string fieldName: type: string level: type: integer readableName: type: string value: type: string x-apifox-orders: - description - fieldName - level - readableName - value x-apifox-ignore-properties: [] x-apifox-folder: '' models.ObjectQReq: type: object properties: filters: $ref: '#/components/schemas/models.SearchFilters' needFields: type: array items: type: string noAggs: type: boolean noTagDetail: type: boolean pageNum: type: integer pageSize: type: integer permission: $ref: '#/components/schemas/models.AccessPermissionV2' query: type: string queryFields: type: string sessionId: type: string sort: type: integer sortByCustom: type: string sortByTag: type: string tsRange: $ref: '#/components/schemas/models.SearchTsRange' userAccount: type: string userId: type: string x-apifox-orders: - filters - needFields - noAggs - noTagDetail - pageNum - pageSize - permission - query - queryFields - sessionId - sort - sortByCustom - sortByTag - tsRange - userAccount - userId x-apifox-ignore-properties: [] x-apifox-folder: '' models.AccessPermissionV2: type: object properties: groupIds: type: array items: type: string userIds: type: array items: type: string wildcardDisabled: type: boolean x-apifox-orders: - groupIds - userIds - wildcardDisabled x-apifox-ignore-properties: [] x-apifox-folder: '' models.SearchFilters: type: object properties: createByme: type: boolean deleteFlags: type: array items: type: integer events: type: array items: type: string features: type: array items: type: string geo: type: array items: type: string noDmaShow: type: boolean objectIds: type: array items: type: string objectIntTypes: type: array items: type: integer objectTypes: type: array items: type: string sources: type: array items: type: string status: type: array items: type: integer tags: type: array items: type: string tangibleTypes: type: array items: type: string x-apifox-orders: - createByme - deleteFlags - events - features - geo - noDmaShow - objectIds - objectIntTypes - objectTypes - sources - status - tags - tangibleTypes x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.SearchObjectTagsResp: type: object properties: code: description: 'Response code: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' type: integer data: description: return data type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] message: description: Human-readable result message type: string x-apifox-orders: - code - data - message x-apifox-ignore-properties: [] x-apifox-folder: '' models.ObjectTagSuggestionReq: type: object properties: classifications: type: array items: type: integer groupId: type: array items: type: string lang: type: string query: type: string size: type: integer sort: type: integer userId: type: string x-apifox-orders: - classifications - groupId - lang - query - size - sort - userId x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.GetObjectTagSuggestionResp: type: object properties: errorCode: type: string errorInfo: type: string result: type: array items: $ref: '#/components/schemas/models.EsObjectTagData' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' models.SearchFileFormatByPathReq: type: object properties: filePath: type: string fullFilePath: type: string x-apifox-orders: - filePath - fullFilePath x-apifox-ignore-properties: [] x-apifox-folder: '' models.SearchMediaByIdsReq: type: object properties: objectIds: type: array items: type: string x-apifox-orders: - objectIds x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.SearchMediaByIdsResp: type: object properties: errorCode: type: string errorInfo: type: string result: type: array items: $ref: '#/components/schemas/models.SearchMediaByIdsReturnData' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' models.SearchMediaByIdsReturnData: type: object properties: dash: &id004 $ref: '#/components/schemas/models.MediaFileRetrunData' hls: *id004 objectGrid: type: string objectId: type: string x-apifox-orders: - dash - hls - objectGrid - objectId x-apifox-ignore-properties: [] x-apifox-folder: '' models.MediaFileRetrunData: type: object properties: duration: type: integer fileSize: type: integer groupId: type: string liveId: type: string objectGrid: type: string objectMedia: type: string path: type: string pathMd5: type: string peerId: type: string storageInfoBase64: type: string tPeerId: type: string thumbnailPath: type: string timecodeEnd: type: integer timecodeLive: type: integer timecodeStart: type: integer timestamp: type: integer timestampEnd: type: integer timestampLive: type: integer timestampStart: type: integer type: type: integer uid: type: string x-apifox-orders: - duration - fileSize - groupId - liveId - objectGrid - objectMedia - path - pathMd5 - peerId - storageInfoBase64 - tPeerId - thumbnailPath - timecodeEnd - timecodeLive - timecodeStart - timestamp - timestampEnd - timestampLive - timestampStart - type - uid x-apifox-ignore-properties: [] x-apifox-folder: '' models.SearchObjectIdByMediaReq: type: object properties: mediaPathes: type: array items: type: string x-apifox-orders: - mediaPathes x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.SearchObjectByMediaResp: type: object properties: errorCode: type: string errorInfo: type: string result: type: array items: $ref: '#/components/schemas/models.ObjectReturnData' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' models.ObjectReturnData: type: object properties: objectGrid: type: string objectId: type: string path: type: string x-apifox-orders: - objectGrid - objectId - path x-apifox-ignore-properties: [] x-apifox-folder: '' models.RecordingInfoQReq: type: object properties: sessionid: type: string task_id: type: string userid: type: string x-apifox-orders: - sessionid - task_id - userid x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.GetRecordingInfoV2Resp: type: object properties: code: description: 'Response code: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' type: integer data: $ref: '#/components/schemas/controllers.RecordingInfoReturnData' message: description: Human-readable result message type: string x-apifox-orders: - code - data - message x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.RecordingInfoReturnData: type: object properties: recordings: type: string x-apifox-orders: - recordings x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.GetInterValReq: type: object properties: paths: description: List of recording file paths for which to retrieve interval information; required type: array items: type: string x-apifox-orders: - paths x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.GetIntervalResp: type: object properties: errorCode: description: 'Business result code: 0=success, 2004=invalid request (paths empty or parse error)' type: integer errorInfo: description: Human-readable result message type: string results: description: List of interval results per path; present only on success type: array items: $ref: '#/components/schemas/models.GetIntervalItems' x-apifox-orders: - errorCode - errorInfo - results x-apifox-ignore-properties: [] x-apifox-folder: '' models.GetIntervalItems: type: object properties: interval: description: interval type: integer path: description: path type: string x-apifox-orders: - interval - path x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.SearchWordsResp: type: object properties: code: description: 'Response code: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' type: integer data: $ref: '#/components/schemas/controllers.CapReturnData' message: description: Human-readable result message type: string x-apifox-orders: - code - data - message x--orders: - code - data - message x--ignore-properties: [] x-apifox-folder: '' controllers.GenMarkSrtResp: type: object properties: code: description: 'Response code: 0=success, 1001=invalid request, 1002=invalid session, 1404=access denied' type: integer data: description: File path of the generated SRT file, if successful type: string message: description: Human-readable result message type: string x-apifox-orders: - code - data - message x-apifox-ignore-properties: [] x-apifox-folder: '' models.ScteMarkerInfoReq: type: object properties: endTime: type: integer scteType: type: string sourceObject: type: string startTime: type: integer x-apifox-orders: - endTime - scteType - sourceObject - startTime x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.GetScteMarkerInfoResp: type: object properties: errorCode: type: string errorInfo: type: string result: type: array items: $ref: '#/components/schemas/models.ScteMarkerInfoResult' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' models.ScteMarkerInfoResult: type: object properties: endTime: type: integer objectId: type: string receiverTime: type: integer startTime: type: integer tangibleId: type: string upid: type: string x-apifox-orders: - endTime - objectId - receiverTime - startTime - tangibleId - upid x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.UpdateClickReq: type: object properties: '-': type: integer docid: description: Unique identifier of the clicked document within the index. type: string index: description: Elasticsearch index name that the clicked document belongs to. type: string lang: description: Language of the search query (e.g. 'en', 'zh'). Optional. type: string order: description: Page number the user was on when clicking. Set to 1 to also log query statistics. type: integer ph_path: description: Placeholder file path associated with the clicked document. Optional. type: string query: description: The search query string that produced the result the user clicked on. type: string rank: description: Position of the result within the current search page (1-based). type: integer sessionid: description: Active session ID of the user, used to verify the request. type: string userid: description: User account/email that performed the click. type: string x-apifox-orders: - '-' - docid - index - lang - order - ph_path - query - rank - sessionid - userid x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.UpdateClickCntResp: type: object properties: code: type: integer json: type: object additionalProperties: true x-apifox-orders: [] properties: {} x-apifox-ignore-properties: [] message: type: string x-apifox-orders: - code - json - message x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.GetVersionResponse: type: object properties: version: type: string x-apifox-orders: - version x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.AgentSearchReq: type: object properties: memoryId: description: Session memory ID for conversational context; pass empty string to start a new session type: string pageNum: description: Page number for pagination, starting from 1 type: integer pageSize: description: Number of results per page type: integer query: description: Natural language search query type: string x-apifox-orders: - memoryId - pageNum - pageSize - query x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.AgentSearchResp: type: object properties: errorCode: description: 'Business result code: 0=success, 2002=no results, 2004=invalid request, 2008=access denied' type: integer errorInfo: description: Human-readable result message type: string result: description: Search result payload allOf: - $ref: '#/components/schemas/controllers.AgentSearchItems' x-apifox-orders: - errorCode - errorInfo - result x-apifox-ignore-properties: [] x-apifox-folder: '' controllers.AgentSearchItems: type: object properties: list: description: List of matched search items type: array items: type: string memoryId: description: Session memory ID; pass this value in subsequent requests to maintain conversation context type: string size: description: Number of items in the current response type: integer total: description: Total number of matching items type: integer x-apifox-orders: - list - memoryId - size - total x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceRelationsRequestV2: type: object properties: appearanceId: description: Filter by specific appearance ID type: string detectionTypes: description: 'Filter by detection type: 0=known person, 1=unknown person, 2=logo/brand, 3=text/number' type: array items: type: integer endTimestamp: description: Search end time in milliseconds; defaults to current time type: integer language: description: Language code for search (e.g., en, cn) type: string pageNum: description: Page number, starting from 1 type: integer pageSize: description: Number of results per page type: integer query: description: Text query to filter appearances by name type: string sourceObjects: description: List of source object IDs to query appearance relations for; required type: array items: type: string startTimestamp: description: Search start time in milliseconds; defaults to 7 days ago type: integer x-apifox-orders: - appearanceId - detectionTypes - endTimestamp - language - pageNum - pageSize - query - sourceObjects - startTimestamp x-apifox-ignore-properties: [] x-apifox-folder: '' models.AppearanceSuggestionRequestV2: type: object properties: appearanceType: description: 'Filter by appearance class type: 0=logo/brand, 1=text/number, 2=person/face' type: integer language: description: Language code for search (e.g., en, cn, es) type: string pageNum: description: Page number, starting from 1 type: integer pageSize: description: Number of suggestions per page type: integer query: description: Search prefix for autocomplete type: string sourceObjectIds: description: List of source object IDs to search within; required type: array items: type: string x-apifox-orders: - appearanceType - language - pageNum - pageSize - query - sourceObjectIds x-apifox-ignore-properties: [] x-apifox-folder: '' securitySchemes: bearer: type: bearer scheme: bearer apikey-header-Authorization: type: apikey in: header name: Authorization apikey-header-SID: type: apikey in: header name: SID tvu鉴权: type: bearer scheme: bearer