Skip to content

CodeDiary18-Study/Spring-Boot-Slack-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Spring Boot Slack Template

Spring Boot์— Slack ๊ด€๋ จ ๊ธฐ๋Šฅ์„ ๊ตฌํ˜„ํ•œ ํ…œํ”Œ๋ฆฟ ํ”„๋กœ์ ํŠธ


Development Environment

  • OS : Windows
  • IDE : IntelliJ IDEA Ultimate
  • Language : Java 17(zulu)
  • Framework : Spring Boot
  • Build Tool : Gradle



API Introduction

  • ๋ฉ”์‹œ์ง€ ์ „์†ก
    • URL : /slack/send
    • Method : POST
    • Request
      • Content-Type : application/json

      • Body

        Name Type Mandatory Example Description
        title String Y ์Šฌ๋ž™๋ด‡ ๋ฉ”์‹œ์ง€ ํƒ€์ดํ‹€ ์ œ๋ชฉ
        message Object Y {"๋‚ด์šฉ 1": "๋‚ด์šฉ 1 ๋ฐ์ดํ„ฐ", "๋‚ด์šฉ 2": "๋‚ด์šฉ 2 ๋ฐ์ดํ„ฐ"} ๋‚ด์šฉ
        • example
          {
              "title" : "[์ œ๋ชฉ] ์Šฌ๋ž™๋ด‡ ๋ฉ”์‹œ์ง€ ํƒ€์ดํ‹€",
              "message":{
                  "๋‚ด์šฉ 1": "๋‚ด์šฉ 1 ๋ฐ์ดํ„ฐ",
                  "๋‚ด์šฉ 2": "๋‚ด์šฉ 2 ๋ฐ์ดํ„ฐ"
              }
          }
    • Response
      • Content-Type : text/plain
      • Body
        • example
          โ–ท success case
          success
          
          โ–ท fail case
          fail
          

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages