Skip to main content

StorageItemDataInput

@oneOf

No description

1
@oneOf
1
input StorageItemDataInput {
2
file: MultipartFileItem
3
url: String
4
urlRef: String
5
}

Directives​

oneOf​

1
@oneOf

Fields​

file ● MultipartFileItem scalar common​

Multipart file upload. The bytes are saved to the configured storage backend, and metadata (e.g. IPTC/EXIF, dimensions) is automatically extracted from the binary.

url ● String scalar common​

External URL to import. The content type is fetched over HTTP if it can't be inferred from the URL's file extension, and the binary is downloaded to extract metadata (e.g. IPTC/EXIF, dimensions).

urlRef ● String scalar common​

External URL to reference as-is. No HTTP requests are made: the content type is only set when the URL has a recognizable file extension, and no metadata is extracted. Use this when you want to register an external URL without paying the network cost of fetching it.

Member Of​

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.