With XRPC, everything goes under an /xrpc/ directory — rather than /api/ or just calling a single /graphql end point.
For example:
/xrpc/com.atproto.repo.createRecord
/xrpc/app.bsky.actor.getProfile
/xrpc/tools.ozone.moderation.emitEvent
…
#ATProto #ATProto101
With XRPC, everything goes under an /xrpc/ directory — rather than /api/ or just calling a single /graphql end point.
For example:
/xrpc/com.atproto.repo.createRecord
/xrpc/app.bsky.actor.getProfile
/xrpc/tools.ozone.moderation.emitEvent
…
#ATProto #ATProto101
Anyone can create their own custom XPRC procedures. For example:
/xrpc/com.example.bing
/xrpc/com.example.bong
/xrpc/com.example.bang
/xrpc/com.example.isItBoomerang
Although, someone would have to implement the custom XRPC procedures into an ATProto service.
#ATProto #ATProto101
Anyone can create their own custom XPRC procedures. For example:
/xrpc/com.example.bing
/xrpc/com.example.bong
/xrpc/com.example.bang
/xrpc/com.example.isItBoomerang
Although, someone would have to implement the custom XRPC procedures into an ATProto service.
#ATProto #ATProto101
It closely follows app.bsky.feed.getFeedSkeleton, but returns atproto records (not Bluesky posts) and supports filtering by NSID:
foryou.club/xrpc/club.fo...
Lexicon schema:
pdsls.dev/at://did:plc...
It closely follows app.bsky.feed.getFeedSkeleton, but returns atproto records (not Bluesky posts) and supports filtering by NSID:
foryou.club/xrpc/club.fo...
Lexicon schema:
pdsls.dev/at://did:plc...
Although XRPC uses HTTP, XRPC is NOT REST-ful.
With XRPC paths are not necessarily nouns — they could be verbs, too, etc. I.e., verbs are not restricted to HTTP methods. And really, most of the HTTP methods are unused (and custom HTTP methods aren't used) by XRPC.
…
#ATProto #ATProto101
Although XRPC uses HTTP, XRPC is NOT REST-ful.
With XRPC paths are not necessarily nouns — they could be verbs, too, etc. I.e., verbs are not restricted to HTTP methods. And really, most of the HTTP methods are unused (and custom HTTP methods aren't used) by XRPC.
…
#ATProto #ATProto101
What I was talking to @awarm.space about at community day was defining an analytics event lexicon, as well as an XRPC. Then apps could implement the XRPC and advertise it. Other apps could write events using the lexicon, and send them to the XRPC.
What I was talking to @awarm.space about at community day was defining an analytics event lexicon, as well as an XRPC. Then apps could implement the XRPC and advertise it. Other apps could write events using the lexicon, and send them to the XRPC.
- Leaflet exposes analytics XRPC
- User A creates post on Leaflet
- User B reads post on Standard Reader
- Standard Reader sends events to Leaflet's XRPC
- Leaflet exposes analytics XRPC
- User A creates post on Leaflet
- User B reads post on Standard Reader
- Standard Reader sends events to Leaflet's XRPC
A collection of ATProto clients and utilities, including XRPC clients, firehose consumers, and more.
Licenses: MIT
A collection of ATProto clients and utilities, including XRPC clients, firehose consumers, and more.
Licenses: MIT
tangled.org/ptr.pet/hydr...
genuinely looks awesome and I wanna try it
tangled.org/ptr.pet/hydr...
genuinely looks awesome and I wanna try it
Although using apps such as Bluesky, Blacksky, Leaflet, and others are convenient —
You could get your (or other people's) data yourself, straight from the ATProto PDS.
For example, here is an image from my PDS:
blacksky.app/xrpc/com.atp...
#ATProto #ATProto101
Although using apps such as Bluesky, Blacksky, Leaflet, and others are convenient —
You could get your (or other people's) data yourself, straight from the ATProto PDS.
For example, here is an image from my PDS:
blacksky.app/xrpc/com.atp...
#ATProto #ATProto101
Making a post via "social-app" strips all that out & crushes the image into a 4000 px JPG.
or I could revive my Flickr…
Making a post via "social-app" strips all that out & crushes the image into a 4000 px JPG.
or I could revive my Flickr…