Diary API

수동 일기 작성

[v1.3.0] 사용자가 직접 작성한 일기를 저장합니다. 해시태그는 LLM이 자동 생성하며, 이미지는 DALL-E로 비동기 생성됩니다.

post/api/v1/diaries/manual

Request

  • Base URL: https://lightsail.melissahttps.cloud
  • URL: https://lightsail.melissahttps.cloud/api/v1/diaries/manual
  • Auth: HTTP bearer

Request body

aiProfileIdinteger required

AI 프로필 ID

yearinteger required

년도

monthinteger required

월

dayinteger required

일

titlestring nullable

일기 제목

contentstring required

일기 내용

mood'HAPPY' | 'SAD' | 'TIRED' | 'ANGRY' | 'RELAX' nullable

기분

generateImageboolean

이미지 생성 여부 (기본값 true)

Example request

{
  "aiProfileId": 1,
  "year": 2025,
  "month": 1,
  "day": 15,
  "title": "오늘의 일기",
  "content": "오늘은 좋은 하루였다.",
  "mood": "HAPPY",
  "generateImage": true
}

Response

성공

Changes

No recorded changes to this operation across all 1 revision of this API.