Welcome Apps REST API

List Media Factories

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

Request

GET https://staging.cameratag.com/api/v14/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": 133540,
      "type": "VideoFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "Testeroo",
      "width": 1920,
      "height": 1080,
      "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": 1281,
      "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": 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": "thumb",
      "width": 640,
      "height": 480,
      "extension": "jpg",
      "length": null,
      "bitrate": null,
      "source": "photobooth",
      "is_system": true,
      "fg_color": null,
      "language": null
    },
    {
      "id": 135800,
      "type": "VideoFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "whole_room_video",
      "width": 640,
      "height": 480,
      "extension": "mp4",
      "length": null,
      "bitrate": null,
      "source": "room_composite",
      "is_system": true,
      "fg_color": null,
      "language": null
    },
    {
      "id": 135801,
      "type": "ImageFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "whole_room_thumb",
      "width": 640,
      "height": 480,
      "extension": "jpg",
      "length": null,
      "bitrate": null,
      "source": "room_composite",
      "is_system": true,
      "fg_color": null,
      "language": null
    },
    {
      "id": 135802,
      "type": "FilmstripFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "whole_room_filmstrip",
      "width": 640,
      "height": 480,
      "extension": "jpg",
      "length": 30,
      "bitrate": null,
      "source": "room_composite",
      "is_system": true,
      "fg_color": null,
      "language": null
    },
    {
      "id": 135803,
      "type": "VideoFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "individual_stream_video",
      "width": 640,
      "height": 480,
      "extension": "mp4",
      "length": null,
      "bitrate": null,
      "source": "room_streams",
      "is_system": true,
      "fg_color": null,
      "language": null
    },
    {
      "id": 135804,
      "type": "ImageFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "individual_stream_thumb",
      "width": 640,
      "height": 480,
      "extension": "jpg",
      "length": null,
      "bitrate": null,
      "source": "room_streams",
      "is_system": true,
      "fg_color": null,
      "language": null
    },
    {
      "id": 135805,
      "type": "FilmstripFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "individual_stream_filmstrip",
      "width": 640,
      "height": 480,
      "extension": "jpg",
      "length": 30,
      "bitrate": null,
      "source": "room_streams",
      "is_system": true,
      "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": 204101,
      "type": "CaptionFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "captions",
      "width": null,
      "height": null,
      "extension": "VTT",
      "length": null,
      "bitrate": null,
      "source": "camera",
      "is_system": null,
      "fg_color": null,
      "language": "en-US"
    },
    {
      "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
    },
    {
      "id": 133541,
      "type": "OriginalFactory",
      "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
      "name": "Original",
      "width": null,
      "height": null,
      "extension": null,
      "length": null,
      "bitrate": null,
      "source": "photobooth",
      "is_system": null,
      "fg_color": null,
      "language": null
    }
  ],
  "current_page": 1
}