ShareNotificationInformation - Huddle/huddle-apis GitHub Wiki
This endpoint tells you which users were involved in a share action. See document share and folder share.
Each share has a unique id of type Guid. When a share has been performed you will be able to retrieve links to individual shares from the Document Audit trail API. Note that currently folders do not have an audit trail endpoint.
The response
GET /notifications/shares/565eee8d-7d34-41e1-9c48-19bcc08ccb32 HTTP/1.1
HTTP/1.1 200 OK
Accept: application/vnd.huddle.data+xml
Authorization: OAuth2 frootymcnooty/vonbootycherooty
<shareInformation>
<people
name="Mr Pink"
email="[email protected]"
rel="recipient">
<link
rel="self"
href="/users/3" />
<link
rel="avatar"
href="/users/3/avatar"
type="image/jpeg" />
<link
rel="alternate"
href="/user/mrpink"
type="text/html" />
</people>
<people
name="Mr White"
email="[email protected]"
rel="recipient">
<link
rel="self"
href="/users/4" />
<link
rel="avatar"
href="/users/4/avatar"
type="image/jpeg" />
<link
rel="alternate"
href="/user/mrwhite"
type="text/html" />
</people>
</shareInformation>
start = shareInformation
shareInformation = element people{
actor+
}
actor = element actor {
attribute name { xsd:string },
attribute email { xsd:string },
attribute rel { xsd:string },
link +
}