| external help file | ConfluenceAtlassian-help.xml |
|---|---|
| Module Name | ConfluenceAtlassian |
| online version | |
| schema | 2.0.0 |
Invoke-RestMethod wrapper to call confluence methods.
Invoke-CAApi [[-Method] <WebRequestMethod>] [[-Path] <String>] [[-ContentType] <String>]
[[-Headers] <IDictionary>] [[-Body] <Object>] [<CommonParameters>]
Invoke-RestMethod wrapper to call confluence methods using context to fill the gaps.
PS C:\> Invoke-CAApi -Path '/content/9302950291' -Body @{
'expand' = @('body.storage', 'version', 'space') -join ','
}Invoke Confluence API with some method. Authorization and base url is passed down contextually
Specifies the body of the request.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the content type of the web request.
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: application/x-www-form-urlencoded, application/json
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the headers of the web request. Enter a hash table or dictionary.
Type: IDictionary
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the method used for the web request.
Type: WebRequestMethod
Parameter Sets: (All)
Aliases:
Accepted values: Default, Get, Head, Post, Put, Delete, Trace, Options, Merge, Patch
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalsePath to the resource of the web request.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.