Assets
This operation provides the body measurements of a specific scan.
Path parameters
scanIdstringRequiredExample:
The unique ID of the scan
unique-scan-id
Responses
200Success
application/json;v=1
get
GET /scans/{scanId}/measurements HTTP/1.1
Host: api.hosted.prismlabs.tech
Accept: */*
200Success
{
"neckFit": 1,
"shoulderFit": 1,
"upperChestFit": 1,
"chestFit": 1,
"lowerChestFit": 1,
"waistFit": 1,
"waistNavyFit": 1,
"stomachFit": 1,
"hipsFit": 1,
"upperThighLeftFit": 1,
"upperThighRightFit": 1,
"thighLeftFit": 1,
"thighRightFit": 1,
"lowerThighLeftFit": 1,
"lowerThighRightFit": 1,
"calfLeftFit": 1,
"calfRightFit": 1,
"ankleLeftFit": 1,
"ankleRightFit": 1,
"midArmRightFit": 1,
"midArmLeftFit": 1,
"lowerArmRightFit": 1,
"lowerArmLeftFit": 1,
"waistToHipRatio": 1,
"forearmLeftFit": 1,
"forearmRightFit": 1,
"wristLeftFit": 1,
"wristRightFit": 1,
"bmiPredicted": 1,
"bmiConfidence": 1,
"bodyRoundnessIndex": 1,
"fullBodyVolume": 1
}
This operation provides the asset status of a specific scan.
Path parameters
scanIdstringRequiredExample:
The unique ID of the scan
unique-scan-id
Responses
200Success
application/json;v=1
get
GET /scans/{scanId}/scan-assets HTTP/1.1
Host: api.hosted.prismlabs.tech
Accept: */*
200Success
{
"id": "unique-scan-asset-id",
"scanId": "unique-scan-id",
"captureData": "succeeded",
"captureDataUpdatedAt": "text",
"body": "started",
"bodyUpdatedAt": "text",
"fittedBody": null,
"fittedBodyUpdatedAt": "text",
"measurement": null,
"measurementUpdatedAt": "text",
"createdAt": "text",
"updatedAt": "text"
}
This operation provides the asset urls of a specific scan.
Path parameters
scanIdstringRequiredExample:
The unique ID of the scan
unique-scan-id
Responses
200Success
application/json;v=1
get
GET /scans/{scanId}/asset-urls HTTP/1.1
Host: api.hosted.prismlabs.tech
Accept: */*
200Success
{
"previewImage": "text",
"model": "text",
"canonicalBody": "text",
"texture": "text",
"material": "text",
"stripes": "text"
}
This operation provides a specific asset url of a specific scan.
Path parameters
scanIdstringRequiredExample:
The unique ID of the scan
unique-scan-id
assetTypestring · enumRequiredPossible values:
The specific asset type of the scan
Responses
200Success
application/json;v=1
Responsestring
get
GET /scans/{scanId}/asset-urls/{assetType} HTTP/1.1
Host: api.hosted.prismlabs.tech
Accept: */*
200Success
text
This operation provides the bodyfat of a specific scan.
Path parameters
scanIdstringRequiredExample:
The unique ID of the scan
unique-scan-id
Responses
200Success
application/json;v=1
get
GET /scans/{scanId}/bodyfat HTTP/1.1
Host: api.hosted.prismlabs.tech
Accept: */*
200Success
{
"bodyfatMethod": "coco",
"bodyfatPercentage": 20,
"leanMassPercentage": 80,
"fatMass": 16,
"leanMass": 64,
"vatPercentage": 1.5,
"vatMass": 1.2
}
This operation updates the bodyfat method of a scan.
Path parameters
scanIdstringRequiredExample:
The unique ID of the scan
unique-scan-id
Body
bodyfatMethodstring · enumRequiredExample:
A new bodyfat method to to use for the scan
coco
Possible values: Responses
200Success
application/json;v=1
patch
PATCH /scans/{scanId}/bodyfat HTTP/1.1
Host: api.hosted.prismlabs.tech
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"bodyfatMethod": "coco"
}
200Success
{
"bodyfatMethod": "coco",
"bodyfatPercentage": 20,
"leanMassPercentage": 80,
"fatMass": 16,
"leanMass": 64,
"vatPercentage": 1.5,
"vatMass": 1.2
}