tistory-poster

비공식 티스토리 글쓰기 서비스 · 세션 상태와 API 가이드

세션 살아있음 확인: 2026-07-15 12:03:50 KST
블로그
dorydorytoss.tistory.com
공개 URL
https://tistory-poster.donggun.shop
관리자(티스토리)
https://dorydorytoss.tistory.com/manage
쿠키
카테고리 ID
0
기본 발행
임시저장 (안전)
세션 HTTP
200
Keepalive
최근 성공 · 매 240분 · 다음 2026-07-15 15:14:20 KST
마지막 keepalive
2026-07-15 11:14:19 KST · cookiesUpdated=0
JSON status /health

공식 TTL 없음. 보통 수일~수주. 만료는 돌발적일 수 있음. 4시간마다 keepalive로 연장을 시도함.

쿠키·API_TOKEN 원문은 이 화면에 표시하지 않습니다.

API 가이드

Base: https://tistory-poster.donggun.shop · 쓰기 API는 Authorization: Bearer $API_TOKEN

상태

GET /health
GET /v1/status
GET /v1/session          # Bearer 필요
POST /v1/keepalive       # Bearer 필요 · 수동 keepalive

임시저장 (권장)

curl -s https://tistory-poster.donggun.shop/v1/draft \
  -H "Authorization: Bearer $API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title":"제목","content":"<p>HTML 본문</p>","tag":"자동"}'

발행

curl -s https://tistory-poster.donggun.shop/v1/posts \
  -H "Authorization: Bearer $API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title":"제목","content":"<p>본문</p>","published":1}'

세션 갱신

# Mac (로컬 프로젝트) — 카카오 재로그인
TISTORY_BLOG=dorydorytoss DEPLOY_ORACLE=1 npm run login

# 서버에서 수동 keepalive (쿠키 살아있을 때)
curl -s -X POST https://tistory-poster.donggun.shop/v1/keepalive \
  -H "Authorization: Bearer $API_TOKEN"

공식 API가 아닙니다. 쿠키 만료·티스토리 정책 변경 시 동작이 깨질 수 있습니다.