Skip to main content

Inputs

This section summarizes the request bodies used by the REST API.

Image and Video

EndpointRequest Body
POST /process_imagefile, return_image, regions, effects
POST /add_streamstream_url, name, frame_rate, index_for_search, search_index_types, regions, lines, notification, recording, effects
POST /process_videoname, input_video_path, rotate_video, output_video_path, frame_rate, index_for_search, search_index_types, regions, lines, real_time, video_start_interval, output_all_frames, effects, recording, video_start_local_time, start_seconds, end_seconds, mode, base_image_path, plugins, validation
POST /remove_streamstream_url
POST /get_video_framestream_url
EndpointRequest Body
POST /archive_searchclass_name, search_type, object_description, face_match_type, face_person_id, face_group_id, alert_threshold, similarity, stream_list, start_date_time, end_date_time
POST /live_searchclass_name, search_type, object_description, face_match_type, face_person_id, face_group_id, alert_threshold, similarity, stream_list, duration_seconds, notification
POST /pause_live_searchsearch_id
POST /resume_live_searchsearch_id
POST /cancel_live_searchsearch_id

Face Recognition

EndpointRequest Body
POST /facerec_add_groupgroup_id, group_name, group_description
POST /facerec_remove_groupgroup_id
POST /facerec_add_personperson_id, person_display_name, person_groups, person_images
POST /facerec_add_peoplefile_path
POST /facerec_remove_personperson_id
POST /facerec_search_group_namessearch_text
POST /facerec_search_people_namessearch_text
POST /facerec_person_detailsperson_id

Status

EndpointRequest Body
POST /monitor_streamstream_url, duration_seconds
POST /stop_monitoringstream_url
POST /get_stream_detailsstream_url
POST /get_last_detection_infostream_url

Config

EndpointRequest Body
POST /update_configServer-specific configuration object