Retrieve Asset Download Link
Learn how to retrieve the asset download link for a textured asset
Retrieve the download link for a textured asset given the job ID
GET
https://prod.polyhive.ai/api/content/retextureResult/{jobId}
Through this endpoint, you can retrieve the download link for a textured asset, along with associated metadata including:
download_url (string): The hosted url of the textured asset. You can download the textured asset from this URL. original_filename (string): The original filename of the asset current_filename (string): The current filename of the asset file_extension (string): The filetype extension - either GLB, FBX, or OBJ. filesize_bytes (int): The size of the asset file in bytes. version_id (string): Empty field
An example of a request to this endpoint through curl, for fetching the download link for a texturing job with job ID ea837a60-e926-4576-8af4-daf026309dc3
:
curl -H "Content-Type: application/json" -H "X-API-KEY: <YOUR API KEY>"
https://prod.polyhive.ai/api/content/retextureResult/ea837a60-e926-4576-8af4-daf026309dc3
Path Parameters
Headers
{ "url": UNIQUE-URL-HERE, "birth_name": original, "file_name": current, "extension": "glb", "file_size_b": "56992", "version_id": "" }
Last updated