Add GET and POST endpoints for sections.