I'm very new to Alfresco development. I am wanting to integrate my third party activity stream with alfresco share. The pattern would be a user uploads or edits a document in a document library of a site, and the event calls out to the REST API of the stream to post details.
All I need at this stage is where do I start to be able to make JavaScript calls on document events.