Skip to navigation

Batch Update Media

View as Markdown

Batch Update Media

Validation Rules:

  • media_ids (required): Array of media UUIDs to update
    • Required
    • Must be an array
    • Min: 1 UUID
    • Each element must be a valid UUID
  • updates (required): Object containing fields to update
    • Required
    • Must be an object
  • updates.media_type (optional): Must be one of: photo, video, audio, document, drawing, signature, before_photo, after_photo, progress_photo, damage_photo, part_photo, measurement, inspection, safety, compliance, other
  • updates.customer_visible (optional): Boolean
  • updates.capture_context (optional): Must be one of: arrival, before_work, during_work, after_work, departure, problem, solution, customer_demo, inspection, safety_check, compliance, training, other
  • updates.capture_type (optional): Must be one of: camera, gallery, scan, draw, upload
  • updates.tags (optional): Array, max 10 tags, each tag max 50 characters

Headers

{{tenant_key_name}}stringOptional

Request

This endpoint expects an object.
updatesobjectRequired
media_idslist of stringsRequired

Response

Successful response