LinksController
@RestController
@RequestMapping(value = "BASE_EQUINOX_ENDPOINT + USERS_KEY + "/{" + USER_IDENTIFIER_KEY + "}/" + LINKS_KEY")
The LinksController
class is useful to manage all the RefyLink operations
Author
N7ghtm4r3 - Tecknobit
See also
EquinoxController
Properties
Link copied to clipboard
collectionsHelper
helper to manage the LinksCollection database operationsLink copied to clipboard
Link copied to clipboard
linksHelper
helper to manage the RefyLink database operationsLink copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
teamsHelper
helper to manage the Team database operationsLink copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
@PatchMapping(headers = "token", path = "/{" + LINK_IDENTIFIER_KEY + "}")
Method to edit an existing link
Link copied to clipboard
open fun editAttachmentsList(payload: Map<String, Any>, attachmentsKey: String, management: DefaultRefyController.AttachmentsManagement): String
open fun editAttachmentsList(payload: Map<String, Any>, itemsListCanBeEmpty: Boolean, attachmentsKey: String, management: DefaultRefyController.AttachmentsManagement): String
Method to edit the attachments list of an item
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Method to get from the reference link the real title from the related web page
Link copied to clipboard
Link copied to clipboard
Method to get whether the user is or not authorized to operate with the link requested
Link copied to clipboard
Link copied to clipboard
@PutMapping(headers = "token", path = ""/{" + LINK_IDENTIFIER_KEY + "}/" + COLLECTIONS_KEY")
Method to manage the collections where the link is shared
Link copied to clipboard
@PutMapping(headers = "token", path = ""/{" + LINK_IDENTIFIER_KEY + "}/" + TEAMS_KEY")
Method to manage the teams where the link is shared
Link copied to clipboard
Link copied to clipboard
Method to get whether the user is or not the owner of the item requested