Using TootSDK with mastodon.local

Swift integration

Install
# See https://github.com/TootSDK/TootSDK
OEmbed as JSON
curl \
  -H "Authorization: Bearer $API_KEY" \
  http://mastodon.local/api/oembed
View identity proof
curl \
  -H "Authorization: Bearer $API_KEY" \
  http://mastodon.local/api/proofs
Fetch all lists that the user owns.
curl \
  -H "Authorization: Bearer $API_KEY" \
  http://mastodon.local/api/v1/lists
SDK on GitHub 📄 API Docs
SDK
TootSDK
Swift
API
mastodon.local
mastodon.local
At a glance
Language Swift
Endpoints127
Base URLhttp://mastodon.local