You can also view
You are viewing documentation for version 10. This is the most recent stable release!

Create App

You can use the REST API to update the data / settings of existing Apps programatically.

Request

PUT https://cameratag.com/api/v10/cameras/[YOUR_APP_UUID].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
name * The name of your application Required
formats[] qvga, 360p, vga, 720p The recording format(s) of your app. To select more than one pass multiple formats[] params Required
domains[] * The authorized domain(s) for your app. To select more than one pass multiple domains[] params Optional
callback_url * A URL for the server callback functionality. Optional
crop_length * Mex length in seconds for server-side cropping (useful for limiting uploaded video length) Optional
bucket_name * The name of your S3 Bucket (for S3 Syndication) Optional
s3_privacy public-read, private, authenticated-read The privacy settings for assets placed in your s3 bucket (if using bucket_name) Optional
s3_use_sse true, false Determines whether assets uploaded to S3 should use Server Side Encryption Optional
publish_signature_required true, false require a valid signature for publishing of new assets Optional
playback_signature_required true, false require a valid signature for playback Optional
notification_email * An email to receive asset notifications Optional
email_trigger created, starred Determines whether email notifications are sent when assets are created or starred Optional
ftp_server * A FTP server for FTP syndication Optional
ftp_username * A FTP user name for FTP syndication Optional
ftp_password * A FTP password for FTP syndication
ftp_directory * A FTP directory for FTP syndication Optional
use_ftp true, false Toggle on / off ftp syndication Optional
ftp_trigger created, starred Determines when FTP syndication happend (either after the asset is created or after it is starred) Optional
wall_privacy all, none, starred Determins which assets are shown in videowalls connected to this app Optional
photo_width * The default horizontal resolution in pixels for images captured with the photobooth for this app Optional
photo_height * The default vertical resolution in pixels for images captured with the photobooth for this app Optional

Example Response

{
  "uuid": "63f9c870-72c4-0130-04c5-123139045d73",
  "name": "Homepage",
  "callback_url": "https://hooks.zapier.com/hooks/catch/1970392/hsu6d6/",
  "notification_email": "chris@cameratag.com",
  "bucket_name": "myBucketName",
  "crop_length": null,
  "s3_privacy": "public-read",
  "s3_directory": "cameratag",
  "s3_use_sse": false,
  "publish_signature_required": false,
  "playback_signature_required": false,
  "ftp_server": "ftp.myServer.com",
  "ftp_username": "username",
  "ftp_password": "password",
  "ftp_directory": "cameratag/directory/",
  "use_ftp": false,
  "use_s3": false,
  "use_youtube": false,
  "ftp_trigger": "created",
  "email_trigger": "created",
  "s3_trigger": "created",
  "youtube_trigger": "created",
  "wall_privacy": "starred",
  "photo_width": 640,
  "photo_height": 480,
  "formats": [
    "vga"
  ],
  "domains": [

  ]
}