Skip to main content
PATCH
Update photo
Requires write:photos. Updates gallery photo metadata including file name, description, captured date, or folder assignment. The response includes a fresh signed imageUrl.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Scopes

write:photos

Create, update, delete, and sync photos and photo folders

Path Parameters

builderId
string
required
photoId
string
required

Body

application/json
capturedAt
string<date-time>
description
string | null
fileName
string
folderId
string | null

Response

200 - application/json

Photo updated

id
string
builderId
string | null
projectId
string | null
source
enum<string>

The BuildPass UI source that owns the photo attachment.

Available options:
GALLERY,
SITE_DIARY,
PRE_START,
CHECKLIST,
ITP,
PLATFORM_ACTION,
DEFECT
folderId
string | null
fileName
string
contentType
string
key
string
fileSize
string
description
string | null
photoTakenDate
string<date-time> | null
sortDate
string<date-time> | null
metadata
object | null
createdAt
string<date-time>
updatedAt
string<date-time>
archivedAt
string<date-time> | null
imageUrl
string<uri> | null

Short-lived signed URL for downloading the photo image.