list member invitations
/members/{member}/invitations [GET]
API Support | Available since | Last updated | Output |
---|---|---|---|
4.9100 | 5.9500 | xml, json |
Description
Get the invitations for the member.
Returns the list of groups the given member was invited to.
Parameters
No parameters required.
Permission
Only the current member or administrators can invoke this service.
Response
This service returns a list of <membership> elements with the status set to invited
and wrapped in an <invitations>
element.
<invitations> <membership id="[membership id]" email-listed="[true|false]" notification="[notification]" status="invited" role="[role]"> <group|project id="[group id]" name="[name]" ... /> </membership> <membership status="invited" ...> ... </membership> ... </invitations>
If the user has no invitation, the service returns an empty list:
<invitations/>
Error Handling
No specific errors expected for this service.