Stock101 API 명세서
  1. Likes
Stock101 API 명세서
  • Stock101 API 명세서
  • Auth
    • 로그아웃
      POST
    • 로그인
      POST
  • Users
    • 사용자 정보 조회
      GET
    • 아이디(이메일) 중복체크
      GET
    • 회원가입
      POST
    • 사용자 정보 수정
      PATCH
    • 회원탈퇴
      DELETE
  • Stocks
    • 종목 상세 조회
      GET
    • 주가 조회 (시계열)
      GET
    • 개미 지표 조회
      GET
    • 뉴스 지표 조회
      GET
    • 전문가 지표 조회
      GET
    • 이벤트 조회
      GET
  • Board
    • 게시물 조회 (리스트)
      GET
    • 게시물 추가
      POST
    • 게시물 단건 조회(+조회수 증가)
      GET
    • 게시물 삭제
      DELETE
    • 사용자 활동 내역 - 작성글 조회
      GET
  • Likes
    • 게시물 좋아요
      POST
    • 게시물 좋아요 취소
      DELETE
  • Comments
    • 댓글 조회
      GET
    • 댓글 추가
      POST
    • 댓글 삭제
      DELETE
  • Predictions
    • 주가 예측 등록
    • 주가 예측 조회
  • 재무지표 조회
    GET
  • Schemas
    • Schemas
      • TierCode
      • UpDownEnum
      • ErrorResponse
      • ValidationError
      • UserProfile
      • AuthLoginResponse
      • StockSummary
      • StockPricePoint
      • FinancialIndicator
      • EconomicEvent
      • AnalystIndicator
      • IndividualIndicator
      • NewsIndicator
      • Post
      • Comment
      • PredictionResult
      • PredictionItem
      • PredictionPagedResponse
  1. Likes

게시물 좋아요

POST
/board/posts/{postId}/like

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Responses

🟢204No Content
No Content
This response does not have a body.
🟠400Bad Request
🟠401Unauthorized
🟠404Record Not Found
🟠409409
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/board/posts//like' \
--header 'Authorization: Bearer <token>'
Response Response Example
400 - Example 1
{
    "error": {
        "code": "USERS_NOT_FOUND",
        "message": "User not found"
    }
}
Modified at 2025-08-29 01:04:40
Previous
사용자 활동 내역 - 작성글 조회
Next
게시물 좋아요 취소
Built with