List of all Recording CompositionHook resources.
Recording composition hooks
List of all Recording CompositionHook resources.
Query parameters
-
Read only CompositionHook resources with an
enabled
value that matches this parameter. -
Read only CompositionHook resources created on or after this ISO 8601 datetime with time zone.
-
Read only CompositionHook resources created before this ISO 8601 datetime with time zone.
-
Read only CompositionHook resources with friendly names that match this string. The match is not case sensitive and can include asterisk
*
characters as wildcard match. -
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Minimum value is
1
, maximum value is1000
. -
The page index. This value is simply for client state.
Minimum value is
0
. -
The page token. This is provided by the API.
curl \
--request GET 'https://video.twilio.com/v1/CompositionHooks' \
--user "username:password"
{
"meta": {
"key": "composition_hooks",
"url": "https://video.twilio.com/v1/CompositionHooks?Enabled=true&PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://video.twilio.com/v1/CompositionHooks?Enabled=true&PageSize=50&Page=0",
"previous_page_url": null
},
"composition_hooks": []
}
{
"meta": {
"key": "composition_hooks",
"url": "https://video.twilio.com/v1/CompositionHooks?FriendlyName=%2AHook%2A&DateCreatedBefore=2017-12-31T23%3A59%3A59Z&DateCreatedAfter=2017-01-01T00%3A00%3A01Z&Enabled=true&PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://video.twilio.com/v1/CompositionHooks?FriendlyName=%2AHook%2A&DateCreatedBefore=2017-12-31T23%3A59%3A59Z&DateCreatedAfter=2017-01-01T00%3A00%3A01Z&Enabled=true&PageSize=50&Page=0",
"previous_page_url": null
},
"composition_hooks": [
{
"sid": "HKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://video.twilio.com/v1/CompositionHooks/HKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"trim": true,
"format": "webm",
"enabled": true,
"resolution": "1280x720",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2015-07-30T20:00:00Z",
"date_updated": "2015-07-30T20:01:33Z",
"video_layout": {
"pip": {
"reuse": "none",
"width": 0,
"x_pos": 100,
"y_pos": 600,
"z_pos": 10,
"height": 0,
"max_rows": 0,
"max_columns": 0,
"video_sources": [
"student*"
],
"cells_excluded": [],
"video_sources_excluded": []
},
"grid": {
"reuse": "show_oldest",
"width": 0,
"x_pos": 100,
"y_pos": 600,
"z_pos": 10,
"height": 0,
"max_rows": 0,
"max_columns": 0,
"video_sources": [
"*"
],
"cells_excluded": [],
"video_sources_excluded": [
"moderator*"
]
}
},
"audio_sources": [
"*"
],
"friendly_name": "My Special Hook1",
"status_callback": "http://www.example.com",
"audio_sources_excluded": [],
"status_callback_method": "POST"
}
]
}