Each user's bra is represented as an entity on the API. To be able to read this information you must send an authenticated request with a valid user token that has the bras
scope granted.
Its meta.collection
key will point to the user's bra collection and its body
and links
will have this format:
body
{
"bust_perimeter": <float>,
"name": <string>,
"hooks": <int>,
"brand": <string>,
"strap_width": <float>,
"cup_separation": <float>,
"altered_band": <boolean>,
"is_owned": <boolean>,
"cup_depth": <boolean>,
"is_altered": <boolean>,
"wire_length": <float>,
"gore_height": <float>,
"stretched_band_length": <float>,
"model": <string>,
"band_length": <float>,
"multiple_sizes": {...},
"wing_height": <float>,
"size": <string>,
"is_custom": <boolean>,
"bratabase_url": <url>,
"note": <string>
}
- bust_perimeter: A float number containing the bust perimeter measurement entered in centimeters.
- name: The name of the bra assigned by the site, will be a combination of the size, model and brand name.
- hooks: The number of hooks this bra has, as entered by the user.
- brand: The name of the brand of this bra as a string. To follow to the brand's entity detail check the
links.brand
URL.
- strap_width: A float number with the strap width measurement entered by the user in centimeters.
- cup_separation: A float number with the cup separation in centimeters as entered by the user.
- altered_band: This boolean flag will have a True value if the user has altered the band of this bra only.
- is_owned: A boolean flag indicating whether or not the user still owns this bra. True means she still has it.
- cup_depth: A float number with the cup depth entered by the user in centimeters.
- is_altered: A boolean flag indicating whether or not this bra has altered measurements, this could be due bending or alterations done by the owner.
- wire_length: A float number with the bra's underwire length in centimeters as entered by the user.
- gore_height: A float number with the bra's center gore height in centimeters as entered by the user.
- stretched_band_length: A float number containing the measurement of the stretched band of the bra as entered by the user.
- model: The full name of the model of the bra, if you need the link to this model's entity, check the
links.model
URL.
- band_length: The measurement of the bra's band as entered by the user in centimeters.
- multiple_sizes: An object containing alternative sizes that this user entered as they are shown on this bra's manufacturer's label.
- wing_height: The length in centimeters of the bra's side wing as entered by the user.
- size: A string with this bra's size in the brand's default sizing system.
- is_custom: A flag indicating whether or not this bra is a custom order.
- bratabase_url: A URL for this bra's detail on Bratabase.com.
- note: An optional note the user could have written for this bra.
Remember that none of these measurements are mandatory by the site and not all bra models (soft cups, sport bras, etc) will require all measurements so many of these may have value of 0.0.
links
{
"brand": <url>,
"model": <url>,
"size": <url>
}
How to get here
To reach here you must have followed any of the href
URLs on the user's bras collection.
API root -> me -> bras -> href
Related
Edit