Retrieve Asset Download Link

Learn how to retrieve the asset download link for a textured asset

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

NameTypeDescription

job_id*

uuid

The ID of the job for which you want to download the metadata. You can get the job_id for a desired job through this endpoint

Headers

NameTypeDescription

X-API-KEY*

uuid

Your API Key, created through the dashboard

Content-Type*

String

The content type of the request, set to "application/json".

{ "url": UNIQUE-URL-HERE, "birth_name": original, "file_name": current, "extension": "glb", "file_size_b": "56992", "version_id": "" }

Last updated

Copyright (C) 2023 Aqueduct Software, Inc. All rights reserved.