Closed Bug 630960 Opened 13 years ago Closed 13 years ago

when specifying "attachments" for a search, it should only return attachments that aren't obsolete

Categories

(Webtools Graveyard :: BzAPI, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: christian, Assigned: gerv)

Details

I've been hammering the API fairly hard. The major reason is I am requesting bugs and their attachments (as I need to know if they have patches attached). That pulls a lot of data.

My suggestion is to make the "attachments" field only include attachments that don't have is_obsolete set by default. "all_attachments" can be specified instead to return everything if tools need that.
You know you can request them without the attachment data itself, right? (I'm fairly sure that's the default.)

The mechanism we use for getting this data out of Bugzilla does not allow us to specify in this way. So really, you are asking for BzAPI to throw away data before transmitting it to you. Given that, is this still a feature you would like?

Gerv
clegnitto: ping?

Gerv
clegnitto: ping?

Gerv
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.