finishes documentation for /posts/ endpoint