This is implement of ATProtocol for BlueSky. Providing helper methods for authentication, fetching timelines, and managing content.
- Docker
- Docker Compose
docker-compose up -d
-
Endpoint:
/login
- Request Body: JSON object
identifier
: A unique identifier for the user (not null)password
: The user's password (not null)
- Request Body: JSON object
-
Endpoint:
/refresh
- Request Headers:
- Authorization: Bearer {token} (caution! this token is refresh token)
- Did: {did}
- Handle: {handle}
- Request Headers:
-
Endpoint:
/post
- Request Headers:
- Authorization: Bearer {token}
- Did: {did}
- Handle: {handle}
- Request Body: JSON object
text
: String
- Request Headers:
-
Endpoint:
/repost
- Request Headers:
- Authorization: Bearer {token}
- Did: {did}
- Handle: {handle}
- Request Body: JSON object
cid
: Stringuri
: String
- Request Headers:
-
Endpoint:
/like
- Request Headers:
- Authorization: Bearer {token}
- Did: {did}
- Handle: {handle}
- Request Body: JSON object
cid
: Stringuri
: String
- Request Headers:
-
Endpoint:
/follow
- Request Headers:
- Authorization: Bearer {token}
- DID: {did}
- Handle: {handle}
- Request Body: JSON object
did
: String
- Request Headers:
-
Endpoint:
/block
- Request Headers:
- Authorization: Bearer {token}
- Did: {did}
- Handle: {handle}
- Request Body: JSON object
cid
: Stringuri
: String
- Request Headers:
-
Endpoint:
/organize/posts
- Path Variables:
post
- Request Headers:
- Authorization: Bearer {token}
- DID: {did}
- Handle: {handle}
- Request Body: JSON object
from
: LocalDateTime
- Path Variables:
-
Endpoint:
/post
- Path Variables:
post
- Request Headers:
- Authorization: Bearer {token}
- DID: {did}
- Handle: {handle}
- Request Body: JSON object
rkey
: String
- Path Variables:
-
Endpoint:
/author-feed
- Request Headers:
- Authorization: Bearer {token}
- DID: {did}
- Handle: {handle}
- Query Parameters:
did
: Optional String (default: current user's DID)limit
: Optional Integercursor
: Optional String
- Request Headers:
-
Endpoint:
/timeline
- Request Headers:
- Authorization: Bearer {token}
- DID: {did}
- Handle: {handle}
- Query Parameters:
algorithm
: Optional Stringlimit
: Optional Integercursor
: Optional String
- Request Headers:
-
Endpoint:
/did/{did}/post/{post}/likes
- Path Variables:
did
,postId
- Request Headers:
- Authorization: Bearer {token}
- DID: {did}
- Handle: {handle}
- Query Parameters:
limit
: Optional Integercursor
: Optional String
- Path Variables:
-
Endpoint:
/followers
- Request Headers:
- Authorization: Bearer {token}
- DID: {did}
- Handle: {handle}
- Query Parameters:
did
: Optional String (default: current user's DID)limit
: Optional Integercursor
: Optional String
- Request Headers:
-
Endpoint:
/follows
- Request Headers:
- Authorization: Bearer {token}
- DID: {did}
- Handle: {handle}
- Query Parameters:
did
: Optional String (default: current user's DID)limit
: Optional Integercursor
: Optional String
- Request Headers:
Support Twitter and BlueSky API