~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/atlibs-market-status

socialweb.computer bidders' market state as an atlibs module

0
0
main
35 lines · 1.6 KB Raw History
{
	"name": "market-status",
	"description": "socialweb.computer bidders' market state by getRecord at computed keys: offering, heartbeat, endpoints, operator (claimed and confirmed); and the one computer.socialweb.bidders/self record of the bidders an account follows.",
	"session": "market-status",
	"actions": [
		{
			"entry": "bidders",
			"label": "Bidders",
			"readOnly": true,
			"description": "Returns {bidders: [{did, offering, heartbeat, beatAt, endpoints, appliesTo, withdrawn, operator, claimedOperator}], at}.",
			"fields": [{ "key": "dids", "label": "Bidder DIDs", "type": "array", "required": true, "description": "At most 50." }]
		},
		{
			"entry": "known",
			"label": "Known bidders",
			"readOnly": true,
			"description": "The bidders an account follows (its computer.socialweb.bidders/self). Returns {of, bidders: [DID]}.",
			"fields": [{ "key": "of", "label": "Account DID", "type": "string", "required": false, "description": "Default: you." }]
		},
		{
			"entry": "track",
			"label": "Follow a bidder",
			"description": "Add a bidder DID to your computer.socialweb.bidders/self. Returns {bidders}.",
			"fields": [{ "key": "bidder", "label": "Bidder DID", "type": "string", "required": true }]
		},
		{
			"entry": "untrack",
			"label": "Unfollow a bidder",
			"description": "Remove a bidder DID from your computer.socialweb.bidders/self. Returns {bidders}.",
			"fields": [{ "key": "bidder", "label": "Bidder DID", "type": "string", "required": true }]
		}
	],
	"calls": ["com.atproto.repo.getRecord", "com.atproto.repo.putRecord"],
	"anyRecords": ["computer.socialweb.bidders"]
}