Skip to content

Latest commit

 

History

History
190 lines (70 loc) · 3.55 KB

Set-AtProtoRepoRecord.md

File metadata and controls

190 lines (70 loc) · 3.55 KB

Set-AtProtoRepoRecord

Synopsis

com.atproto.repo.putRecord


Description

com.atproto.repo.putRecord


Related Links


Parameters

Repo

The handle or DID of the repo.

Type Required Position PipelineInput
[String] false 1 true (ByPropertyName)

Collection

The NSID of the record collection.

Type Required Position PipelineInput
[String] false 2 true (ByPropertyName)

Rkey

The key of the record.

Type Required Position PipelineInput
[String] false 3 true (ByPropertyName)

Validate

Validate the record?

Type Required Position PipelineInput
[Switch] false named true (ByPropertyName)

Record

The record to write.

Type Required Position PipelineInput
[PSObject] false 4 true (ByPropertyName)

SwapRecord

Compare and swap with the previous record by cid.

Type Required Position PipelineInput
[String] false 5 true (ByPropertyName)

SwapCommit

Compare and swap with the previous commit by cid.

Type Required Position PipelineInput
[String] false 6 true (ByPropertyName)

Authorization

The authorization. This can be a JWT that accesses the at protocol or a credential. If this is provided as a credential the username is a handle or email and the password is the app password.

Type Required Position PipelineInput Aliases
[Switch] false named false Authentication
AppPassword
Credential
PSCredential

Raw

If set, will return raw results. This will ignore -Property, -DecorateProperty, -ExpandProperty, and -PSTypeName.

Type Required Position PipelineInput
[Switch] false named false

WhatIf

-WhatIf is an automatic variable that is created when a command has [CmdletBinding(SupportsShouldProcess)]. -WhatIf is used to see what would happen, or return operations without executing them

Confirm

-Confirm is an automatic variable that is created when a command has [CmdletBinding(SupportsShouldProcess)]. -Confirm is used to -Confirm each operation.

If you pass -Confirm:$false you will not be prompted.

If the command sets a [ConfirmImpact("Medium")] which is lower than $confirmImpactPreference, you will not be prompted unless -Confirm is passed.


Syntax

Set-AtProtoRepoRecord [[-Repo] <String>] [[-Collection] <String>] [[-Rkey] <String>] [-Validate] [[-Record] <PSObject>] [[-SwapRecord] <String>] [[-SwapCommit] <String>] [-Authorization] [-Raw] [-WhatIf] [-Confirm] [<CommonParameters>]