How to get closed issues?

Đang mở
#29 11 bình luận 1 reaction 2 người được giao Xem trên GitHub

@nelsonic đang làm issue này rồi.

Từ ngày 6/4/2018.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

please-test T4h technical

From: https://developer.github.com/v3/issues/#list-issues-for-a-repository
To get the list of issues of a repository we need to send a GET request to /repos/:owner/:repo/issues

By adding the state query parameter to the query we can choose to get all the issues and not just the open ones:
image

We already have the get_issues function: https://github.com/dwyl/github-backup/blob/295ee9e7cf0bc9b5f6d88e89601c5341a2351956/lib/app_web/controllers/github_api/http_client.ex#L47-L52
We need to update this function to add the state query parameter with the value all

ref:

Ngôn ngữ chính
Elixir
Star
33
Fork
3
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của dwyl/github-backup

Tất cả issue của dwyl/github-backup

Issue tương tự

Thêm issue về Elixir

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.