XML-RPC/Blog.ps1

1
2
3
4
5
6
7
8
9
10
11
12
#Requires -Version 3.0
<# Blog #>
<#function Get-ConfluenceBlogEntry {
    #Vector<BlogEntrySummary> getBlogEntries(String token, String spaceKey) - returns all the summaries in the space.
    #BlogEntry getBlogEntry(String token, String pageId) - returns a single entry.
    #BlogEntry getBlogEntryByDayAndTitle(String token, String spaceKey, int dayOfMonth, String postTitle) - Retrieves a blog post by specifying the day it was published in the current month, its title and its space key.
    #BlogEntry getBlogEntryByDateAndTitle(String token, String spaceKey, int year, int month, int dayOfMonth, String postTitle) - retrieve a blog post by specifying the date it was published, its title and its space key.
}#>

<#function Set-ConfluenceBlogEntry {
    #BlogEntry storeBlogEntry(String token, BlogEntry entry) - add or update a blog entry. For adding, the BlogEntry given as an argument should have space, title and content fields at a minimum. For updating, the entry given should have id, space, title, content and version fields at a minimum. All other fields will be ignored.
}#>

<# /Blog #>