๐ŸชตUpdate log

LOG file

Gap between Docs and Code.

๐Ÿ”“๋กœ๊ทธ์ธ ๋ถˆํ•„์š”

post : post์˜ id๋ฅผ ๋„˜๊ฒจ์ฃผ๋ฉด post์˜ ์ •๋ณด๋ฅผ ๋ฐ›์•„์˜ค๋Š” API

๐Ÿ›ฃ๏ธ/blog

<aside> ๐Ÿ’ก GET /blog/{user_id}

</aside>

response: {
	bio: string,
	imageURL: string,
	blogName: string,
	snsLink: {snsName: string, link: string}[],
	tag: { 
    id: number,
    name: string, 
    articleCount: number 
  }[]
}

๐Ÿ›ฃ๏ธ/article

(์ž‘์„ฑ์™„๋ฃŒ)

<aside> ๐Ÿ’ก GET /article/{articleId}

</aside>

response: {
	id: number,
	title : string,
	content : string,
	author : {
		id: number,
    nickname: string
  },
	createdAt: Date,
	updatedAt: Date,
	tags: { 
    id: number,
    name: string, 
  }[],
	category? : {
		id: number,
		name: string,
	}
	series? : {
		name: string,
		articles: {name: string, id: number}[]
  }
}