Notes
Controller
@RestController
@RequestMapping(path = "BASE_EQUINOX_ENDPOINT + USERS_KEY + "/{" + IDENTIFIER_KEY + "}/" + NOTES_KEY"
)
The NotesController
class is useful to
manage all the note operations
Author
N7ghtm4r3 - Tecknobit
See also
EquinoxController
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
notesService
instance to
manage the notes database operations
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
WRONG_CONTENT_NOTE_MESSAGE
message to use when a wrong content note has been inserted
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
@PatchMapping(path = ""{" + NOTE_IDENTIFIER_KEY + "}" + CHANGE_NOTE_STATUS_ENDPOINT",
headers = []
)
Method to mark as done an existing note
Link copied to clipboard
Link copied to clipboard
@DeleteMapping(path = "{" + NOTE_IDENTIFIER_KEY + "}",
headers = []
)
Method to delete an existing note
Link copied to clipboard
@PatchMapping(path = "{" + NOTE_IDENTIFIER_KEY + "}",
headers = []
)
Method to edit an existing note
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@GetMapping(headers = []
)
Method to get a notes list
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard