# observe\_rsc\_merge/2

Source: https://zotonic.com/docs/1999/observe_rsc_merge-2

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

Language: en



Map to signal merging two resources. Move any information from the loser to the winner. The loser will be deleted.

Type:

[notify\_sync](/id/doc_developerguide_notifications#notification-notify-sync)

Return:

`#rsc_merge{}` properties:

- winner\_id: `m_rsc:resource_id()`
- loser\_id: `m_rsc:resource_id()`
- is\_merge\_trans: `boolean`

License: 

Attribution: 

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