Set hide_email_addresses in person of type xsd:boolean

Bug #731518 reported by Manish Sinha (मनीष सिन्हा)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Right now person representation https://launchpad.net/+apidoc/1.0.html#person has a field named "hide_email_addresses" which is a string. It should be a boolean

Right now the WADL shows

 </wadl:param>
      <wadl:param style="plain" required="false"
                  path="$['hide_email_addresses']"
                  name="hide_email_addresses">
        <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
                Hide my email addresses from other Launchpad users
        </wadl:doc>
</wadl:param>

It should be

 </wadl:param>
      <wadl:param style="plain" required="false"
                  path="$['hide_email_addresses']"
                  name="hide_email_addresses"
                  type="xsd:boolean">
        <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
                Hide my email addresses from other Launchpad users
        </wadl:doc>
</wadl:param>

Quoting from Leronard's IRC log

<m4n1sh>in https://launchpad.net/+apidoc/1.0.html#person the field hide_email_addresses
<m4n1sh> "hide_email_addresses"
<m4n1sh> what should it be set?
<m4n1sh> true/false?
<leonardr>m4n1sh: yes
<m4n1sh>leonardr: can it be reflected in the WADL?
<m4n1sh> WADL file
<leonardr> yes, we could set type="xsd:boolean" as we have for dates

summary: - Set hide_email_addresses in person of type xsd:boolea
+ Set hide_email_addresses in person of type xsd:boolean
affects: lazr.restful → launchpad
Changed in launchpad:
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.