Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/api/v2/instanceに対応する #239

Closed
tateisu opened this issue Apr 28, 2023 · 1 comment
Closed

/api/v2/instanceに対応する #239

tateisu opened this issue Apr 28, 2023 · 1 comment

Comments

@tateisu
Copy link
Owner

tateisu commented Apr 28, 2023

比較してみる

wget https://mastodon.juggler.jp/api/v1/instance -O - |jq -S . >v1.json
wget https://mastodon.juggler.jp/api/v2/instance -O - |jq -S . >v2.json
diff -Naur v1.json v2.json

減ったもの

  • approval_required => registrations.approval_required
  • contact_account => contact.account
  • email => contact.email
  • invites_enabled (removed?)
  • registrations => registrations.enabled
  • short_description => description
  • stats.domain_count (removed?)
  • stats.status_count (removed?)
  • stats.user_count => usage.users.active_month
  • thumbnail => thumbnail.url
  • uri => domain
  • urls.streaming_api => configuration.urls.streaming

増えたもの

  • configuration.translation.enabked
  • configuration.urls.status (nullable)
  • configuration.urls.streaming "wss://mastodon.juggler.jp"
  • contact.account
  • contact.email
  • domain
  • registrations.approval_required
  • registrations.enabled
  • registrations.message
  • thumbnail.blurhash
  • thumbnail.url
  • thumbnail.versions.@1x
  • thumbnail.versions.@2x
  • usage.users.active_month

内容の変更

  • description 長い説明ではなく、以前short_description に出ていた内容が表示される
@tateisu
Copy link
Owner Author

tateisu commented Apr 30, 2023

一通り対応した

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant