type

RemoteUploadInput

A public HTTP(S) asset and upload metadata.

Properties

PropertyTypeDescription
Draft*boolDraft selects working (true) or published (false) content on creation.
Image*UploadImageEditThe Image value.
FilenamestringThe Filename value.
URLstringPublic HTTP(S) asset URL to fetch.
Datastore.ValuesApplication-owned fields for the upload document.
Actor*store.DocumentAuthenticated actor evaluated by access rules.
ActorCollectionschema.CollectionSlugExact auth collection that owns Actor.
LocaleLocaleOptionsContent locale for application-owned upload metadata.

How it works

Remote fetches are SSRF-hardened, bounded, and pass through the same MIME, storage, access, validation, and hook pipeline as streamed uploads.

Full signature

type RemoteUploadInput struct { // Draft selects working (true) or published (false) content on creation. Draft *bool Image *UploadImageEdit Filename string URL string Data store.Values Actor *store.Document ActorCollection schema.CollectionSlug Locale LocaleOptions }

Source core/uploads.go:49