building blog api