List Media Factories

You can use the REST API to list all of the media factories in one of your apps.

Request

GET https://www.cameratag.com/api/v15/apps/[YOUR_APP_UUID]/media_factories.json

Parameters

Below is a list of parameters that this endpoint accepts.

Parameter Accepted Values Description Required
api_key a valid user api_key All App endpoints require authentcation Required

Example Response

{
  "media_factories": [
    {
      "id": 8,
      "type": "VideoFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "720p",
      "width": 1280,
      "height": 720,
      "extension": "mp4",
      "length": "",
      "bitrate": null,
      "source": "camera",
      "is_system": null,
      "fg_color": null,
      "language": null
    },
    {
      "id": 10,
      "type": "ImageFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "vga_thumb",
      "width": 1280,
      "height": 720,
      "extension": "jpg",
      "length": "",
      "bitrate": null,
      "source": "camera",
      "is_system": true,
      "fg_color": null,
      "language": null
    },
    {
      "id": 11,
      "type": "FilmstripFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "vga_filmstrip",
      "width": 1280,
      "height": 720,
      "extension": "jpg",
      "length": 30,
      "bitrate": null,
      "source": "camera",
      "is_system": true,
      "fg_color": null,
      "language": null
    },
    {
      "id": 82916,
      "type": "VideoFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "vertical",
      "width": 720,
      "height": 1280,
      "extension": "mp4",
      "length": "",
      "bitrate": null,
      "source": "camera",
      "is_system": null,
      "fg_color": null,
      "language": null
    },
    {
      "id": 25,
      "type": "WaveformFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "waveform",
      "width": 2000,
      "height": 375,
      "extension": "png",
      "length": null,
      "bitrate": null,
      "source": "microphone",
      "is_system": true,
      "fg_color": null,
      "language": null
    },
    {
      "id": 26,
      "type": "NegativeWaveformFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "negative_waveform",
      "width": 2000,
      "height": 375,
      "extension": "png",
      "length": null,
      "bitrate": null,
      "source": "microphone",
      "is_system": true,
      "fg_color": null,
      "language": null
    },
    {
      "id": 27,
      "type": "ImageFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "photo",
      "width": 640,
      "height": 480,
      "extension": "jpg",
      "length": null,
      "bitrate": null,
      "source": "photobooth",
      "is_system": true,
      "fg_color": null,
      "language": null
    },
    {
      "id": 109876,
      "type": "AnimatedGifFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "Giphy",
      "width": 640,
      "height": 480,
      "extension": "gif",
      "length": "10",
      "bitrate": null,
      "source": "camera",
      "is_system": null,
      "fg_color": null,
      "language": null
    },
    {
      "id": 134277,
      "type": "VideoFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "user_stream",
      "width": 640,
      "height": 480,
      "extension": "mp4",
      "length": null,
      "bitrate": null,
      "source": "room",
      "is_system": true,
      "fg_color": null,
      "language": null
    },
    {
      "id": 134278,
      "type": "ImageFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "user_thumb",
      "width": 640,
      "height": 480,
      "extension": "jpg",
      "length": null,
      "bitrate": null,
      "source": "room",
      "is_system": true,
      "fg_color": null,
      "language": null
    },
    {
      "id": 134279,
      "type": "FilmstripFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "user_filmstrip",
      "width": 640,
      "height": 480,
      "extension": "jpg",
      "length": 30,
      "bitrate": null,
      "source": "room",
      "is_system": true,
      "fg_color": null,
      "language": null
    },
    {
      "id": 366587,
      "type": "VideoFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "fwefwe",
      "width": 640,
      "height": 480,
      "extension": "mp4",
      "length": "",
      "bitrate": null,
      "source": "room_composite",
      "is_system": null,
      "fg_color": null,
      "language": null
    },
    {
      "id": 366588,
      "type": "VideoFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "fwefweffwef",
      "width": 640,
      "height": 480,
      "extension": "mp4",
      "length": "",
      "bitrate": null,
      "source": "room_streams",
      "is_system": null,
      "fg_color": null,
      "language": null
    },
    {
      "id": 92166,
      "type": "OriginalFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "Original",
      "width": null,
      "height": null,
      "extension": null,
      "length": null,
      "bitrate": null,
      "source": "camera",
      "is_system": null,
      "fg_color": null,
      "language": null
    },
    {
      "id": 24,
      "type": "AudioFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "mp3",
      "width": null,
      "height": null,
      "extension": "mp3",
      "length": null,
      "bitrate": null,
      "source": "microphone",
      "is_system": true,
      "fg_color": null,
      "language": null
    }
  ],
  "current_page": 1
}