API Reference
For Prism internal use only [Prism staging]
For Prism internal use only [Prism staging]
  • API Reference
  • Specifications
  • HOSTED API
    • API reference
      • Users
        • Terms
      • Scans
        • Measurements
        • Upload url
        • Scan assets
        • Asset urls
        • Bodyfat
        • Health report
      • Body shape prediction
        • Asset urls
    • Specification
  • PRISM API
    • About
    • API reference
      • Scans
        • Body
          • Download url
        • Fitted body
        • Measurements
          • Download url
        • Upload url
      • Users
      • Body shape prediction
        • Download url
    • Specification
Powered by GitBook
On this page
  1. PRISM API
  2. API reference
  3. Body shape prediction

Download url

PreviousBody shape prediction

Create a download URL for a Body Shape Prediction asset

post

Download URLs will be valid for one hour. New URLs may be generated with further requests to this endpoint

Authorizations
Path parameters
bodyShapePredictionIdstringRequired
Responses
201Success
application/json;v=1
400
A bad request was made
application/json;v=1
401
Unauthorized access. Please include a valid access token.
application/json;v=1
403
Forbidden access to resource. See documentation for more details.
application/json;v=1
422
A validation error occurred
application/json;v=1
500
An internal server error occurred
application/json;v=1
post
POST /body-shape-prediction/{bodyShapePredictionId}/download-url HTTP/1.1
Host: api.prismlabs.tech
Authorization: Bearer JWT
Accept: */*
{
  "url": "https://prism-api-data-prod.s3.us-east-2.amazonaws.com/upload/a/b/capture-data/c.zip?...",
  "expirationTime": "2022-06-13T23:02:48Z"
}