updateBlogPost method
Update a blog post by id.
Permissions required: Permission to view the blog post and its corresponding space. Permission to update blog posts in the space.
Implementation
Future<BlogPostSingle> updateBlogPost(
{required int id, bool? serializeIdsAsStrings}) async {
return BlogPostSingle.fromJson(await _client.send(
'put',
'blogposts/{id}',
pathParameters: {
'id': '$id',
},
queryParameters: {
if (serializeIdsAsStrings != null)
'serialize-ids-as-strings': '$serializeIdsAsStrings',
},
));
}