# observe\_content\_types\_dispatch/3

Source: https://zotonic.com/docs/2017/observe_content_types_dispatch-3

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

Language: en



Get available content types and their dispatch rules Example: \{\{<<”text”>>, <<”html”>>, \[\]\}, page\} A special dispatch rule is ‘page\_url’, which refers to the page\_url property of the resource.

Type:

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

Return:

`[{ContentType, DispatchRule}]`

`#content_types_dispatch{}` properties:

- id: `m_rsc:resource()`

License: 

Attribution: 

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