# observe\_media\_upload\_rsc\_props/3

Source: https://zotonic.com/docs/1913/observe_media_upload_rsc_props-3

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

Language: en



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

Type:

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

Return:

modified resource properties map

`#media_upload_rsc_props{}` properties:

- id: `m_rsc:resource_id()|insert_rsc`
- mime: `binary`
- archive\_file: `unknown`
- options: `list`
- medium: `z_media_identify:media_info()`

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1913?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/1913?language=en>)
