# observe\_activity/2

Source: https://zotonic.com/docs/2154/observe_activity-2

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

Language: en



An activity in Zotonic. When this is handled as a notification then return a list of patterns matching this activity. These patterns are then used to find interested subscribers.

Type:

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

Return:

`#activity{}` properties:

- version: `pos_integer`
- posted\_time: `unknown`
- actor: `unknown`
- verb: `atom`
- object: `unknown`
- target: `unknown`

License: 

Attribution: 

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