# observe\_edge\_insert/2

Source: https://zotonic.com/docs/2168/observe_edge_insert-2

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

Language: en



An edge has been inserted. Note that the Context for this notification does not have the user who created the edge.

Only emitted if the edge is still present when the edge log batch is read. The sequence, creator and creation time reflect the edge at that time.

Type:

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

Return:

return value is ignored

`#edge_insert{}` properties:

- subject\_id: `m_rsc:resource()`
- predicate: `atom`
- object\_id: `m_rsc:resource()`
- edge\_id: `pos_integer`
- seq: `integer`
- creator\_id: `m_rsc:resource_id() | undefined`
- created: `calendar:datetime()`

License: 

Attribution: 

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