Google Drive Activity API는 사용자의 Google Drive 내에서 객체에 적용된 변경사항을 나타내는 DriveActivity 리소스와 이러한 변경사항에 관한 정보를 검색할 수 있는 activity.query 메서드로 구성됩니다.
요청
앱이 activity.query 메서드를 사용하여 사용자의 활동 데이터를 요청합니다. 특정 Drive 항목 또는 Drive 폴더에 포함된 모든 항목의 활동을 요청할 수 있습니다. 특정 요청의 경우 기간 또는 작업 유형과 같은 제약 조건에 따라 응답을 제한하도록 선택할 수 있으며, 응답에서 활동을 통합하도록 선택할 수 있습니다. 자세한 내용은 Drive Activity API에서 요청하기를 참고하세요.
응답
요청에 대한 응답은 지정된 매개변수와 일치하는 활동 목록이며 여기서 DriveActivity 리소스는 각 활동을 나타냅니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-12-22(UTC)"],[[["The Google Drive Activity API lets you track changes to files and folders in a user's Google Drive using the `DriveActivity` resource and `activity.query` method."],["You can request activity data for specific Drive items or entire folders, filtering results by time range, action type, and more."],["Each `DriveActivity` resource represents a change and includes details like the action performed, the user involved, and the target file or folder."],["Activity visibility depends on user permissions; you can only see activity for files and folders you have access to."],["To effectively utilize the Drive Activity API, it's recommended to integrate it with the Google Drive API for comprehensive file management capabilities."]]],["The Google Drive Activity API uses the `DriveActivity` resource to represent changes in a user's Google Drive. The `activity.query` method retrieves this data for specific items or folders. Requests can be filtered by time, action type, and responses can be consolidated. Each `DriveActivity` resource is a collection of `Action` objects that contain details like `ActionDetail`, `Actor`, and `Target`. Visibility of activity history depends on the authenticated user's permissions and sharing settings.\n"]]