UploadPresetsTrait
trait UploadPresetsTrait
Enables you to manage upload presets.
Learn more: Upload Presets method - Admin API
Properties
ApiClient | $apiClient | Defined in AdminApi class |
Methods
uploadPresets(array $options = [])
Lists existing upload presets.
uploadPreset(string $name, array $options = [])
Retrieves the details of the specified upload preset.
deleteUploadPreset(string $name)
Deletes the specified upload preset.
updateUploadPreset(string $name, array $options = [])
Updates the specified upload preset.
createUploadPreset(array $options = [])
Creates a new upload preset.
Details
ApiResponse
uploadPresets(array $options = [])
Lists existing upload presets.
ApiResponse
uploadPreset(string $name, array $options = [])
Retrieves the details of the specified upload preset.
ApiResponse
deleteUploadPreset(string $name)
Deletes the specified upload preset.
ApiResponse
updateUploadPreset(string $name, array $options = [])
Updates the specified upload preset.
ApiResponse
createUploadPreset(array $options = [])
Creates a new upload preset.