-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
actor
param on some methods, user
on others
#548
Comments
@dholms , I found this in JSON returned by API. For example, {
"cursor": ".7777778::tezos.bsky.social",
"users": [
{
"did": "did:plc:ji4f2ypncqko5cm62pmyxh67",
"declaration": {
"actorType": "app.bsky.system.actorUser",
"cid": "bafyreid27zk7lbis4zw5fz4podbvbs4fc5ivwji3dmrwa6zggnj4bnd57u"
},
"handle": "tester.bsky.social",
"displayName": "tester",
"description": "testing account for apps",
"indexedAt": "2023-03-07T01:14:50.384Z",
"viewer": {
"muted": false,
"following": "at://did:plc:iijrtk7ocored6zuziwmqq3c/app.bsky.graph.follow/3jqdex7dcrt2q"
}
}
]
} But another endpoint returns as follows: {
"cursor": "235::did:plc:5trbo6ijzaizkszgcpvx7gnf",
"actors": [
{
"did": "did:plc:fjsmdevv3mmzc3dpd36u5yxc",
"declaration": {
"actorType": "app.bsky.system.actorUser",
"cid": "bafyreid27zk7lbis4zw5fz4podbvbs4fc5ivwji3dmrwa6zggnj4bnd57u"
},
"handle": "hnbot.bsky.social",
"viewer": { "muted": false }
}
]
} The field names Or, are |
Nope The former returns a more detailed view than the latter |
fixed #658 |
We use the
actor
param for some methods such asgetProfile
, but with others we call the paramuser
- such asgetFollows
&getFollowers
. We should standardize this on all methodsThe text was updated successfully, but these errors were encountered: