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

# v1 から v2 へ

> これまで standard v1.1 の POST lists/create、POST lists/destroy、POST lists/update を利用してきた方に向けたガイドです。X API v2 スタンダード階層の移行に関するリファレンスドキュメントです。

export const Button = ({href, children}) => {
  return <div className="not-prose">
    <a href={href}>
      <button className="x-btn">
        <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>;
};

### Manage Lists: Standard v1.1 と X API v2 の比較

これまで standard v1.1 の [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) エンドポイントを利用してきた方向けに、standard v1.1 と X API v2 の manage List エンドポイントの類似点と相違点を理解するのに役立つことを目的としたガイドです。

* **類似点**
  * 認証
* **相違点**
  * エンドポイント URL
  * App と Project の要件
  * HTTP メソッド
  * レート制限
  * リクエストパラメータ

#### 類似点

**認証**

いずれのエンドポイントバージョンも [OAuth 1.0a User Context](https://developer.x.com/content/developer-twitter/resources/fundamentals/authentication) をサポートしています。したがって、以前 standard v1.1 の manage Lists エンドポイントのいずれかを利用していた場合、X API v2 版へ移行しても同じ認証方式を継続して利用できます。

#### 相違点

**エンドポイント URL**

* Standard v1.1 エンドポイント:
  * POST [https://api.x.com/1.1/lists/create.json](https://api.x.com/1.1/lists/create.json)
    (List を作成)
  * POST [https://api.x.com/1.1/lists/destroy.json](https://api.x.com/1.1/lists/destroy.json)
    (List を削除)
  * POST [https://api.x.com/1.1/lists/update.json](https://api.x.com/1.1/lists/update.json)
    (List を更新)
* X API v2 エンドポイント:
  * POST [https://api.x.com/2/lists](https://api.x.com/2/lists)
    (List を作成)

  * DELETE [https://api.x.com/2/lists/:id](https://api.x.com/2/lists/:id)
    (List を削除)

  * PUT [https://api.x.com/2/lists/:id](https://api.x.com/2/lists/:id)
    (List を更新)

**レート制限**

\| **Standard v1**
