Defines an API request.
constructFormdata() Constructs a FormData instance from an object.
the object to generate the FormData from
PUT /api/invites/
- promises to create an invite
A nickname for the notification
delete() DELETE request
DELETE /api/invites/:id/
- promises to delete an invite
The ID of the invite
POST /api/invites/:id/email/
- promises to sent an email with the invitation
The ID of the invite
The email to which the invite will be sent
generateHeaders() A function used to generate the headers that need to be passed to the request performee.
get() GET request
GET /api/invites/
- promises to retrieve a list of all invites
patch() PATCH request
Request body
patchFormdata() PATCH request (multipart/form-data, application/x-www-form-urlencoded)
post() POST request
Request body
postFormdata() POST request (multipart/form-data, application/x-www-form-urlencoded)
put() PUT request
Request body
putFormdata() PUT request (multipart/form-data, application/x-www-form-urlencoded)
GET /api/invites/search/
- promises to search between the user invites
PATCH /api/invites/
- promises to update a notification's nickname
The ID of the notification
The new nickname
Generated using TypeDoc
public UserInvitesAPI - Provides methods to interact with the User Invites API