method

UploadField.AppendReadHooks

AppendReadHooks appends response-transform hooks after existing callbacks.

Arguments

ArgumentTypeDescription
valueReadHooks[operation.ReferenceOutput]The value value.

Returns

The declared result.

UploadField

Full signature

Related types

  • UploadField

    UploadField configures a link to one file in the target upload collection.

  • ReadHooks

    ReadHooks registers response transformations using the field's output type, which can differ from its write type when a relationship is populated.

  • ReferenceOutput

    ReferenceOutput is the logical read value of a singular relationship. ID is available regardless of whether an authorized document was populated.