signedProposalPhotoUrl

Get a signed URL to upload a new photo

signedProposalPhotoUrl(
objectId: ID = 0
imageType: ImageEnumTypes!
objectType: ObjectEnumTypes!
pbCycleId: ID = 0
): SignedUrlResponse

Arguments#

objectId (ID)#

Object uuid. This field is optional and only needed when you want to add a new image to an existing object. This ID could correspond to a proposal, comment, PBCycle or other type according to object_type field.

imageType (ImageEnumTypes!)#

Image type to upload. In the future this field can change to cover other scenarios.

objectType (ObjectEnumTypes!)#

Type of object to which the image will assigned.

pbCycleId (ID)#

PB Cycle on which the proposal is going to be created if doesn't exist.

Type#

SignedUrlResponse#