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

Open
#31 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
api

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
JavaScript
Stars
4
Forks
5
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GSA/auctions_api

All issues in GSA/auctions_api

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.