type

RemoteUploadInput

type RemoteUploadInput struct { URL string Data store.Values Actor *store.Document ActorCollection schema.CollectionSlug Locale LocaleOptions }

A public HTTP(S) asset and upload metadata.

Source core/uploads.go:39

URLstring
Public HTTP(S) asset URL to fetch.
Datastore.Values
Application-owned fields for the upload document.
Actor*store.Document
Authenticated actor evaluated by access rules.
ActorCollectionschema.CollectionSlug
Exact auth collection that owns Actor.
LocaleLocaleOptions
Content locale for application-owned upload metadata.

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