···2626You can get, list, create, update or delete them with functions:
2727- `xrpc.GetRecord[*site.Publication]` to get a publication;
2828- `xrpc.ListRecords[*site.Document]` to list documents;
2929-- `xrpc.CreateRecord[*site.Document]` to create a new document;
3030-- `xrpc.UpdateRecord[*site.Subscription]` to update a subscription;
2929+- `xrpc.CreateRecord` to create a new document;
3030+- `xrpc.PutRecord` to update a subscription;
3131- `xrpc.DeleteRecord[*site.Publication]` to delete a publication.
32323333You can [verify](https://standard.site/docs/verification/) a publication with `Publication.Verify` and a document with
···3636var pub *site.Publication
3737var did *atproto.DID
3838var client xrpc.Client
3939-valid, err := pub.Verify(context.Background(), client, did, "pub_rkey")
3939+var rkey atproto.RecordKey
4040+valid, err := pub.Verify(context.Background(), client, did, rkey)
4041if err != nil {
4142 panic(err)
4243}
···4950if err != nil {
5051 panic(err)
5152}
5252-valid, err = doc.Verify(context.Background(), client, pubUrl, did, "doc_rkey")
5353+valid, err = doc.Verify(context.Background(), client, pubUrl, did, rkey)
5354if err != nil {
5455 panic(err)
5556}