If we are to manipulate our data in our PDS, this is the documentation to read.
-ATProto -PDS
Bluesky
Selfhosting