| external help file | Module Name | online version | schema |
|---|---|---|---|
PSTodoist-help.xml |
PSTodoist |
2.0.0 |
Creates a new comment for a project or task
New-TodoistComment [-Id <Int64>] [-Category <String>] [-Content <String>] [-AddAttachment]
[-AttachmentResourceType <String>] [-AttachmentFileType <Object>] [-AttachmentFileUrl <String>]
[-AttachmentFileName <String>] [-Token <String>] [<CommonParameters>]
New-TodoistComment -Id <Int64> -Category <String> -Content <String> [-AddAttachment]
-AttachmentResourceType <String> -AttachmentFileType <Object> -AttachmentFileUrl <String>
-AttachmentFileName <String> [-Token <String>] [<CommonParameters>]
Creates a new comment for a project or task. Selection if Id is for a project or task is done through parameter "category"
New-TodoistComment -Id 1234 -Content "Customer contacted"
New-TodoistComment -Id 1234 -Content "New report" -Category Task -Verbose -AddAttachment -AttachmentResourceType "file" -AttachmentFileType "application/pdf" -AttachmentFileUrl "http://www.orimi.com/pdf-test.pdf" -AttachmentFileName "file.pdf"
Id of the task or project
Type: Int64
Parameter Sets: set1
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: FalseType: Int64
Parameter Sets: attachment
Aliases:
Required: True
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: FalseSelect if it's a task or project. STRING. Either 'Task' or 'Project'
Type: String
Parameter Sets: set1
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseType: String
Parameter Sets: attachment
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseContent of the comment
Type: String
Parameter Sets: set1
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseType: String
Parameter Sets: attachment
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSwitch statement if you want to attatch a file
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseAttatchment resource type, Example: "file"
Type: String
Parameter Sets: set1
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseType: String
Parameter Sets: attachment
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseAttachment file type. "application/pdf" or "application/image" etc
Type: Object
Parameter Sets: set1
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseType: Object
Parameter Sets: attachment
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseUrl to file. Sorry, the todoist api does not support uploading files yet.
Type: String
Parameter Sets: set1
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseType: String
Parameter Sets: attachment
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseFilename that you want the file to have. "New report.pdf" etc
Type: String
Parameter Sets: set1
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseType: String
Parameter Sets: attachment
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseManually supplied todoist token if you dont want to set it with Set-TodoistToken
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: $Global:TodoistToken
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 (http://go.microsoft.com/fwlink/?LinkID=113216).