> ## 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>;
};

X는 X API로 구축하는 개발자 커뮤니티에 헌신하고 있습니다. 이러한 헌신의 일환으로, 우리는 API를 개발자에게 개방적이고 공정하게 제공하는 동시에, X를 이용하는 사람들에게는 안전하고 X 플랫폼 전체에 이익이 되도록 하는 것을 목표로 합니다. X 콘텐츠를 오프라인에 저장하는 모든 개발자는 데이터가 사용자의 의도와 X 상의 콘텐츠의 현재 상태를 반영하도록 하는 것이 매우 중요합니다. 예를 들어, 누군가 X에서 게시물(Post)이나 계정을 삭제하거나, 게시물을 보호 상태로 전환하거나, 게시물을 편집하는 경우, 그 사람의 기대와 의도를 X와 우리 개발자 모두가 존중하는 것이 중요합니다.

규정 준수 이벤트의 실시간 스트림은 개발자가 [X Developer Agreement and Policy](https://developer.x.com/en/developer-terms/policy)를 준수하면서 X 데이터를 유지할 수 있도록 하는 도구를 제공합니다. 

`c\_ompliance event\_` 스트림은 두 가지가 있으며, 하나는 `Post\_ compliance\_` 이벤트용, 다른 하나는 *User compliance* 이벤트용입니다. 이 스트림은 Enterprise 액세스에서 제공되며, 대량의 데이터를 수집하면서 게시물 편집 이벤트와 같은 규정 준수 이벤트를 ‘수신(listen)’해야 하는 파트너를 위해 설계되었습니다.

이 스트림은 다음과 같은 이벤트를 제공합니다: 

\*\*Post compliance 스트림: \*\*

* delete - 게시물이 삭제되었음을 나타냅니다.

* tweet\_edit - 게시물이 편집되었음을 나타내며, 업데이트된 게시물의 ID를 제공합니다. 

* withheld - 게시물이 하나 이상의 국가에서 차단되었음을 나타냅니다. 

* drop - 게시물을 공개 화면에서 제거해야 함을 나타냅니다.

* undrop - 게시물을 다시 표시할 수 있으며 공개로 처리할 수 있음을 나타냅니다.

\*\*User compliance 스트림: \*\*

* **user\_delete** - 사용자 계정이 삭제되었음을 나타냅니다.

* **user\_undelete** - 사용자 계정의 삭제가 취소되었음을 나타냅니다.

* **user\_protect** - 사용자 계정이 비공개가 되었음을 나타냅니다.

* **user\_unprotect** - 사용자 계정이 공개가 되었음을 나타냅니다.

* **user\_withheld** - 사용자 계정이 하나 이상의 국가에서 차단되었음을 나타냅니다. 

* **user\_suspend** - 사용자 계정이 정지되었음을 나타냅니다.

* **user\_unsuspend** - 사용자 계정의 정지가 해제되었음을 나타냅니다.

* **user\_profile\_modification** - 사용자 프로필이 업데이트되었음을 나타냅니다. 여기에는 설명, 이름, 위치, URL의 업데이트가 포함됩니다.

**계정 설정**

이 엔드포인트들에 액세스하려면 다음이 필요합니다:

* 승인된 [개발자 계정](https://developer.x.com/en/portal/petition/essential/basic-info)
* [Project](/ko/resources/fundamentals/developer-apps) 내에 위치한 [developer App](/ko/resources/fundamentals/developer-apps)의 키와 토큰을 사용한 인증

X API v2 엔드포인트에 대한 액세스 권한을 얻는 방법은 [시작 가이드](/ko/x-api/getting-started/getting-access)에서 자세히 알아보세요.

<div className="flex space-x-2">
  <Button href="https://app.getpostman.com/run-collection/9956214-784efcda-ed4c-4491-a4c0-a26470a67400">
    Postman에서 실행
  </Button>

  <Button href="https://developer.x.com/apitools/api?endpoint=/2/compliance/jobs">
    API Explorer로 시도
  </Button>
</div>
