Skip to content

File Models

thingiverse.models.file

File

Attributes:

Name Type Description
date str | Unset

Example: 2015-04-09 12:55:22.

default_image ImageSummarySchemaType0 | None | Unset
direct_url None | str | Unset

This will return null if it's not in the 'printable' file list (eg a pdf) Example: https://cdn.thingiverse.com/assets/7d/fc/6e/33/fe/3DBenchy.stl.

download_count int | Unset

Example: 451301.

download_url str | Unset

Example: https://api.thingiverse.com/files/1223854/download.

formatted_size str | Unset

a formatted string of a filesize Example: 10 mb.

id int | Unset

Example: 1223854.

meta_data list[FileMetaDataItem] | Unset
name str | Unset

Example: 3DBenchy.stl.

public_url str | Unset

Example: https://www.thingiverse.com/download:1223854.

size int | Unset

Example: 11285384.

threejs_url str | Unset

Example: https://cdn.thingiverse.com/threejs_json/07/ad/ba/fc/87/3DBenchy.js.

thumbnail str | Unset

Example: https://cdn.thingiverse.com/renders/40/37/dc/8d/31/3DBenchy_thumb_medium.jpg.

url str | Unset

Example: https://api.thingiverse.com/files/1223854.

thingiverse.models.file_meta_data_item

FileMetaDataItem

thingiverse.models.file_schema

FileSchema

Attributes:

Name Type Description
date str | Unset

Example: 2015-04-09 12:55:22.

default_image ImageSummarySchemaType0 | None | Unset
direct_url None | str | Unset

This will return null if it's not in the 'printable' file list (eg a pdf) Example: https://cdn.thingiverse.com/assets/7d/fc/6e/33/fe/3DBenchy.stl.

download_count int | Unset

Example: 451301.

download_url str | Unset

Example: https://api.thingiverse.com/files/1223854/download.

formatted_size str | Unset

a formatted string of a filesize Example: 10 mb.

id int | Unset

Example: 1223854.

meta_data list[FileSchemaMetaDataItem] | Unset
name str | Unset

Example: 3DBenchy.stl.

public_url str | Unset

Example: https://www.thingiverse.com/download:1223854.

size int | Unset

Example: 11285384.

threejs_url str | Unset

Example: https://cdn.thingiverse.com/threejs_json/07/ad/ba/fc/87/3DBenchy.js.

thumbnail str | Unset

Example: https://cdn.thingiverse.com/renders/40/37/dc/8d/31/3DBenchy_thumb_medium.jpg.

url str | Unset

Example: https://api.thingiverse.com/files/1223854.

thingiverse.models.file_schema_meta_data_item

FileSchemaMetaDataItem

thingiverse.models.get_files_file_id_download_response_401

GetFilesFileIdDownloadResponse401

Attributes:

Name Type Description
error str | Unset

Example: Unauthorized.

thingiverse.models.get_files_file_id_download_response_403

GetFilesFileIdDownloadResponse403

Attributes:

Name Type Description
error str | Unset

Example: Forbidden.

thingiverse.models.get_files_file_id_download_response_404

GetFilesFileIdDownloadResponse404

Attributes:

Name Type Description
error str | Unset

Example: Not Found.

thingiverse.models.get_files_file_id_finalize_response_401

GetFilesFileIdFinalizeResponse401

Attributes:

Name Type Description
error str | Unset

Example: Unauthorized.

thingiverse.models.get_files_file_id_finalize_response_403

GetFilesFileIdFinalizeResponse403

Attributes:

Name Type Description
error str | Unset

Example: Forbidden.

thingiverse.models.get_files_file_id_finalize_response_404

GetFilesFileIdFinalizeResponse404

Attributes:

Name Type Description
error str | Unset

Example: Not Found.

thingiverse.models.get_files_file_id_response_401

GetFilesFileIdResponse401

Attributes:

Name Type Description
error str | Unset

Example: Unauthorized.

thingiverse.models.get_files_file_id_response_403

GetFilesFileIdResponse403

Attributes:

Name Type Description
error str | Unset

Example: Forbidden.

thingiverse.models.get_files_file_id_response_404

GetFilesFileIdResponse404

Attributes:

Name Type Description
error str | Unset

Example: Not Found.

thingiverse.models.post_files_0_finalize_files_response_200

PostFiles0FinalizeFilesResponse200

Attributes:

Name Type Description
error str | Unset

thingiverse.models.post_files_0_finalize_files_response_400

PostFiles0FinalizeFilesResponse400

Attributes:

Name Type Description
error str | Unset

Example: Bad Request.

thingiverse.models.post_files_0_finalize_files_response_401

PostFiles0FinalizeFilesResponse401

Attributes:

Name Type Description
error str | Unset

Example: Unauthorized.

thingiverse.models.post_files_0_finalize_files_response_403

PostFiles0FinalizeFilesResponse403

Attributes:

Name Type Description
error str | Unset

Example: Forbidden.

thingiverse.models.post_files_0_finalize_files_response_404

PostFiles0FinalizeFilesResponse404

Attributes:

Name Type Description
error str | Unset

Example: Not Found.

thingiverse.models.post_files_0_upload_file_body

PostFiles0UploadFileBody

Attributes:

Name Type Description
file File | Unset

thingiverse.models.post_files_0_upload_file_response_200

PostFiles0UploadFileResponse200

Attributes:

Name Type Description
id int | Unset

thingiverse.models.post_files_0_upload_file_response_400

PostFiles0UploadFileResponse400

Attributes:

Name Type Description
error str | Unset

Example: Bad Request.

thingiverse.models.post_files_0_upload_file_response_401

PostFiles0UploadFileResponse401

Attributes:

Name Type Description
error str | Unset

Example: Unauthorized.

thingiverse.models.post_files_0_upload_file_response_403

PostFiles0UploadFileResponse403

Attributes:

Name Type Description
error str | Unset

Example: Forbidden.

thingiverse.models.post_files_file_id_finalize_response_401

PostFilesFileIdFinalizeResponse401

Attributes:

Name Type Description
error str | Unset

Example: Unauthorized.

thingiverse.models.post_files_file_id_finalize_response_403

PostFilesFileIdFinalizeResponse403

Attributes:

Name Type Description
error str | Unset

Example: Forbidden.

thingiverse.models.post_files_file_id_finalize_response_404

PostFilesFileIdFinalizeResponse404

Attributes:

Name Type Description
error str | Unset

Example: Not Found.