UploadMappingsTrait
trait UploadMappingsTrait
Enables you to manage the upload mappings.
Learn more: Upload Mappings method - Admin API
Properties
ApiClient | $apiClient | Defined in AdminApi class |
Methods
uploadMappings(array $options = [])
Lists upload mappings by folder and its mapped template (URL).
uploadMapping(string $name)
Returns the details of the specified upload mapping.
deleteUploadMapping(string $name)
Deletes an upload mapping.
updateUploadMapping(string $name, array $options = [])
Updates an existing upload mapping with a new template (URL).
createUploadMapping(string $name, array $options = [])
Creates a new upload mapping.
Details
ApiResponse
uploadMappings(array $options = [])
Lists upload mappings by folder and its mapped template (URL).
ApiResponse
uploadMapping(string $name)
Returns the details of the specified upload mapping.
Retrieve the mapped template (URL) of a specified upload mapping folder.
ApiResponse
deleteUploadMapping(string $name)
Deletes an upload mapping.
ApiResponse
updateUploadMapping(string $name, array $options = [])
Updates an existing upload mapping with a new template (URL).
ApiResponse
createUploadMapping(string $name, array $options = [])
Creates a new upload mapping.