AssetInput
Last edit: May 19, 2026
No description
type AssetInput {
cache_control: String
file_size: Int
manually_managed: Boolean
metadata: HashObject
name: String!
physical_file_path: String!
url: String
}
Fields
cache_control (String)
Cache-Control header value for the asset (e.g., "max-age=315576000, public")
file_size (Int)
manually_managed (Boolean)
defines whether this object will be manually managed, meaning it will not be affected via pos-cli deploy / sync
metadata (HashObject)
metadata hash for the attribute
name (String)
physical_file_path (String)
defines where the file definition will be available after pull; should start
with the module name follow by private/public scope, for example
manual/public/assets/logo.png
url (String)
Deprecated: ignored. Asset URLs are derived from name + per-instance CDN.
Upload bytes via admin_assets_presign_urls to instances/<id>/assets/<name>
first, then call this mutation. The raw_url column will be removed in a future release.