Koha::REST::V1::Messages
Controller function that handles retrieving a list of Koha::Patron::Message objects
Controller function that handles retrieving a single Koha::Patron::Message object
Controller function that handles adding a new Koha::Patron::Message object
Controller function that handles updating a Koha::Patron::Message object
Controller function that handles deleting a Koha::Patron::Message object
my $message = $c->_get_editable_message;
Returns the Koha::Patron::Message identified by the message_id path parameter, if the logged in user is allowed to modify it. Unless AllowAllMessageDeletion is enabled, only messages from the user's library can be modified.
my $error = $c->_validate_body( $body );
Validates the relations in a request body. Returns an error structure suitable for a 400 response, or undef if the body is valid.