Get-NotionBlockChildren
SYNOPSIS
Retrieves children blocks from the block with the ID specified.
SYNTAX
Get-NotionBlockChildren [-Token] <String> [-BlockId] <String> [[-PageSize] <String>] [[-StartCursor] <String>]
[<CommonParameters>]
DESCRIPTION
The Get-NotionBlockChildren cmdlet retrieves children blocks from an existing block. The command returns the block object if found.
EXAMPLES
Example 1
PS C:\> Get-NotionBlockChildren -Token "yoursupersecrettokenvalue" -BlockId "9bd15f8d-8082-429b-82db-e6c4ea88413b"
This command gets the block children to the parent block that has an ID of 9bd15f8d-8082-429b-82db-e6c4ea88413b.
PARAMETERS
-BlockId
Specifies a string containing the ID of the parent block.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-PageSize
Specifies an string containing the page size you want returned from the API. The maximum page size allowed currently is 100.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-StartCursor
Specifies a string containing the start cursor of the next page you want to retrieve.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Token
Specifies a string containing the integration token value.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.