type
RemoteUploadInput
A public HTTP(S) asset and upload metadata.
Properties
| Property | Type | Description |
|---|---|---|
Draft | *bool | Draft selects working (true) or published (false) content on creation. |
Image | *UploadImageEdit | The Image value. |
Filename | string | The Filename value. |
URL | string | Public HTTP(S) asset URL to fetch. |
Data | store.Values | Application-owned fields for the upload document. |
Actor | *store.Document | Authenticated actor evaluated by access rules. |
ActorCollection | schema.CollectionSlug | Exact auth collection that owns Actor. |
Locale | LocaleOptions | Content 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
}