BlogPostJSONController
class BlogPostJSONController extends Controller
Class BlogPostJSONController. Defines API routes for blog post
Methods
API route for creating new blog post
API route for editing blog post
API route for loading all blog posts
API route for deleting blog posts by provided array of ids
API route for rendering blog posts with pagination
API route for rendering blog posts with pagination for specific blog category
API route for rendering all blog posts for provided blog category parent id
Details
at line 42
JsonResponse
saveBlogPostAction(ArrayCollection $blogAddPost)
API route for creating new blog post
at line 57
JsonResponse
editBlogPostAction(ArrayCollection $blogPostEditJSON)
API route for editing blog post
at line 72
JsonResponse
viewAllBlogCategoryJSONAction(ArrayCollection $blogPostViewAllJSON)
API route for loading all blog posts
at line 87
JsonResponse
deleteBlogPostAction(ArrayCollection $blogPostsDeleteJSON)
API route for deleting blog posts by provided array of ids
at line 102
JsonResponse
viewAllBlogPostJSONPaginationAction(ArrayCollection $blogPostViewAllPaginationJSON)
API route for rendering blog posts with pagination
at line 130
JsonResponse
viewAllBlogPostByCategoryJSONPaginationAction(ArrayCollection $blogPostViewAllByCatPaginationJSON)
API route for rendering blog posts with pagination for specific blog category
at line 160
Response
blogCategoryIsotopeJSONPaginationAction(ArrayCollection $blogPostIsotopeJSON)
API route for rendering all blog posts for provided blog category parent id