> ## Documentation Index
> Fetch the complete documentation index at: https://generaltranslation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 概要

export const Button = ({href, children}) => {
  return <div className="not-prose group">
    <a href={href}>
      <button className="flex items-center space-x-2.5 py-1 px-4 bg-primary-dark dark:bg-white text-white dark:text-gray-950 rounded-full group-hover:opacity-[0.9] font-medium">
        <span>
          {children}
        </span>
        <svg width="3" height="24" viewBox="0 -9 3 24" class="h-6 rotate-0 overflow-visible"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg>
      </button>
    </a>
  </div>;
};

<div id="comparing-x-apis-lists-endpoints">
  ## X API のリストエンドポイントの比較
</div>

v2 のリスト管理用エンドポイントは、最終的に [POST lists/create](https://developer.x.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/post-lists-create)、[POST lists/destroy](https://developer.x.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/post-lists-destroy)、および [POST lists/update](https://developer.x.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/post-lists-update) を置き換える予定です。これらのエンドポイントの旧バージョンを使用しているコード、アプリ、またはツールがあり、新しい X API v2 への移行を検討している場合は、本ガイドが役立ちます。 

次の表は、標準 v1.1 と X API v2 のリストエンドポイントを比較したものです。

**リストを作成する**

| 説明                                                          | 標準 v1.1                                | X API v2                               |
| :---------------------------------------------------------- | :------------------------------------- | :------------------------------------- |
| サポートされている HTTP メソッド                                         | POST                                   | POST                                   |
| ホストドメイン                                                     | [https://api.x.com](https://api.x.com) | [https://api.x.com](https://api.x.com) |
| エンドポイントパス                                                   | /1.1/lists/create.json                 | /2/lists                               |
| [Authentication](/ja/resources/fundamentals/authentication) | OAuth 1.0a User Context                | OAuth 1.0a User Context                |
| デフォルトのリクエスト[レート制限](/ja/resources/fundamentals/rate-limits)  | なし                                     | 15 分あたり 300 リクエスト (ユーザーごと)             |

**リストを削除する**

| 説明                                                          | 標準 v1.1                                | X API v2                               |
| :---------------------------------------------------------- | :------------------------------------- | :------------------------------------- |
| サポートされている HTTP メソッド                                         | POST                                   | DELETE                                 |
| ホストドメイン                                                     | [https://api.x.com](https://api.x.com) | [https://api.x.com](https://api.x.com) |
| エンドポイントパス                                                   | /1.1/lists/destroy.json                | /2/lists/:id                           |
| [Authentication](/ja/resources/fundamentals/authentication) | OAuth 1.0a User Context                | OAuth 1.0a User Context                |
| デフォルトのリクエスト[レート制限](/ja/resources/fundamentals/rate-limits)  | なし                                     | 15 分あたり 300 リクエスト (ユーザーごと)             |

**リストを更新する**

| 説明                                                          | 標準 v1.1                                | X API v2                               |
| :---------------------------------------------------------- | :------------------------------------- | :------------------------------------- |
| サポートされている HTTP メソッド                                         | POST                                   | PUT                                    |
| ホストドメイン                                                     | [https://api.x.com](https://api.x.com) | [https://api.x.com](https://api.x.com) |
| エンドポイントパス                                                   | /1.1/lists/update.json                 | /2/lists/:id                           |
| [Authentication](/ja/resources/fundamentals/authentication) | OAuth 1.0a User Context                | OAuth 1.0a User Context                |
| デフォルトのリクエスト[レート制限](/ja/resources/fundamentals/rate-limits)  | なし                                     | 15 分あたり 300 リクエスト (ユーザーごと)             |

X API v2 エンドポイントにアクセスするには、[開発者アカウントにサインアップ](https://developer.x.com/en/portal/petition/essential/basic-info)する必要があります。認証時には、[開発者 App](/ja/resources/fundamentals/developer-apps) から発行されたキーとトークンを使用する必要があり、その App は [Project](/ja/resources/fundamentals/developer-apps) 内に属している必要があります。 

X API v2 エンドポイントへのアクセス方法の詳細については、[はじめに](/ja/x-api/getting-started/getting-access)ページをご覧ください。

<div className="flex space-x-2">
  <Button href="/ja/x-api/lists/manage-lists/quickstart">
    クイックスタート
  </Button>

  <Button href="https://github.com/xdevplatform/Twitter-API-v2-sample-code">
    サンプルコード
  </Button>

  <Button href="https://app.getpostman.com/run-collection/9956214-784efcda-ed4c-4491-a4c0-a26470a67400">
    Postman で実行
  </Button>
</div>
