Update readme
This commit is contained in:
parent
b03b6e52aa
commit
0a8fbdafba
1 changed files with 6 additions and 42 deletions
48
README.md
48
README.md
|
@ -2,12 +2,14 @@
|
||||||
|
|
||||||
Federated social network with smart contracts.
|
Federated social network with smart contracts.
|
||||||
|
|
||||||
- Built on [ActivityPub](https://activitypub.rocks/) protocol.
|
Built on [ActivityPub](https://activitypub.rocks/) protocol, self-hosted, lightweight.
|
||||||
- Lightweight.
|
|
||||||
|
Unique features enabled by blockchain integration:
|
||||||
|
|
||||||
- Sign-in with Ethereum.
|
- Sign-in with Ethereum.
|
||||||
- Proving membership with a token.
|
- Proving membership with a token.
|
||||||
|
- Paid subscriptions.
|
||||||
- Converting posts into NFTs.
|
- Converting posts into NFTs.
|
||||||
- More crypto features in the future.
|
|
||||||
|
|
||||||
Smart contracts repo: https://codeberg.org/silverpill/mitra-contracts
|
Smart contracts repo: https://codeberg.org/silverpill/mitra-contracts
|
||||||
|
|
||||||
|
@ -108,45 +110,7 @@ And these additional standards:
|
||||||
|
|
||||||
### Mastodon API
|
### Mastodon API
|
||||||
|
|
||||||
Most methods are similar to Mastodon API:
|
Most methods are similar to Mastodon API, but Mitra is not fully compatible.
|
||||||
|
|
||||||
```
|
|
||||||
POST /api/v1/accounts
|
|
||||||
GET /api/v1/accounts/{account_id}
|
|
||||||
GET /api/v1/accounts/verify_credentials
|
|
||||||
PATCH /api/v1/accounts/update_credentials
|
|
||||||
GET /api/v1/accounts/relationships
|
|
||||||
POST /api/v1/accounts/{account_id}/follow
|
|
||||||
POST /api/v1/accounts/{account_id}/unfollow
|
|
||||||
GET /api/v1/accounts/{account_id}/statuses
|
|
||||||
GET /api/v1/accounts/{account_id}/followers
|
|
||||||
GET /api/v1/accounts/{account_id}/following
|
|
||||||
GET /api/v1/directory
|
|
||||||
GET /api/v1/instance
|
|
||||||
GET /api/v1/markers
|
|
||||||
POST /api/v1/markers
|
|
||||||
POST /api/v1/media
|
|
||||||
GET /api/v1/notifications
|
|
||||||
GET /api/v2/search
|
|
||||||
POST /api/v1/statuses
|
|
||||||
GET /api/v1/statuses/{status_id}
|
|
||||||
DELETE /api/v1/statuses/{status_id}
|
|
||||||
GET /api/v1/statuses/{status_id}/context
|
|
||||||
POST /api/v1/statuses/{status_id}/favourite
|
|
||||||
POST /api/v1/statuses/{status_id}/unfavourite
|
|
||||||
POST /api/v1/statuses/{status_id}/reblog
|
|
||||||
POST /api/v1/statuses/{status_id}/unreblog
|
|
||||||
GET /api/v1/timelines/home
|
|
||||||
GET /api/v1/timelines/tag/{hashtag}
|
|
||||||
```
|
|
||||||
|
|
||||||
Additional methods:
|
|
||||||
|
|
||||||
```
|
|
||||||
POST /api/v1/statuses/{status_id}/make_permanent
|
|
||||||
GET /api/v1/statuses/{status_id}/signature
|
|
||||||
POST /api/v1/statuses/{status_id}/token_minted
|
|
||||||
```
|
|
||||||
|
|
||||||
[OpenAPI spec](./docs/openapi.yaml) (incomplete)
|
[OpenAPI spec](./docs/openapi.yaml) (incomplete)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue