InfoGrab Docs

GitLab 할 일 목록 API

GitLab 할 일 목록 API에 대해 설명합니다.

이 API를 사용하여 할 일 항목 과 상호작용합니다. 모든 할 일 항목 목록 # 모든 할 일 항목을 나열합니다. 필터가 적용되지 않으면 현재 사용자의 모든 대기 중인 할 일 항목을 반환합니다. 다양한 필터를 통해 사용자가 요청을 세분화할 수 있습니다. GET /todos 매개변수: 속성 유형 필수 설명 action string 아니요 필터링할 작업. assigned , mentioned , build_failed , marked , approval_required , unmergeable , directly_addressed , merge_train_removed , member_access_requested 중 하나일 수 있습니다. author_id integer 아니요 작성자의 ID project_id integer 아니요 프로젝트의 ID group_id integer 아니요 그룹의 ID state string 아니요 할 일 항목의 상태. pending 또는 done 중 하나일 수 있습니다. type string 아니요 할 일 항목의 유형. Issue , MergeRequest , Commit , Epic , DesignManagement::Design , AlertManagement::Alert , Project , Namespace , Vulnerability , WikiPage::Meta 중 하나일 수 있습니다. curl --request GET \ --header "PRIVATE-TOKEN: <your_access_token>" \ --url "https://gitlab.example.com/api/v4/todos" 응답 예시: [ { "id" : 102 , "project" : { "id" : 2 , "name" : "Gitlab Ce" , "name_with_namespace" : "Gitlab Org / Gitlab Ce" , "path" : "gitlab-foss" , "path_with_namespace" : "gitlab-org/gitlab-foss" } , "author" : { "name" : "Administrator" , "username" : "root" , "id" : 1 , "state" : "active" , "avatar_url" : "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon" , "web_url" : "https://gitlab.example.com/root" } , "action_name" : "marked" , "target_type" : "MergeRequest" , "target" : { "id" : 34 , "iid" : 7 , "project_id" : 2 , "title" : "Dolores in voluptatem tenetur praesentium omnis repellendus voluptatem quaerat." , "description" : "Et ea e