kopia lustrzana https://github.com/reiver/greatape
8ce7ea668d | ||
---|---|---|
.. | ||
app | ||
components | ||
providers | ||
test | ||
.dockerignore | ||
.gitignore | ||
Dockerfile | ||
README.md | ||
go.mod | ||
go.sum | ||
staticcheck.conf |
README.md
Note
⚠️ This project is under heavy development and should not be used in production yet.
APIs:
- Echo
- Signup
- Verify
- Login
- GetProfileByUser
- UpdateProfileByUser
- Logout
- Webfinger
- GetActor
- FollowActor
- AuthorizeInteraction
- GetFollowers
- GetFollowing
- PostToOutbox
- GetOutbox
Echo
Request:
Document document
Result:
Document document
Signup
Request:
string username
string email
// Should be at least 7 characters including upper and lowercase, digits and symbols
string password
Result:
string token
string code
Verify
Request:
string email
string token
string code
Result:
string token
Login
Request:
string email
string password
Result:
string username
string token
Get Profile By User
Request:
Result:
string username
string displayName
string avatar
string banner
string summary
string github
Update Profile By User
Request:
string displayName
string avatar
string banner
string summary
string github
Result:
string displayName
string avatar
string banner
string summary
string github
Logout
Request:
Result:
Webfinger
Request:
string resource
Result:
repeated string aliases
repeated ActivityPubLink links
string subject
Get Actor
Request:
string username
Result:
repeated string @context
string id
string followers
string following
string inbox
string outbox
string name
string preferredUsername
string type
string url
ActivityPubMedia icon
ActivityPubMedia image
ActivityPubPublicKey publicKey
string summary
string published
Follow Actor
Request:
string username
string acct
Result:
string url
Authorize Interaction
Request:
string uri
Result:
string uri
bool success
Get Followers
Request:
string username
Result:
string @context
string id
string type
int32 totalItems
repeated string orderedItems
string first
Get Following
Request:
string username
Result:
string @context
string id
string type
int32 totalItems
repeated string orderedItems
string first
Post To Outbox
Request:
string username
string @context
string type
string to
string attributedTo
string inReplyTo
string content
Result:
Get Outbox
Request:
string username
Result:
string @context
string id
string type
int32 totalItems
repeated ActivityPubActivity orderedItems
string first