New answers tagged assets
1
vote
How do you upload an asset via an API or GraphQL
An Asset mutation looks like this:
mutation MyMutation(
$filename: String = "",
$url: String = "",
$title: String = ""
) {
save_assets_Asset(
_file: {...
Top 50 recent answers are included
Related Tags
assets × 822image × 74
plugin-development × 70
craft3 × 67
upload × 67
templating × 62
image-transforms × 52
s3 × 49
entries × 39
matrix × 33
control-panel × 27
plugins × 24
assetfilemodel × 24
entry × 21
field × 20
url × 20
assets-field × 19
error-message × 15
localization × 14
config × 14
relations × 13
php × 13
subfolder × 13
database × 12
search × 12