# observe\_media\_identify\_extension/2

Source: https://zotonic.com/docs/1805/observe_media_identify_extension-2

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

Language: en



Try to find a filename extension for a mime type (example: `<<".jpg">>`)

Type:

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

Return:

Extension (for example `<<".png">>`) or `undefined`

`#media_identify_extension{}` properties:

- mime: `binary`
- preferred: `undefined|binary`

License: 

Attribution: 

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