Graph
Last updated
POST /xrpc/network.cosmik.graph.follow HTTP/1.1
Host: api.semble.so
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"targetId": "text",
"targetType": "USER"
}{
"followId": "text"
}POST /xrpc/network.cosmik.graph.unfollow HTTP/1.1
Host: api.semble.so
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"targetId": "text",
"targetType": "USER"
}{
"success": true
}GET /xrpc/network.cosmik.graph.getFollowing?identifier=text HTTP/1.1
Host: api.semble.so
Accept: */*
{
"users": [
{
"id": "text",
"name": "text",
"handle": "text",
"avatarUrl": "text",
"bannerUrl": "text",
"description": "text",
"isFollowing": true,
"isSubscribed": true,
"subscriptionScopes": [
"CARD"
],
"followsYou": true,
"followerCount": 1,
"followingCount": 1,
"followedCollectionsCount": 1,
"urlCardCount": 1,
"collectionCount": 1,
"connectionCount": 1,
"connectionsByType": {
"total": 1,
"ANY_ADDITIONAL_PROPERTY": 1
},
"labels": [
{
"$type": "com.atproto.label.defs#label",
"ver": 1,
"src": "text",
"uri": "text",
"cid": "text",
"val": "text",
"neg": true,
"cts": "text",
"exp": "text",
"sig": null
}
]
}
],
"pagination": {
"currentPage": 1,
"totalPages": 1,
"totalCount": 1,
"hasMore": true,
"limit": 1
}
}GET /xrpc/network.cosmik.graph.getFollowers?identifier=text HTTP/1.1
Host: api.semble.so
Accept: */*
{
"users": [
{
"id": "text",
"name": "text",
"handle": "text",
"avatarUrl": "text",
"bannerUrl": "text",
"description": "text",
"isFollowing": true,
"isSubscribed": true,
"subscriptionScopes": [
"CARD"
],
"followsYou": true,
"followerCount": 1,
"followingCount": 1,
"followedCollectionsCount": 1,
"urlCardCount": 1,
"collectionCount": 1,
"connectionCount": 1,
"connectionsByType": {
"total": 1,
"ANY_ADDITIONAL_PROPERTY": 1
},
"labels": [
{
"$type": "com.atproto.label.defs#label",
"ver": 1,
"src": "text",
"uri": "text",
"cid": "text",
"val": "text",
"neg": true,
"cts": "text",
"exp": "text",
"sig": null
}
]
}
],
"pagination": {
"currentPage": 1,
"totalPages": 1,
"totalCount": 1,
"hasMore": true,
"limit": 1
}
}GET /xrpc/network.cosmik.graph.getFollowingCollections?identifier=text HTTP/1.1
Host: api.semble.so
Accept: */*
{
"collections": [
{
"id": "text",
"uri": "text",
"name": "text",
"author": {
"id": "text",
"name": "text",
"handle": "text",
"avatarUrl": "text",
"bannerUrl": "text",
"description": "text",
"isFollowing": true,
"isSubscribed": true,
"subscriptionScopes": [
"CARD"
],
"followsYou": true,
"followerCount": 1,
"followingCount": 1,
"followedCollectionsCount": 1,
"urlCardCount": 1,
"collectionCount": 1,
"connectionCount": 1,
"connectionsByType": {
"total": 1,
"ANY_ADDITIONAL_PROPERTY": 1
},
"labels": [
{
"$type": "com.atproto.label.defs#label",
"ver": 1,
"src": "text",
"uri": "text",
"cid": "text",
"val": "text",
"neg": true,
"cts": "text",
"exp": "text",
"sig": null
}
]
},
"description": "text",
"accessType": "OPEN",
"cardCount": 1,
"createdAt": "text",
"updatedAt": "text",
"isFollowing": true,
"isSubscribed": true,
"subscriptionScopes": [
"CARD"
],
"followerCount": 1
}
],
"pagination": {
"currentPage": 1,
"totalPages": 1,
"totalCount": 1,
"hasMore": true,
"limit": 1
}
}GET /xrpc/network.cosmik.graph.getFollowingCount?identifier=text HTTP/1.1
Host: api.semble.so
Accept: */*
{
"count": 1
}GET /xrpc/network.cosmik.graph.getFollowersCount?identifier=text HTTP/1.1
Host: api.semble.so
Accept: */*
{
"count": 1
}GET /xrpc/network.cosmik.graph.getFollowingCollectionsCount?identifier=text HTTP/1.1
Host: api.semble.so
Accept: */*
{
"count": 1
}POST /xrpc/network.cosmik.graph.subscribe HTTP/1.1
Host: api.semble.so
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"targetId": "text",
"targetType": "USER",
"scopes": [
"CARD"
]
}{
"followId": "text",
"subscribedAt": "text",
"scopes": [
"CARD"
]
}POST /xrpc/network.cosmik.graph.unsubscribe HTTP/1.1
Host: api.semble.so
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"targetId": "text",
"targetType": "USER"
}{
"success": true
}POST /xrpc/network.cosmik.graph.updateSubscription HTTP/1.1
Host: api.semble.so
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"targetId": "text",
"targetType": "USER",
"scopes": [
"CARD"
]
}{
"followId": "text",
"subscribedAt": "text",
"scopes": [
"CARD"
]
}GET /xrpc/network.cosmik.graph.getSubscriptions HTTP/1.1
Host: api.semble.so
Accept: */*
{
"items": [
{
"type": "USER",
"user": {
"id": "text",
"name": "text",
"handle": "text",
"avatarUrl": "text",
"bannerUrl": "text",
"description": "text",
"isFollowing": true,
"isSubscribed": true,
"subscriptionScopes": [
"CARD"
],
"followsYou": true,
"followerCount": 1,
"followingCount": 1,
"followedCollectionsCount": 1,
"urlCardCount": 1,
"collectionCount": 1,
"connectionCount": 1,
"connectionsByType": {
"total": 1,
"ANY_ADDITIONAL_PROPERTY": 1
},
"labels": [
{
"$type": "com.atproto.label.defs#label",
"ver": 1,
"src": "text",
"uri": "text",
"cid": "text",
"val": "text",
"neg": true,
"cts": "text",
"exp": "text",
"sig": null
}
]
},
"subscribedAt": "text",
"scopes": [
"CARD"
]
}
],
"pagination": {
"currentPage": 1,
"totalPages": 1,
"totalCount": 1,
"hasMore": true,
"limit": 1
}
}