# observe\_export\_resource\_encode/2

Source: https://zotonic.com/docs/1783/observe_export_resource_encode-2

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

Language: en



mod\_export - Encode a single data element.

Type:

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

Return:

`{ok, binary()}`, `{ok, binary(), ContinuationState}` or `{error, Reason}`

`#export_resource_encode{}` properties:

- dispatch: `atom`
- id: `m_rsc:resource_id()|undefined`
- content\_type: `binary`
- data: `term`
- state: `term`

License: 

Attribution: 

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