imageURL returns 403 Forbidden to server-side requests: supported way to retrieve listing images?

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
api

Hướng nghiên cứu

Start by reading the v2 auctions response and the image URL behavior described in the issue, then check whether issue #27 or the repository documents image access and usage policies. The issue asks maintainers to identify a supported retrieval method, reuse permissions, and a recommended request rate; done means those questions have authoritative answers for API users.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The imageURL field in the v2 auctions response (for example https://www.ppms.gov/gw/auction/ppms/api/v1/auction/image/11QSCI27059046.jpg) loads in a web browser but returns HTTP 403 Forbidden to server-side requests. Tested from GitHub Actions with a descriptive User-Agent. The listings endpoint itself works well with an api.data.gov key.

Questions:

  1. Is there a supported way for API users to retrieve listing images programmatically, such as a required header, an authentication method or an alternative endpoint?
  2. Are API users permitted to cache and republish listing photographs with attribution and a link to the official listing, including on social media and for commercial use?
  3. Is there a recommended request rate for image retrieval?

Context: an independent service that publishes daily summaries of federal surplus lots, each linking to the official GSA Auctions listing. Possibly related to #27.

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

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 GSA/auctions_api

Tất cả issue của GSA/auctions_api

Issue tương tự

Thêm issue về JavaScript

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.