GitHub API questions
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- github, javascript
- Lĩnh vực
- api, documentation
Hướng nghiên cứu
Read the linked Contents API and Git Trees API documentation, then inspect the repository-traversal gist. Determine how the root is identified and whether the referenced APIs are affected by the deprecation notice. Done means the issue has clear, current answers and links to suitable examples for traversal and file contents operations.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
TL;DR -- How to find the root of a repo for the tree api, and are the content and tree APIs deprecated as of Oct 1?
-
I'm using the contents API to do a traversal of the directory structure of a repository. It works. Here's a gist containing the code. It takes about three seconds to traverse the structure of my test1 repo. I'm thinking about using the tree API, hoping that it will be considerably faster. But I can't figure out how to get the sha for the root of the repo. Any suggestions much appreciated.
-
There are notes on the GitHub API website about GitHub Services being deprecated starting October 1. At first I thought this applied to the API I'm using. Now I'm wondering. I'm just using the contents API. Is this part of the deprecated set? If so arrrrgh. And where can I find good sample code for getting and setting the contents of a file and doing a directory traversal.
- Ngôn ngữ chính
- HTML
- Star
- 134
- Fork
- 10
- 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của scripting/Scripting-News
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
scripting/Scripting-News#353 · 6 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
scripting/Scripting-News#332 · 25 bình luận · 1 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
scripting/Scripting-News#362 ·
-
Matt is moved aside Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
scripting/Scripting-News#361 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
scripting/Scripting-News#360 · 1 bình luận · 1 reaction ·
Tất cả issue của scripting/Scripting-News
Issue tương tự
-
bug priority:normal ready-for-dev
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
OpenHands/extensions#626 · 1 bình luận ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
avniproject/avni-client#2135 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
use-agent-os/agent-os#3276 ·