PaperTrail-Persistence
  1. Message Log Registration
PaperTrail-Persistence
  • Message Log Registration
    • Update an existing guild registration
      PUT
    • Register a guild for message logging
      POST
    • Fetch message log registration by guild ID
      GET
    • Delete a guild's message log registration
      DELETE
  • Audit Log Registration
    • Update an existing audit log registration
      PUT
    • Register a new guild for audit logging
      POST
    • Get audit log registration for a guild
      GET
    • Delete an audit log registration
      DELETE
  • Message Log Content
    • Update a logged message
      PUT
    • Save a new message
      POST
    • Fetch a logged message by ID
      GET
    • Delete a logged message
      DELETE
  • Schemas
    • Schemas
      • MessageLogRegistration
      • ErrorResponse
      • AuditLogRegistration
      • MessageLogContent
  1. Message Log Registration

Update an existing guild registration

PUT
/api/v1/log/message
Updates the channel or other registration details of a guild. Throws GuildNotFoundException if the guild is not registered.

Request

Body Params application/json

Examples

Responses

🟢200OK
application/json
Registration updated successfully
Body

🟠400Bad Request
🟠404Record Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/api/v1/log/message' \
--header 'Content-Type: application/json' \
--data-raw '{
    "guildId": 123456789012345680,
    "channelId": 987654321098765400
}'
Response Response Example
200 - Example 1
{
    "guildId": 123456789012345680,
    "channelId": 987654321098765400
}
Modified at 2025-08-27 03:26:30
Next
Register a guild for message logging
Built with