# PaperTrail-Persistence ## API Docs - Message Log Registration [Update an existing guild registration](https://papertrail.apidog.io/update-an-existing-guild-registration-20736554e0.md): Updates the channel or other registration details of a guild. Throws `GuildNotFoundException` if the guild is not registered. - Message Log Registration [Register a guild for message logging](https://papertrail.apidog.io/register-a-guild-for-message-logging-20736555e0.md): Creates a new registration for a guild. Throws `GuildAlreadyRegisteredException` if the guild is already registered. - Message Log Registration [Fetch message log registration by guild ID](https://papertrail.apidog.io/fetch-message-log-registration-by-guild-id-20736556e0.md): Retrieves the message log registration details of a specific guild. Throws `GuildNotFoundException` if no registration exists. - Message Log Registration [Delete a guild's message log registration](https://papertrail.apidog.io/delete-a-guilds-message-log-registration-20736557e0.md): Removes the message logging registration of a guild. Throws `GuildNotFoundException` if the guild is not registered. - Audit Log Registration [Update an existing audit log registration](https://papertrail.apidog.io/update-an-existing-audit-log-registration-20736558e0.md): Updates the channel mapping for an already-registered guild. If the guild does not exist, a `GuildNotFoundException` is thrown. - Audit Log Registration [Register a new guild for audit logging](https://papertrail.apidog.io/register-a-new-guild-for-audit-logging-20736559e0.md): Creates a new audit log registration by mapping a guild ID to a channel ID. If the guild is already registered, a `GuildAlreadyRegisteredException` is thrown. - Audit Log Registration [Get audit log registration for a guild](https://papertrail.apidog.io/get-audit-log-registration-for-a-guild-20736560e0.md): Retrieves the audit log registration details (guild ID and channel ID) for a given guild. - Audit Log Registration [Delete an audit log registration](https://papertrail.apidog.io/delete-an-audit-log-registration-20736561e0.md): Unregisters a guild from audit logging. If the guild does not exist, a `GuildNotFoundException` is thrown. - Message Log Content [Update a logged message](https://papertrail.apidog.io/update-a-logged-message-20736562e0.md): Updates the content or metadata of a previously logged message. Throws `MessageNotFoundException` if the message does not exist. - Message Log Content [Save a new message](https://papertrail.apidog.io/save-a-new-message-20736563e0.md): Logs a message by storing its ID, content, and author. Throws `MessageAlreadyLoggedException` if the message was already logged. - Message Log Content [Fetch a logged message by ID](https://papertrail.apidog.io/fetch-a-logged-message-by-id-20736564e0.md): Retrieves the content and author of a logged message by its unique ID. Throws `MessageNotFoundException` if the message does not exist. - Message Log Content [Delete a logged message](https://papertrail.apidog.io/delete-a-logged-message-20736565e0.md): Deletes a logged message by ID. Throws `MessageNotFoundException` if the message does not exist. ## Schemas - Schemas [MessageLogRegistration](https://papertrail.apidog.io/messagelogregistration-8975042d0.md): - Schemas [ErrorResponse](https://papertrail.apidog.io/errorresponse-8975043d0.md): - Schemas [AuditLogRegistration](https://papertrail.apidog.io/auditlogregistration-8975044d0.md): - Schemas [MessageLogContent](https://papertrail.apidog.io/messagelogcontent-8975045d0.md):