Changes to POST /guilds/:guild_id/auto-moderation/rules

POST /guilds/{guild_id}/auto-moderation/rules

Every recorded change to this endpoint, newest first. Back to the operation

Changed in 2 of the 58 revisions of this API.914

  1. 693bf1f99bba910
  2. 570f63561dec4

What changed

  • 693bf1f99bba910See the full diff
    • removed subschema #2: SPAM_LINK from the oneOf[DefaultKeywordListUpsertRequest]/trigger_type/allOf[AutomodTriggerType]/ request property oneOf list

      request-property-one-of-removed

    • removed subschema #2: SPAM_LINK from the oneOf[KeywordUpsertRequest]/trigger_type/allOf[AutomodTriggerType]/ request property oneOf list

      request-property-one-of-removed

    • removed subschema #2: SPAM_LINK from the oneOf[MLSpamUpsertRequest]/trigger_type/allOf[AutomodTriggerType]/ request property oneOf list

      request-property-one-of-removed

    • removed subschema #2: SPAM_LINK from the oneOf[MentionSpamUpsertRequest]/trigger_type/allOf[AutomodTriggerType]/ request property oneOf list

      request-property-one-of-removed

    • added UserProfileRuleResponse to the response body oneOf list for the response status 200

      response-body-one-of-added

    • added subschema #5: USER_PROFILE to the oneOf[DefaultKeywordRuleResponse]/trigger_type/allOf[AutomodTriggerType]/ response property oneOf list for the response status 200

      response-property-one-of-added

    • added subschema #5: USER_PROFILE to the oneOf[KeywordRuleResponse]/trigger_type/allOf[AutomodTriggerType]/ response property oneOf list for the response status 200

      response-property-one-of-added

    • added subschema #5: USER_PROFILE to the oneOf[MLSpamRuleResponse]/trigger_type/allOf[AutomodTriggerType]/ response property oneOf list for the response status 200

      response-property-one-of-added

    • added subschema #5: USER_PROFILE to the oneOf[MentionSpamRuleResponse]/trigger_type/allOf[AutomodTriggerType]/ response property oneOf list for the response status 200

      response-property-one-of-added

    • added UserProfileUpsertRequest to the request body oneOf list

      request-body-one-of-added

    • added subschema #5: USER_PROFILE to the oneOf[DefaultKeywordListUpsertRequest]/trigger_type/allOf[AutomodTriggerType]/ request property oneOf list

      request-property-one-of-added

    • added subschema #5: USER_PROFILE to the oneOf[KeywordUpsertRequest]/trigger_type/allOf[AutomodTriggerType]/ request property oneOf list

      request-property-one-of-added

    • added subschema #5: USER_PROFILE to the oneOf[MLSpamUpsertRequest]/trigger_type/allOf[AutomodTriggerType]/ request property oneOf list

      request-property-one-of-added

    • added subschema #5: USER_PROFILE to the oneOf[MentionSpamUpsertRequest]/trigger_type/allOf[AutomodTriggerType]/ request property oneOf list

      request-property-one-of-added

    • removed SpamLinkRuleResponse from the response body oneOf list for the response status 200

      response-body-one-of-removed

    • removed subschema #2: SPAM_LINK from the oneOf[DefaultKeywordRuleResponse]/trigger_type/allOf[AutomodTriggerType]/ response property oneOf list for the response status 200

      response-property-one-of-removed

    • removed subschema #2: SPAM_LINK from the oneOf[KeywordRuleResponse]/trigger_type/allOf[AutomodTriggerType]/ response property oneOf list for the response status 200

      response-property-one-of-removed

    • removed subschema #2: SPAM_LINK from the oneOf[MLSpamRuleResponse]/trigger_type/allOf[AutomodTriggerType]/ response property oneOf list for the response status 200

      response-property-one-of-removed

    • removed subschema #2: SPAM_LINK from the oneOf[MentionSpamRuleResponse]/trigger_type/allOf[AutomodTriggerType]/ response property oneOf list for the response status 200

      response-property-one-of-removed

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the oneOf[DefaultKeywordListUpsertRequest]/actions/items/oneOf[BlockMessageAction]/metadata/oneOf[BlockMessageActionMetadata]/custom_message request property's maxLength was increased from 150 to 300

      request-property-max-length-increased

    • the oneOf[KeywordUpsertRequest]/actions/items/oneOf[BlockMessageAction]/metadata/oneOf[BlockMessageActionMetadata]/custom_message request property's maxLength was increased from 150 to 300

      request-property-max-length-increased

    • the oneOf[MLSpamUpsertRequest]/actions/items/oneOf[BlockMessageAction]/metadata/oneOf[BlockMessageActionMetadata]/custom_message request property's maxLength was increased from 150 to 300

      request-property-max-length-increased

    • the oneOf[MentionSpamUpsertRequest]/actions/items/oneOf[BlockMessageAction]/metadata/oneOf[BlockMessageActionMetadata]/custom_message request property's maxLength was increased from 150 to 300

      request-property-max-length-increased