Stock101 API 명세서
  1. Board
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. Board

게시물 추가

POST
/api/v1/board/posts

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Body Params application/json

Examples

Responses

🟢201Created
application/json
Created
Body

🟠400Bad Request
🟠401Unauthorized
🟠404Record Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/board/posts' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "opinion": "string",
    "content": "string",
    "stockId": 0
}'
Response Response Example
201 - Example 1
{
    "postId": 0,
    "opinion": "string",
    "content": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "isDeleted": true,
    "stockId": 0,
    "userId": 0
}
Modified at 2025-09-11 12:01:00
Previous
게시물 조회 (리스트)
Next
게시물 단건 조회(+조회수 증가)
Built with