Get NotionPageProperty - fasteiner/Notion GitHub Wiki
Category: Commands external help file: Notion-help.xml Module Name: Notion online version: https://developers.notion.com/reference/retrieve-a-page-property#rollup-properties schema: 2.0.0 Type: Command
Retrieves the properties of a specified Notion page.
Get-NotionPageProperty [-PageId] <String> [-PropertyID] <String> [-ProgressAction <ActionPreference>]
[<CommonParameters>]
The `Get-NotionPageProperty` function fetches the properties of a Notion page by making a GET request to the Notion API. The properties are returned as a `notion_pageproperties` object for further use.
Get-NotionPageProperty -PageId "12345678-abcd-1234-efgh-56789ijklmn0"
This example retrieves the properties of the Notion page with the specified ID.
Get-NotionPageProperty -PageId "12345678-abcd-1234-efgh-56789ijklmn0" -PropertyID "6757567-98568907657-4435235"
This example retrieves the specified property of the Notion page with the specified ID.
The unique identifier of the Notion page whose properties are to be retrieved. This parameter is mandatory.
Type: String
Parameter Sets: (All)
Aliases: Id
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The unique identifier of the Notion page property to retrieve.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Requires the `Invoke-NotionApiCall` function and appropriate API authentication to be configured. Ensure you have access permissions for the specified page in Notion.
https://developers.notion.com/reference/retrieve-a-page-property#rollup-properties