Manage Blogs
Retrieves a list of blog categories.
Successfully retrieved the blog category list.
Internal server error.
GET /backend/api/blog-category HTTP/1.1
Host: 139.59.67.17
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got the blog category list.</message>
</object>
Creates a new blog category with the provided details.
Bearer token for authentication.
test
Successfully created new category.
Bad request due to invalid parameters.
Internal server error.
POST /backend/api/blog-category HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 15
"name='test'"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully created new category.</message>
</object>
Retrieves a list of blogs based on the provided filters.
The maximum number of blogs to return.
10
The number of blogs to skip before starting to collect the result set.
0
A flag to indicate whether to return the count of blogs.
0
Bearer token for authentication.
Successfully retrieved the blog list.
Bad request due to invalid parameters.
Internal server error.
GET /backend/api/blog HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got blog list.</message>
</object>
Creates a new blog entry with the provided details.
Bearer token for authentication.
test
2
<p>test</p>
9
test
Successfully created a new blog.
Bad request due to invalid parameters.
Internal server error.
POST /backend/api/blog HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 157
"title='test'&categoryId=2&description='<p>test</p>'&image=''&relatedBlogId=[9]&blogSlug='test'&metaTitle=''&metaContent=''&metaKeyword=''"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully created new blog.</message>
</object>
Updates the blog entry identified by the given ID.
The ID of the blog to update.
Bearer token for authentication.
test
2
<p>test</p>
1
9
test
52
Successfully updated the blog.
Bad request due to invalid parameters.
Blog not found.
Internal server error.
PUT /backend/api/blog/{blogId} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 133
"title='test'&categoryId=2&description='<p>test</p>'&image=''&status=1&relatedBlogId=[9]&blogSlug='test'&blogId='52'"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully updated blog.</message>
</object>
Deletes the blog entry identified by the given ID.
The ID of the blog to delete.
Bearer token for authentication.
Successfully deleted the blog.
Blog not found.
Internal server error.
DELETE /backend/api/blog/{blogId} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully deleted Blog</message>
</object>
Retrieves the translation details of a specific blog by its ID.
The ID of the blog to retrieve translation details for.
Bearer token for authentication.
Successfully retrieved the blog translation details.
Blog translation details not found.
Internal server error.
GET /backend/api/blog-translation/blog/{blogId} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got blog translation detail.</message>
</object>
Creates translations for the blog identified by the given ID.
The ID of the blog to create translations for.
Bearer token for authentication.
Successfully created new blog translation.
Bad request due to invalid parameters.
Blog not found.
Internal server error.
POST /backend/api/blog-translation/blog/{blogId} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 82
"blogTranslation=[{'languageId':57,'title':'test','description':'<p>test</p>'}]"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully created new blog translation.</message>
</object>
Retrieves the details of a specific blog category by its ID.
The ID of the blog category to retrieve details for.
Bearer token for authentication.
Successfully retrieved the blog category detail.
Blog category not found.
Internal server error.
GET /backend/api/blog-category/blog-category-detail HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got blog category detail.</message>
</object>
Updates the status of the blog category identified by the given ID.
The ID of the blog category to update.
Bearer token for authentication.
19
1
Successfully updated blog category status.
Bad request due to invalid parameters.
Blog category not found.
Internal server error.
PUT /backend/api/blog-category/update-blog-category-status/{blogCategoryId} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 32
"blogCategoryId=19&status=1"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully updated blog category status.</message>
</object>
Updates the blog category identified by the given ID.
The ID of the blog category to update.
Bearer token for authentication.
new categories
14
Successfully updated the blog category.
Bad request due to invalid parameters.
Blog category not found.
Internal server error.
PUT /backend/api/blog-category/{blogCategoryId} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 45
"name='new categories'&blogCategoryId=14"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully updated category.</message>
</object>
Last updated