# getModes
Description: Get a list of modes and PINs for the current capture card.
Request example:
{
"method" : "getModes",
"requestId" : "1"
}
Response example:
{
"result" : true,
"activeMode" : "NTSC_433",
"activePin" : "RGB",
"method" : "getModes",
"requestId" : "1",
"modeList" : [
"NTSC_433",
"NTSC_M",
"NTSC_M_J",
"PAL_60"
],
"pinList" : [
"RGB",
"Serial Digital"
],
"supportPTZ" : false,
"videoCapturerName" : "USB2.0 UVC HD Webcam",
"videoCapturerDescription" : "\\\\?\\usb#vid_13d3&pid_5656&mi_00#6&8b7b718&0&0000#{e5323777-f976-4f5b-9b55-b94699c46e44}\\global"
}
Parameter description:
videoCapturerName
- unique name of the video capture devicevideoCapturerDescription
— the identifier of the current video capture deviceactiveMode
— the active mode of a video capture deviceactivePin
— the active PIN of the video capture devicemodeList
— List of modes available for the devicepinList
— the list of PINs available for the devicesupportPTZ
- flag indicating support for PTZ controlrequestId
- a unique request identifier. You can learn more about it here.
See also: