Changes

Jump to navigation Jump to search

API V2.0

219 bytes added, 12:26, 1 July 2022
no edit summary
The ''token'' returned in step 2 can be included as a header to authenticate calls to other API endpoints.
 <span style="color:#019cde; font-size: 150%;“ >{{#fas:info-circle}} </span> Note: ''tokens'' expire after 24 hours.
'''Step 4: Use the refresh token to generate new tokens'''
As ''tokens'' expire after 24 hours, you will need to use the ''refresh token'' with GET /authentication/token to get new tokens when old ones expire.
<span style="color:#019cde; font-size: 150%;“ >{{#fas:info-circle}} </span> Note: ''Refresh tokens'' do not expire so long as they have been used within the past 30 days.
= Invite codes =
Each response item will contain a "success" boolean field. Success will be false if there were any errors in processing the item.
<span style="color:#019cde; font-size: 150%;“ >{{#fas:info-circle}} Note: </span> Success being false does not necessarily mean that nothing has changed.
E.g. if a valid booking with an invalid info item is posted, the booking will be created but the info item will not. Success will be false in this case because there was an error.

Navigation menu