Page MenuHomePhabricator

Add support to only return keys in ApiAllMessages
Closed, ResolvedPublic

Description

Right now it always returns all messages content as well, would be nice to only return this if a certain property is given.

Since returning the content has been default for ever, prolly best to implement nocontent as a boolean parameter (instead of adding it as an optional prop to include).

Assining to self, I've got it mostly done locally will attach patch soon.


Version: unspecified
Severity: enhancement

Details

Reference
bz30591

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:55 PM
bzimport set Reference to bz30591.

Created attachment 8983
Adds nocontent paramter, defaults to false. When set to true, content is not included in output

Attached:

Bryan.TongMinh wrote:

Looks good.