# observe\_media\_upload\_props/3

Source: https://zotonic.com/docs/1463/observe_media_upload_props-3

URI: https://zotonic.com/id/1463

Language: en



Notification that a medium file has been uploaded. This is the moment to change properties, modify the file etc. The folded accumulator is the map with updated medium properties.

Type:

[foldl](/id/doc_developerguide_notifications#notification-foldl)

Return:

modified medium properties map

`#media_upload_props{}` properties:

- id: `m_rsc:resource_id()|insert_rsc`
- mime: `binary`
- archive\_file: `file:filename_all()|undefined`
- options: `list`

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1463?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1463?language=en>)
