Skip to content

Latest commit

 

History

History
175 lines (65 loc) · 3.31 KB

Add-AtProtoRepoRecord.md

File metadata and controls

175 lines (65 loc) · 3.31 KB

Add-AtProtoRepoRecord

Synopsis

com.atproto.repo.createRecord


Description

com.atproto.repo.createRecord


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 create.

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

SwapCommit

Compare and swap with the previous commit by cid.

Type Required Position PipelineInput
[String] false 5 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

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