Thing
thingiverse.api.thing
Contains endpoint functions for accessing the API
delete_things_thing_id
asyncio(thing_id, *, client)
async
Delete a thing
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
DeleteThingsThingIdResponse200 | DeleteThingsThingIdResponse401 | DeleteThingsThingIdResponse403 | DeleteThingsThingIdResponse404 | None
|
DeleteThingsThingIdResponse200 | DeleteThingsThingIdResponse401 | DeleteThingsThingIdResponse403 | DeleteThingsThingIdResponse404 |
Source code in thingiverse/api/thing/delete_things_thing_id.py
asyncio_detailed(thing_id, *, client)
async
Delete a thing
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[DeleteThingsThingIdResponse200 | DeleteThingsThingIdResponse401 | DeleteThingsThingIdResponse403 | DeleteThingsThingIdResponse404]
|
Response[DeleteThingsThingIdResponse200 | DeleteThingsThingIdResponse401 | DeleteThingsThingIdResponse403 | DeleteThingsThingIdResponse404] |
Source code in thingiverse/api/thing/delete_things_thing_id.py
sync(thing_id, *, client)
Delete a thing
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
DeleteThingsThingIdResponse200 | DeleteThingsThingIdResponse401 | DeleteThingsThingIdResponse403 | DeleteThingsThingIdResponse404 | None
|
DeleteThingsThingIdResponse200 | DeleteThingsThingIdResponse401 | DeleteThingsThingIdResponse403 | DeleteThingsThingIdResponse404 |
Source code in thingiverse/api/thing/delete_things_thing_id.py
sync_detailed(thing_id, *, client)
Delete a thing
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[DeleteThingsThingIdResponse200 | DeleteThingsThingIdResponse401 | DeleteThingsThingIdResponse403 | DeleteThingsThingIdResponse404]
|
Response[DeleteThingsThingIdResponse200 | DeleteThingsThingIdResponse401 | DeleteThingsThingIdResponse403 | DeleteThingsThingIdResponse404] |
Source code in thingiverse/api/thing/delete_things_thing_id.py
delete_things_thing_id_collections
asyncio(thing_id, *, client)
async
Delete a thing from all user's collections
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
DeleteThingsThingIdCollectionsResponse200 | DeleteThingsThingIdCollectionsResponse403 | DeleteThingsThingIdCollectionsResponse404 | None
|
DeleteThingsThingIdCollectionsResponse200 | DeleteThingsThingIdCollectionsResponse403 | DeleteThingsThingIdCollectionsResponse404 |
Source code in thingiverse/api/thing/delete_things_thing_id_collections.py
asyncio_detailed(thing_id, *, client)
async
Delete a thing from all user's collections
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[DeleteThingsThingIdCollectionsResponse200 | DeleteThingsThingIdCollectionsResponse403 | DeleteThingsThingIdCollectionsResponse404]
|
Response[DeleteThingsThingIdCollectionsResponse200 | DeleteThingsThingIdCollectionsResponse403 | DeleteThingsThingIdCollectionsResponse404] |
Source code in thingiverse/api/thing/delete_things_thing_id_collections.py
sync(thing_id, *, client)
Delete a thing from all user's collections
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
DeleteThingsThingIdCollectionsResponse200 | DeleteThingsThingIdCollectionsResponse403 | DeleteThingsThingIdCollectionsResponse404 | None
|
DeleteThingsThingIdCollectionsResponse200 | DeleteThingsThingIdCollectionsResponse403 | DeleteThingsThingIdCollectionsResponse404 |
Source code in thingiverse/api/thing/delete_things_thing_id_collections.py
sync_detailed(thing_id, *, client)
Delete a thing from all user's collections
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[DeleteThingsThingIdCollectionsResponse200 | DeleteThingsThingIdCollectionsResponse403 | DeleteThingsThingIdCollectionsResponse404]
|
Response[DeleteThingsThingIdCollectionsResponse200 | DeleteThingsThingIdCollectionsResponse403 | DeleteThingsThingIdCollectionsResponse404] |
Source code in thingiverse/api/thing/delete_things_thing_id_collections.py
delete_things_thing_id_files_file_id
asyncio(thing_id, file_id, *, client)
async
Delete a file from a thing
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
file_id
|
int
|
|
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
DeleteThingsThingIdFilesFileIdResponse200 | DeleteThingsThingIdFilesFileIdResponse401 | DeleteThingsThingIdFilesFileIdResponse403 | DeleteThingsThingIdFilesFileIdResponse404 | None
|
DeleteThingsThingIdFilesFileIdResponse200 | DeleteThingsThingIdFilesFileIdResponse401 | DeleteThingsThingIdFilesFileIdResponse403 | DeleteThingsThingIdFilesFileIdResponse404 |
Source code in thingiverse/api/thing/delete_things_thing_id_files_file_id.py
asyncio_detailed(thing_id, file_id, *, client)
async
Delete a file from a thing
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
file_id
|
int
|
|
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[DeleteThingsThingIdFilesFileIdResponse200 | DeleteThingsThingIdFilesFileIdResponse401 | DeleteThingsThingIdFilesFileIdResponse403 | DeleteThingsThingIdFilesFileIdResponse404]
|
Response[DeleteThingsThingIdFilesFileIdResponse200 | DeleteThingsThingIdFilesFileIdResponse401 | DeleteThingsThingIdFilesFileIdResponse403 | DeleteThingsThingIdFilesFileIdResponse404] |
Source code in thingiverse/api/thing/delete_things_thing_id_files_file_id.py
sync(thing_id, file_id, *, client)
Delete a file from a thing
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
file_id
|
int
|
|
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
DeleteThingsThingIdFilesFileIdResponse200 | DeleteThingsThingIdFilesFileIdResponse401 | DeleteThingsThingIdFilesFileIdResponse403 | DeleteThingsThingIdFilesFileIdResponse404 | None
|
DeleteThingsThingIdFilesFileIdResponse200 | DeleteThingsThingIdFilesFileIdResponse401 | DeleteThingsThingIdFilesFileIdResponse403 | DeleteThingsThingIdFilesFileIdResponse404 |
Source code in thingiverse/api/thing/delete_things_thing_id_files_file_id.py
sync_detailed(thing_id, file_id, *, client)
Delete a file from a thing
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
file_id
|
int
|
|
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[DeleteThingsThingIdFilesFileIdResponse200 | DeleteThingsThingIdFilesFileIdResponse401 | DeleteThingsThingIdFilesFileIdResponse403 | DeleteThingsThingIdFilesFileIdResponse404]
|
Response[DeleteThingsThingIdFilesFileIdResponse200 | DeleteThingsThingIdFilesFileIdResponse401 | DeleteThingsThingIdFilesFileIdResponse403 | DeleteThingsThingIdFilesFileIdResponse404] |
Source code in thingiverse/api/thing/delete_things_thing_id_files_file_id.py
delete_things_thing_id_images_image_id
asyncio(thing_id, image_id, *, client)
async
Delete an image from a thing
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
image_id
|
int
|
Example: 1. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
DeleteThingsThingIdImagesImageIdResponse200 | DeleteThingsThingIdImagesImageIdResponse401 | DeleteThingsThingIdImagesImageIdResponse403 | DeleteThingsThingIdImagesImageIdResponse404 | None
|
DeleteThingsThingIdImagesImageIdResponse200 | DeleteThingsThingIdImagesImageIdResponse401 | DeleteThingsThingIdImagesImageIdResponse403 | DeleteThingsThingIdImagesImageIdResponse404 |
Source code in thingiverse/api/thing/delete_things_thing_id_images_image_id.py
asyncio_detailed(thing_id, image_id, *, client)
async
Delete an image from a thing
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
image_id
|
int
|
Example: 1. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[DeleteThingsThingIdImagesImageIdResponse200 | DeleteThingsThingIdImagesImageIdResponse401 | DeleteThingsThingIdImagesImageIdResponse403 | DeleteThingsThingIdImagesImageIdResponse404]
|
Response[DeleteThingsThingIdImagesImageIdResponse200 | DeleteThingsThingIdImagesImageIdResponse401 | DeleteThingsThingIdImagesImageIdResponse403 | DeleteThingsThingIdImagesImageIdResponse404] |
Source code in thingiverse/api/thing/delete_things_thing_id_images_image_id.py
sync(thing_id, image_id, *, client)
Delete an image from a thing
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
image_id
|
int
|
Example: 1. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
DeleteThingsThingIdImagesImageIdResponse200 | DeleteThingsThingIdImagesImageIdResponse401 | DeleteThingsThingIdImagesImageIdResponse403 | DeleteThingsThingIdImagesImageIdResponse404 | None
|
DeleteThingsThingIdImagesImageIdResponse200 | DeleteThingsThingIdImagesImageIdResponse401 | DeleteThingsThingIdImagesImageIdResponse403 | DeleteThingsThingIdImagesImageIdResponse404 |
Source code in thingiverse/api/thing/delete_things_thing_id_images_image_id.py
sync_detailed(thing_id, image_id, *, client)
Delete an image from a thing
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
image_id
|
int
|
Example: 1. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[DeleteThingsThingIdImagesImageIdResponse200 | DeleteThingsThingIdImagesImageIdResponse401 | DeleteThingsThingIdImagesImageIdResponse403 | DeleteThingsThingIdImagesImageIdResponse404]
|
Response[DeleteThingsThingIdImagesImageIdResponse200 | DeleteThingsThingIdImagesImageIdResponse401 | DeleteThingsThingIdImagesImageIdResponse403 | DeleteThingsThingIdImagesImageIdResponse404] |
Source code in thingiverse/api/thing/delete_things_thing_id_images_image_id.py
delete_things_thing_id_likes
asyncio(thing_id, *, client)
async
Delete a like
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Any | DeleteThingsThingIdLikesResponse200 | DeleteThingsThingIdLikesResponse401 | DeleteThingsThingIdLikesResponse403 | DeleteThingsThingIdLikesResponse404 | None
|
Any | DeleteThingsThingIdLikesResponse200 | DeleteThingsThingIdLikesResponse401 | DeleteThingsThingIdLikesResponse403 | DeleteThingsThingIdLikesResponse404 |
Source code in thingiverse/api/thing/delete_things_thing_id_likes.py
asyncio_detailed(thing_id, *, client)
async
Delete a like
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[Any | DeleteThingsThingIdLikesResponse200 | DeleteThingsThingIdLikesResponse401 | DeleteThingsThingIdLikesResponse403 | DeleteThingsThingIdLikesResponse404]
|
Response[Any | DeleteThingsThingIdLikesResponse200 | DeleteThingsThingIdLikesResponse401 | DeleteThingsThingIdLikesResponse403 | DeleteThingsThingIdLikesResponse404] |
Source code in thingiverse/api/thing/delete_things_thing_id_likes.py
sync(thing_id, *, client)
Delete a like
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Any | DeleteThingsThingIdLikesResponse200 | DeleteThingsThingIdLikesResponse401 | DeleteThingsThingIdLikesResponse403 | DeleteThingsThingIdLikesResponse404 | None
|
Any | DeleteThingsThingIdLikesResponse200 | DeleteThingsThingIdLikesResponse401 | DeleteThingsThingIdLikesResponse403 | DeleteThingsThingIdLikesResponse404 |
Source code in thingiverse/api/thing/delete_things_thing_id_likes.py
sync_detailed(thing_id, *, client)
Delete a like
This cannot be undone.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[Any | DeleteThingsThingIdLikesResponse200 | DeleteThingsThingIdLikesResponse401 | DeleteThingsThingIdLikesResponse403 | DeleteThingsThingIdLikesResponse404]
|
Response[Any | DeleteThingsThingIdLikesResponse200 | DeleteThingsThingIdLikesResponse401 | DeleteThingsThingIdLikesResponse403 | DeleteThingsThingIdLikesResponse404] |
Source code in thingiverse/api/thing/delete_things_thing_id_likes.py
get_things_0_random
asyncio(*, client)
async
Get 5 random things with minimal 1000 likes
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThings0RandomResponse401 | GetThings0RandomResponse403 | GetThings0RandomResponse404 | list[GetThings0RandomResponse200Item] | None
|
GetThings0RandomResponse401 | GetThings0RandomResponse403 | GetThings0RandomResponse404 | list[GetThings0RandomResponse200Item] |
Source code in thingiverse/api/thing/get_things_0_random.py
asyncio_detailed(*, client)
async
Get 5 random things with minimal 1000 likes
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThings0RandomResponse401 | GetThings0RandomResponse403 | GetThings0RandomResponse404 | list[GetThings0RandomResponse200Item]]
|
Response[GetThings0RandomResponse401 | GetThings0RandomResponse403 | GetThings0RandomResponse404 | list[GetThings0RandomResponse200Item]] |
Source code in thingiverse/api/thing/get_things_0_random.py
sync(*, client)
Get 5 random things with minimal 1000 likes
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThings0RandomResponse401 | GetThings0RandomResponse403 | GetThings0RandomResponse404 | list[GetThings0RandomResponse200Item] | None
|
GetThings0RandomResponse401 | GetThings0RandomResponse403 | GetThings0RandomResponse404 | list[GetThings0RandomResponse200Item] |
Source code in thingiverse/api/thing/get_things_0_random.py
sync_detailed(*, client)
Get 5 random things with minimal 1000 likes
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThings0RandomResponse401 | GetThings0RandomResponse403 | GetThings0RandomResponse404 | list[GetThings0RandomResponse200Item]]
|
Response[GetThings0RandomResponse401 | GetThings0RandomResponse403 | GetThings0RandomResponse404 | list[GetThings0RandomResponse200Item]] |
Source code in thingiverse/api/thing/get_things_0_random.py
get_things_thing_id
asyncio(thing_id, *, client)
async
Get thing by id
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdResponse401 | GetThingsThingIdResponse403 | GetThingsThingIdResponse404 | ThingSchema | None
|
GetThingsThingIdResponse401 | GetThingsThingIdResponse403 | GetThingsThingIdResponse404 | ThingSchema |
Source code in thingiverse/api/thing/get_things_thing_id.py
asyncio_detailed(thing_id, *, client)
async
Get thing by id
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdResponse401 | GetThingsThingIdResponse403 | GetThingsThingIdResponse404 | ThingSchema]
|
Response[GetThingsThingIdResponse401 | GetThingsThingIdResponse403 | GetThingsThingIdResponse404 | ThingSchema] |
Source code in thingiverse/api/thing/get_things_thing_id.py
sync(thing_id, *, client)
Get thing by id
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdResponse401 | GetThingsThingIdResponse403 | GetThingsThingIdResponse404 | ThingSchema | None
|
GetThingsThingIdResponse401 | GetThingsThingIdResponse403 | GetThingsThingIdResponse404 | ThingSchema |
Source code in thingiverse/api/thing/get_things_thing_id.py
sync_detailed(thing_id, *, client)
Get thing by id
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdResponse401 | GetThingsThingIdResponse403 | GetThingsThingIdResponse404 | ThingSchema]
|
Response[GetThingsThingIdResponse401 | GetThingsThingIdResponse403 | GetThingsThingIdResponse404 | ThingSchema] |
Source code in thingiverse/api/thing/get_things_thing_id.py
get_things_thing_id_ancestors
asyncio(thing_id, *, client)
async
Get a list of thing ancestors
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdAncestorsResponse401 | GetThingsThingIdAncestorsResponse403 | GetThingsThingIdAncestorsResponse404 | list[ThingSchema] | None
|
GetThingsThingIdAncestorsResponse401 | GetThingsThingIdAncestorsResponse403 | GetThingsThingIdAncestorsResponse404 | list[ThingSchema] |
Source code in thingiverse/api/thing/get_things_thing_id_ancestors.py
asyncio_detailed(thing_id, *, client)
async
Get a list of thing ancestors
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdAncestorsResponse401 | GetThingsThingIdAncestorsResponse403 | GetThingsThingIdAncestorsResponse404 | list[ThingSchema]]
|
Response[GetThingsThingIdAncestorsResponse401 | GetThingsThingIdAncestorsResponse403 | GetThingsThingIdAncestorsResponse404 | list[ThingSchema]] |
Source code in thingiverse/api/thing/get_things_thing_id_ancestors.py
sync(thing_id, *, client)
Get a list of thing ancestors
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdAncestorsResponse401 | GetThingsThingIdAncestorsResponse403 | GetThingsThingIdAncestorsResponse404 | list[ThingSchema] | None
|
GetThingsThingIdAncestorsResponse401 | GetThingsThingIdAncestorsResponse403 | GetThingsThingIdAncestorsResponse404 | list[ThingSchema] |
Source code in thingiverse/api/thing/get_things_thing_id_ancestors.py
sync_detailed(thing_id, *, client)
Get a list of thing ancestors
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdAncestorsResponse401 | GetThingsThingIdAncestorsResponse403 | GetThingsThingIdAncestorsResponse404 | list[ThingSchema]]
|
Response[GetThingsThingIdAncestorsResponse401 | GetThingsThingIdAncestorsResponse403 | GetThingsThingIdAncestorsResponse404 | list[ThingSchema]] |
Source code in thingiverse/api/thing/get_things_thing_id_ancestors.py
get_things_thing_id_categories
asyncio(thing_id, *, client)
async
Get thing category
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdCategoriesResponse401 | GetThingsThingIdCategoriesResponse403 | GetThingsThingIdCategoriesResponse404 | list[GetThingsThingIdCategoriesResponse200Item] | None
|
GetThingsThingIdCategoriesResponse401 | GetThingsThingIdCategoriesResponse403 | GetThingsThingIdCategoriesResponse404 | list[GetThingsThingIdCategoriesResponse200Item] |
Source code in thingiverse/api/thing/get_things_thing_id_categories.py
asyncio_detailed(thing_id, *, client)
async
Get thing category
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdCategoriesResponse401 | GetThingsThingIdCategoriesResponse403 | GetThingsThingIdCategoriesResponse404 | list[GetThingsThingIdCategoriesResponse200Item]]
|
Response[GetThingsThingIdCategoriesResponse401 | GetThingsThingIdCategoriesResponse403 | GetThingsThingIdCategoriesResponse404 | list[GetThingsThingIdCategoriesResponse200Item]] |
Source code in thingiverse/api/thing/get_things_thing_id_categories.py
sync(thing_id, *, client)
Get thing category
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdCategoriesResponse401 | GetThingsThingIdCategoriesResponse403 | GetThingsThingIdCategoriesResponse404 | list[GetThingsThingIdCategoriesResponse200Item] | None
|
GetThingsThingIdCategoriesResponse401 | GetThingsThingIdCategoriesResponse403 | GetThingsThingIdCategoriesResponse404 | list[GetThingsThingIdCategoriesResponse200Item] |
Source code in thingiverse/api/thing/get_things_thing_id_categories.py
sync_detailed(thing_id, *, client)
Get thing category
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdCategoriesResponse401 | GetThingsThingIdCategoriesResponse403 | GetThingsThingIdCategoriesResponse404 | list[GetThingsThingIdCategoriesResponse200Item]]
|
Response[GetThingsThingIdCategoriesResponse401 | GetThingsThingIdCategoriesResponse403 | GetThingsThingIdCategoriesResponse404 | list[GetThingsThingIdCategoriesResponse200Item]] |
Source code in thingiverse/api/thing/get_things_thing_id_categories.py
get_things_thing_id_comments
asyncio(thing_id, *, client)
async
Get an unthreaded paginated list of comment objects
See also GET /things/id/threaded_comments
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdCommentsResponse401 | GetThingsThingIdCommentsResponse403 | GetThingsThingIdCommentsResponse404 | list[GetThingsThingIdCommentsResponse200Item] | None
|
GetThingsThingIdCommentsResponse401 | GetThingsThingIdCommentsResponse403 | GetThingsThingIdCommentsResponse404 | list[GetThingsThingIdCommentsResponse200Item] |
Source code in thingiverse/api/thing/get_things_thing_id_comments.py
asyncio_detailed(thing_id, *, client)
async
Get an unthreaded paginated list of comment objects
See also GET /things/id/threaded_comments
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdCommentsResponse401 | GetThingsThingIdCommentsResponse403 | GetThingsThingIdCommentsResponse404 | list[GetThingsThingIdCommentsResponse200Item]]
|
Response[GetThingsThingIdCommentsResponse401 | GetThingsThingIdCommentsResponse403 | GetThingsThingIdCommentsResponse404 | list[GetThingsThingIdCommentsResponse200Item]] |
Source code in thingiverse/api/thing/get_things_thing_id_comments.py
sync(thing_id, *, client)
Get an unthreaded paginated list of comment objects
See also GET /things/id/threaded_comments
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdCommentsResponse401 | GetThingsThingIdCommentsResponse403 | GetThingsThingIdCommentsResponse404 | list[GetThingsThingIdCommentsResponse200Item] | None
|
GetThingsThingIdCommentsResponse401 | GetThingsThingIdCommentsResponse403 | GetThingsThingIdCommentsResponse404 | list[GetThingsThingIdCommentsResponse200Item] |
Source code in thingiverse/api/thing/get_things_thing_id_comments.py
sync_detailed(thing_id, *, client)
Get an unthreaded paginated list of comment objects
See also GET /things/id/threaded_comments
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdCommentsResponse401 | GetThingsThingIdCommentsResponse403 | GetThingsThingIdCommentsResponse404 | list[GetThingsThingIdCommentsResponse200Item]]
|
Response[GetThingsThingIdCommentsResponse401 | GetThingsThingIdCommentsResponse403 | GetThingsThingIdCommentsResponse404 | list[GetThingsThingIdCommentsResponse200Item]] |
Source code in thingiverse/api/thing/get_things_thing_id_comments.py
get_things_thing_id_copies
asyncio(thing_id, *, client, page=UNSET, per_page=UNSET)
async
Get copies/makes of a thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
page
|
int | Unset
|
Example: 1. |
UNSET
|
per_page
|
int | Unset
|
Example: 30. |
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdCopiesResponse401 | GetThingsThingIdCopiesResponse403 | GetThingsThingIdCopiesResponse404 | list[GetThingsThingIdCopiesResponse200Item] | None
|
GetThingsThingIdCopiesResponse401 | GetThingsThingIdCopiesResponse403 | GetThingsThingIdCopiesResponse404 | list[GetThingsThingIdCopiesResponse200Item] |
Source code in thingiverse/api/thing/get_things_thing_id_copies.py
asyncio_detailed(thing_id, *, client, page=UNSET, per_page=UNSET)
async
Get copies/makes of a thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
page
|
int | Unset
|
Example: 1. |
UNSET
|
per_page
|
int | Unset
|
Example: 30. |
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdCopiesResponse401 | GetThingsThingIdCopiesResponse403 | GetThingsThingIdCopiesResponse404 | list[GetThingsThingIdCopiesResponse200Item]]
|
Response[GetThingsThingIdCopiesResponse401 | GetThingsThingIdCopiesResponse403 | GetThingsThingIdCopiesResponse404 | list[GetThingsThingIdCopiesResponse200Item]] |
Source code in thingiverse/api/thing/get_things_thing_id_copies.py
sync(thing_id, *, client, page=UNSET, per_page=UNSET)
Get copies/makes of a thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
page
|
int | Unset
|
Example: 1. |
UNSET
|
per_page
|
int | Unset
|
Example: 30. |
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdCopiesResponse401 | GetThingsThingIdCopiesResponse403 | GetThingsThingIdCopiesResponse404 | list[GetThingsThingIdCopiesResponse200Item] | None
|
GetThingsThingIdCopiesResponse401 | GetThingsThingIdCopiesResponse403 | GetThingsThingIdCopiesResponse404 | list[GetThingsThingIdCopiesResponse200Item] |
Source code in thingiverse/api/thing/get_things_thing_id_copies.py
sync_detailed(thing_id, *, client, page=UNSET, per_page=UNSET)
Get copies/makes of a thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
page
|
int | Unset
|
Example: 1. |
UNSET
|
per_page
|
int | Unset
|
Example: 30. |
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdCopiesResponse401 | GetThingsThingIdCopiesResponse403 | GetThingsThingIdCopiesResponse404 | list[GetThingsThingIdCopiesResponse200Item]]
|
Response[GetThingsThingIdCopiesResponse401 | GetThingsThingIdCopiesResponse403 | GetThingsThingIdCopiesResponse404 | list[GetThingsThingIdCopiesResponse200Item]] |
Source code in thingiverse/api/thing/get_things_thing_id_copies.py
get_things_thing_id_derivatives
asyncio(thing_id, *, client, page=UNSET, per_page=UNSET)
async
Get a list of thing derivatives
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
page
|
int | Unset
|
Example: 1. |
UNSET
|
per_page
|
int | Unset
|
Example: 30. |
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdDerivativesResponse401 | GetThingsThingIdDerivativesResponse403 | GetThingsThingIdDerivativesResponse404 | list[ThingSchema] | None
|
GetThingsThingIdDerivativesResponse401 | GetThingsThingIdDerivativesResponse403 | GetThingsThingIdDerivativesResponse404 | list[ThingSchema] |
Source code in thingiverse/api/thing/get_things_thing_id_derivatives.py
asyncio_detailed(thing_id, *, client, page=UNSET, per_page=UNSET)
async
Get a list of thing derivatives
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
page
|
int | Unset
|
Example: 1. |
UNSET
|
per_page
|
int | Unset
|
Example: 30. |
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdDerivativesResponse401 | GetThingsThingIdDerivativesResponse403 | GetThingsThingIdDerivativesResponse404 | list[ThingSchema]]
|
Response[GetThingsThingIdDerivativesResponse401 | GetThingsThingIdDerivativesResponse403 | GetThingsThingIdDerivativesResponse404 | list[ThingSchema]] |
Source code in thingiverse/api/thing/get_things_thing_id_derivatives.py
sync(thing_id, *, client, page=UNSET, per_page=UNSET)
Get a list of thing derivatives
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
page
|
int | Unset
|
Example: 1. |
UNSET
|
per_page
|
int | Unset
|
Example: 30. |
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdDerivativesResponse401 | GetThingsThingIdDerivativesResponse403 | GetThingsThingIdDerivativesResponse404 | list[ThingSchema] | None
|
GetThingsThingIdDerivativesResponse401 | GetThingsThingIdDerivativesResponse403 | GetThingsThingIdDerivativesResponse404 | list[ThingSchema] |
Source code in thingiverse/api/thing/get_things_thing_id_derivatives.py
sync_detailed(thing_id, *, client, page=UNSET, per_page=UNSET)
Get a list of thing derivatives
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
page
|
int | Unset
|
Example: 1. |
UNSET
|
per_page
|
int | Unset
|
Example: 30. |
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdDerivativesResponse401 | GetThingsThingIdDerivativesResponse403 | GetThingsThingIdDerivativesResponse404 | list[ThingSchema]]
|
Response[GetThingsThingIdDerivativesResponse401 | GetThingsThingIdDerivativesResponse403 | GetThingsThingIdDerivativesResponse404 | list[ThingSchema]] |
Source code in thingiverse/api/thing/get_things_thing_id_derivatives.py
get_things_thing_id_files
asyncio(thing_id, *, client, file_id=UNSET)
async
Get files by thing
Get a list of files associated with a thing or
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
file_id
|
int | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdFilesResponse401 | GetThingsThingIdFilesResponse403 | GetThingsThingIdFilesResponse404 | list[FileSchema] | None
|
GetThingsThingIdFilesResponse401 | GetThingsThingIdFilesResponse403 | GetThingsThingIdFilesResponse404 | list[FileSchema] |
Source code in thingiverse/api/thing/get_things_thing_id_files.py
asyncio_detailed(thing_id, *, client, file_id=UNSET)
async
Get files by thing
Get a list of files associated with a thing or
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
file_id
|
int | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdFilesResponse401 | GetThingsThingIdFilesResponse403 | GetThingsThingIdFilesResponse404 | list[FileSchema]]
|
Response[GetThingsThingIdFilesResponse401 | GetThingsThingIdFilesResponse403 | GetThingsThingIdFilesResponse404 | list[FileSchema]] |
Source code in thingiverse/api/thing/get_things_thing_id_files.py
sync(thing_id, *, client, file_id=UNSET)
Get files by thing
Get a list of files associated with a thing or
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
file_id
|
int | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdFilesResponse401 | GetThingsThingIdFilesResponse403 | GetThingsThingIdFilesResponse404 | list[FileSchema] | None
|
GetThingsThingIdFilesResponse401 | GetThingsThingIdFilesResponse403 | GetThingsThingIdFilesResponse404 | list[FileSchema] |
Source code in thingiverse/api/thing/get_things_thing_id_files.py
sync_detailed(thing_id, *, client, file_id=UNSET)
Get files by thing
Get a list of files associated with a thing or
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
file_id
|
int | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdFilesResponse401 | GetThingsThingIdFilesResponse403 | GetThingsThingIdFilesResponse404 | list[FileSchema]]
|
Response[GetThingsThingIdFilesResponse401 | GetThingsThingIdFilesResponse403 | GetThingsThingIdFilesResponse404 | list[FileSchema]] |
Source code in thingiverse/api/thing/get_things_thing_id_files.py
get_things_thing_id_files_file_id
asyncio(thing_id, file_id, *, client)
async
Get file by thing
Gets more detailed info about a specific file belonging to this thing.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
file_id
|
int
|
|
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
FileSchema | GetThingsThingIdFilesFileIdResponse401 | GetThingsThingIdFilesFileIdResponse403 | GetThingsThingIdFilesFileIdResponse404 | None
|
FileSchema | GetThingsThingIdFilesFileIdResponse401 | GetThingsThingIdFilesFileIdResponse403 | GetThingsThingIdFilesFileIdResponse404 |
Source code in thingiverse/api/thing/get_things_thing_id_files_file_id.py
asyncio_detailed(thing_id, file_id, *, client)
async
Get file by thing
Gets more detailed info about a specific file belonging to this thing.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
file_id
|
int
|
|
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[FileSchema | GetThingsThingIdFilesFileIdResponse401 | GetThingsThingIdFilesFileIdResponse403 | GetThingsThingIdFilesFileIdResponse404]
|
Response[FileSchema | GetThingsThingIdFilesFileIdResponse401 | GetThingsThingIdFilesFileIdResponse403 | GetThingsThingIdFilesFileIdResponse404] |
Source code in thingiverse/api/thing/get_things_thing_id_files_file_id.py
sync(thing_id, file_id, *, client)
Get file by thing
Gets more detailed info about a specific file belonging to this thing.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
file_id
|
int
|
|
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
FileSchema | GetThingsThingIdFilesFileIdResponse401 | GetThingsThingIdFilesFileIdResponse403 | GetThingsThingIdFilesFileIdResponse404 | None
|
FileSchema | GetThingsThingIdFilesFileIdResponse401 | GetThingsThingIdFilesFileIdResponse403 | GetThingsThingIdFilesFileIdResponse404 |
Source code in thingiverse/api/thing/get_things_thing_id_files_file_id.py
sync_detailed(thing_id, file_id, *, client)
Get file by thing
Gets more detailed info about a specific file belonging to this thing.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
file_id
|
int
|
|
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[FileSchema | GetThingsThingIdFilesFileIdResponse401 | GetThingsThingIdFilesFileIdResponse403 | GetThingsThingIdFilesFileIdResponse404]
|
Response[FileSchema | GetThingsThingIdFilesFileIdResponse401 | GetThingsThingIdFilesFileIdResponse403 | GetThingsThingIdFilesFileIdResponse404] |
Source code in thingiverse/api/thing/get_things_thing_id_files_file_id.py
get_things_thing_id_images
asyncio(thing_id, *, client, size=UNSET, type_=UNSET)
async
Get image(s) by thing
Gets summary information for all images associated with a thing.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
size
|
str | Unset
|
|
UNSET
|
type_
|
str | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Any | GetThingsThingIdImagesResponse401 | GetThingsThingIdImagesResponse403 | GetThingsThingIdImagesResponse404 | None
|
Any | GetThingsThingIdImagesResponse401 | GetThingsThingIdImagesResponse403 | GetThingsThingIdImagesResponse404 |
Source code in thingiverse/api/thing/get_things_thing_id_images.py
asyncio_detailed(thing_id, *, client, size=UNSET, type_=UNSET)
async
Get image(s) by thing
Gets summary information for all images associated with a thing.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
size
|
str | Unset
|
|
UNSET
|
type_
|
str | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[Any | GetThingsThingIdImagesResponse401 | GetThingsThingIdImagesResponse403 | GetThingsThingIdImagesResponse404]
|
Response[Any | GetThingsThingIdImagesResponse401 | GetThingsThingIdImagesResponse403 | GetThingsThingIdImagesResponse404] |
Source code in thingiverse/api/thing/get_things_thing_id_images.py
sync(thing_id, *, client, size=UNSET, type_=UNSET)
Get image(s) by thing
Gets summary information for all images associated with a thing.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
size
|
str | Unset
|
|
UNSET
|
type_
|
str | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Any | GetThingsThingIdImagesResponse401 | GetThingsThingIdImagesResponse403 | GetThingsThingIdImagesResponse404 | None
|
Any | GetThingsThingIdImagesResponse401 | GetThingsThingIdImagesResponse403 | GetThingsThingIdImagesResponse404 |
Source code in thingiverse/api/thing/get_things_thing_id_images.py
sync_detailed(thing_id, *, client, size=UNSET, type_=UNSET)
Get image(s) by thing
Gets summary information for all images associated with a thing.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
size
|
str | Unset
|
|
UNSET
|
type_
|
str | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[Any | GetThingsThingIdImagesResponse401 | GetThingsThingIdImagesResponse403 | GetThingsThingIdImagesResponse404]
|
Response[Any | GetThingsThingIdImagesResponse401 | GetThingsThingIdImagesResponse403 | GetThingsThingIdImagesResponse404] |
Source code in thingiverse/api/thing/get_things_thing_id_images.py
get_things_thing_id_images_image_id
asyncio(thing_id, image_id, *, client, size=UNSET, type_=UNSET)
async
Get image(s) by thing
Gets more detailed information about a specific image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
image_id
|
int
|
|
required |
size
|
str | Unset
|
|
UNSET
|
type_
|
str | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdImagesImageIdResponse200 | GetThingsThingIdImagesImageIdResponse401 | GetThingsThingIdImagesImageIdResponse403 | GetThingsThingIdImagesImageIdResponse404 | None
|
GetThingsThingIdImagesImageIdResponse200 | GetThingsThingIdImagesImageIdResponse401 | GetThingsThingIdImagesImageIdResponse403 | GetThingsThingIdImagesImageIdResponse404 |
Source code in thingiverse/api/thing/get_things_thing_id_images_image_id.py
asyncio_detailed(thing_id, image_id, *, client, size=UNSET, type_=UNSET)
async
Get image(s) by thing
Gets more detailed information about a specific image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
image_id
|
int
|
|
required |
size
|
str | Unset
|
|
UNSET
|
type_
|
str | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdImagesImageIdResponse200 | GetThingsThingIdImagesImageIdResponse401 | GetThingsThingIdImagesImageIdResponse403 | GetThingsThingIdImagesImageIdResponse404]
|
Response[GetThingsThingIdImagesImageIdResponse200 | GetThingsThingIdImagesImageIdResponse401 | GetThingsThingIdImagesImageIdResponse403 | GetThingsThingIdImagesImageIdResponse404] |
Source code in thingiverse/api/thing/get_things_thing_id_images_image_id.py
sync(thing_id, image_id, *, client, size=UNSET, type_=UNSET)
Get image(s) by thing
Gets more detailed information about a specific image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
image_id
|
int
|
|
required |
size
|
str | Unset
|
|
UNSET
|
type_
|
str | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdImagesImageIdResponse200 | GetThingsThingIdImagesImageIdResponse401 | GetThingsThingIdImagesImageIdResponse403 | GetThingsThingIdImagesImageIdResponse404 | None
|
GetThingsThingIdImagesImageIdResponse200 | GetThingsThingIdImagesImageIdResponse401 | GetThingsThingIdImagesImageIdResponse403 | GetThingsThingIdImagesImageIdResponse404 |
Source code in thingiverse/api/thing/get_things_thing_id_images_image_id.py
sync_detailed(thing_id, image_id, *, client, size=UNSET, type_=UNSET)
Get image(s) by thing
Gets more detailed information about a specific image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
image_id
|
int
|
|
required |
size
|
str | Unset
|
|
UNSET
|
type_
|
str | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdImagesImageIdResponse200 | GetThingsThingIdImagesImageIdResponse401 | GetThingsThingIdImagesImageIdResponse403 | GetThingsThingIdImagesImageIdResponse404]
|
Response[GetThingsThingIdImagesImageIdResponse200 | GetThingsThingIdImagesImageIdResponse401 | GetThingsThingIdImagesImageIdResponse403 | GetThingsThingIdImagesImageIdResponse404] |
Source code in thingiverse/api/thing/get_things_thing_id_images_image_id.py
get_things_thing_id_likes
asyncio(thing_id, *, client)
async
Get users who liked this thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdLikesResponse401 | GetThingsThingIdLikesResponse403 | GetThingsThingIdLikesResponse404 | list[GetThingsThingIdLikesResponse200Item] | None
|
GetThingsThingIdLikesResponse401 | GetThingsThingIdLikesResponse403 | GetThingsThingIdLikesResponse404 | list[GetThingsThingIdLikesResponse200Item] |
Source code in thingiverse/api/thing/get_things_thing_id_likes.py
asyncio_detailed(thing_id, *, client)
async
Get users who liked this thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdLikesResponse401 | GetThingsThingIdLikesResponse403 | GetThingsThingIdLikesResponse404 | list[GetThingsThingIdLikesResponse200Item]]
|
Response[GetThingsThingIdLikesResponse401 | GetThingsThingIdLikesResponse403 | GetThingsThingIdLikesResponse404 | list[GetThingsThingIdLikesResponse200Item]] |
Source code in thingiverse/api/thing/get_things_thing_id_likes.py
sync(thing_id, *, client)
Get users who liked this thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdLikesResponse401 | GetThingsThingIdLikesResponse403 | GetThingsThingIdLikesResponse404 | list[GetThingsThingIdLikesResponse200Item] | None
|
GetThingsThingIdLikesResponse401 | GetThingsThingIdLikesResponse403 | GetThingsThingIdLikesResponse404 | list[GetThingsThingIdLikesResponse200Item] |
Source code in thingiverse/api/thing/get_things_thing_id_likes.py
sync_detailed(thing_id, *, client)
Get users who liked this thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdLikesResponse401 | GetThingsThingIdLikesResponse403 | GetThingsThingIdLikesResponse404 | list[GetThingsThingIdLikesResponse200Item]]
|
Response[GetThingsThingIdLikesResponse401 | GetThingsThingIdLikesResponse403 | GetThingsThingIdLikesResponse404 | list[GetThingsThingIdLikesResponse200Item]] |
Source code in thingiverse/api/thing/get_things_thing_id_likes.py
get_things_thing_id_prints
asyncio(thing_id, *, client)
async
Get a list of prints associated with a thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdPrintsResponse401 | GetThingsThingIdPrintsResponse403 | GetThingsThingIdPrintsResponse404 | list[GetThingsThingIdPrintsResponse200Item] | None
|
GetThingsThingIdPrintsResponse401 | GetThingsThingIdPrintsResponse403 | GetThingsThingIdPrintsResponse404 | list[GetThingsThingIdPrintsResponse200Item] |
Source code in thingiverse/api/thing/get_things_thing_id_prints.py
asyncio_detailed(thing_id, *, client)
async
Get a list of prints associated with a thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdPrintsResponse401 | GetThingsThingIdPrintsResponse403 | GetThingsThingIdPrintsResponse404 | list[GetThingsThingIdPrintsResponse200Item]]
|
Response[GetThingsThingIdPrintsResponse401 | GetThingsThingIdPrintsResponse403 | GetThingsThingIdPrintsResponse404 | list[GetThingsThingIdPrintsResponse200Item]] |
Source code in thingiverse/api/thing/get_things_thing_id_prints.py
sync(thing_id, *, client)
Get a list of prints associated with a thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdPrintsResponse401 | GetThingsThingIdPrintsResponse403 | GetThingsThingIdPrintsResponse404 | list[GetThingsThingIdPrintsResponse200Item] | None
|
GetThingsThingIdPrintsResponse401 | GetThingsThingIdPrintsResponse403 | GetThingsThingIdPrintsResponse404 | list[GetThingsThingIdPrintsResponse200Item] |
Source code in thingiverse/api/thing/get_things_thing_id_prints.py
sync_detailed(thing_id, *, client)
Get a list of prints associated with a thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdPrintsResponse401 | GetThingsThingIdPrintsResponse403 | GetThingsThingIdPrintsResponse404 | list[GetThingsThingIdPrintsResponse200Item]]
|
Response[GetThingsThingIdPrintsResponse401 | GetThingsThingIdPrintsResponse403 | GetThingsThingIdPrintsResponse404 | list[GetThingsThingIdPrintsResponse200Item]] |
Source code in thingiverse/api/thing/get_things_thing_id_prints.py
get_things_thing_id_root_comments
asyncio(thing_id, *, client)
async
Get an unthreaded paginated list of root comment objects
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdRootCommentsResponse401 | GetThingsThingIdRootCommentsResponse403 | GetThingsThingIdRootCommentsResponse404 | list[GetThingsThingIdRootCommentsResponse200Item] | None
|
GetThingsThingIdRootCommentsResponse401 | GetThingsThingIdRootCommentsResponse403 | GetThingsThingIdRootCommentsResponse404 | list[GetThingsThingIdRootCommentsResponse200Item] |
Source code in thingiverse/api/thing/get_things_thing_id_root_comments.py
asyncio_detailed(thing_id, *, client)
async
Get an unthreaded paginated list of root comment objects
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdRootCommentsResponse401 | GetThingsThingIdRootCommentsResponse403 | GetThingsThingIdRootCommentsResponse404 | list[GetThingsThingIdRootCommentsResponse200Item]]
|
Response[GetThingsThingIdRootCommentsResponse401 | GetThingsThingIdRootCommentsResponse403 | GetThingsThingIdRootCommentsResponse404 | list[GetThingsThingIdRootCommentsResponse200Item]] |
Source code in thingiverse/api/thing/get_things_thing_id_root_comments.py
sync(thing_id, *, client)
Get an unthreaded paginated list of root comment objects
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdRootCommentsResponse401 | GetThingsThingIdRootCommentsResponse403 | GetThingsThingIdRootCommentsResponse404 | list[GetThingsThingIdRootCommentsResponse200Item] | None
|
GetThingsThingIdRootCommentsResponse401 | GetThingsThingIdRootCommentsResponse403 | GetThingsThingIdRootCommentsResponse404 | list[GetThingsThingIdRootCommentsResponse200Item] |
Source code in thingiverse/api/thing/get_things_thing_id_root_comments.py
sync_detailed(thing_id, *, client)
Get an unthreaded paginated list of root comment objects
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdRootCommentsResponse401 | GetThingsThingIdRootCommentsResponse403 | GetThingsThingIdRootCommentsResponse404 | list[GetThingsThingIdRootCommentsResponse200Item]]
|
Response[GetThingsThingIdRootCommentsResponse401 | GetThingsThingIdRootCommentsResponse403 | GetThingsThingIdRootCommentsResponse404 | list[GetThingsThingIdRootCommentsResponse200Item]] |
Source code in thingiverse/api/thing/get_things_thing_id_root_comments.py
get_things_thing_id_tags
asyncio(thing_id, *, client)
async
Get tags on this thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdTagsResponse401 | GetThingsThingIdTagsResponse403 | GetThingsThingIdTagsResponse404 | list[GetThingsThingIdTagsResponse200Item] | None
|
GetThingsThingIdTagsResponse401 | GetThingsThingIdTagsResponse403 | GetThingsThingIdTagsResponse404 | list[GetThingsThingIdTagsResponse200Item] |
Source code in thingiverse/api/thing/get_things_thing_id_tags.py
asyncio_detailed(thing_id, *, client)
async
Get tags on this thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdTagsResponse401 | GetThingsThingIdTagsResponse403 | GetThingsThingIdTagsResponse404 | list[GetThingsThingIdTagsResponse200Item]]
|
Response[GetThingsThingIdTagsResponse401 | GetThingsThingIdTagsResponse403 | GetThingsThingIdTagsResponse404 | list[GetThingsThingIdTagsResponse200Item]] |
Source code in thingiverse/api/thing/get_things_thing_id_tags.py
sync(thing_id, *, client)
Get tags on this thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdTagsResponse401 | GetThingsThingIdTagsResponse403 | GetThingsThingIdTagsResponse404 | list[GetThingsThingIdTagsResponse200Item] | None
|
GetThingsThingIdTagsResponse401 | GetThingsThingIdTagsResponse403 | GetThingsThingIdTagsResponse404 | list[GetThingsThingIdTagsResponse200Item] |
Source code in thingiverse/api/thing/get_things_thing_id_tags.py
sync_detailed(thing_id, *, client)
Get tags on this thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdTagsResponse401 | GetThingsThingIdTagsResponse403 | GetThingsThingIdTagsResponse404 | list[GetThingsThingIdTagsResponse200Item]]
|
Response[GetThingsThingIdTagsResponse401 | GetThingsThingIdTagsResponse403 | GetThingsThingIdTagsResponse404 | list[GetThingsThingIdTagsResponse200Item]] |
Source code in thingiverse/api/thing/get_things_thing_id_tags.py
get_things_thing_id_threaded_comments
asyncio(thing_id, *, client)
async
Get all comments for this thing in a quick pre-threaded view
This is an alternative to GET /things/id/comments
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdThreadedCommentsResponse200 | GetThingsThingIdThreadedCommentsResponse401 | GetThingsThingIdThreadedCommentsResponse403 | GetThingsThingIdThreadedCommentsResponse404 | None
|
GetThingsThingIdThreadedCommentsResponse200 | GetThingsThingIdThreadedCommentsResponse401 | GetThingsThingIdThreadedCommentsResponse403 | GetThingsThingIdThreadedCommentsResponse404 |
Source code in thingiverse/api/thing/get_things_thing_id_threaded_comments.py
asyncio_detailed(thing_id, *, client)
async
Get all comments for this thing in a quick pre-threaded view
This is an alternative to GET /things/id/comments
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdThreadedCommentsResponse200 | GetThingsThingIdThreadedCommentsResponse401 | GetThingsThingIdThreadedCommentsResponse403 | GetThingsThingIdThreadedCommentsResponse404]
|
Response[GetThingsThingIdThreadedCommentsResponse200 | GetThingsThingIdThreadedCommentsResponse401 | GetThingsThingIdThreadedCommentsResponse403 | GetThingsThingIdThreadedCommentsResponse404] |
Source code in thingiverse/api/thing/get_things_thing_id_threaded_comments.py
sync(thing_id, *, client)
Get all comments for this thing in a quick pre-threaded view
This is an alternative to GET /things/id/comments
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
GetThingsThingIdThreadedCommentsResponse200 | GetThingsThingIdThreadedCommentsResponse401 | GetThingsThingIdThreadedCommentsResponse403 | GetThingsThingIdThreadedCommentsResponse404 | None
|
GetThingsThingIdThreadedCommentsResponse200 | GetThingsThingIdThreadedCommentsResponse401 | GetThingsThingIdThreadedCommentsResponse403 | GetThingsThingIdThreadedCommentsResponse404 |
Source code in thingiverse/api/thing/get_things_thing_id_threaded_comments.py
sync_detailed(thing_id, *, client)
Get all comments for this thing in a quick pre-threaded view
This is an alternative to GET /things/id/comments
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[GetThingsThingIdThreadedCommentsResponse200 | GetThingsThingIdThreadedCommentsResponse401 | GetThingsThingIdThreadedCommentsResponse403 | GetThingsThingIdThreadedCommentsResponse404]
|
Response[GetThingsThingIdThreadedCommentsResponse200 | GetThingsThingIdThreadedCommentsResponse401 | GetThingsThingIdThreadedCommentsResponse403 | GetThingsThingIdThreadedCommentsResponse404] |
Source code in thingiverse/api/thing/get_things_thing_id_threaded_comments.py
patch_things_thing_id
asyncio(thing_id, *, client, body=UNSET)
async
Update an existing thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
body
|
PatchThingsThingIdBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
PatchThingsThingIdResponse200 | PatchThingsThingIdResponse400 | PatchThingsThingIdResponse401 | PatchThingsThingIdResponse403 | PatchThingsThingIdResponse404 | None
|
PatchThingsThingIdResponse200 | PatchThingsThingIdResponse400 | PatchThingsThingIdResponse401 | PatchThingsThingIdResponse403 | PatchThingsThingIdResponse404 |
Source code in thingiverse/api/thing/patch_things_thing_id.py
asyncio_detailed(thing_id, *, client, body=UNSET)
async
Update an existing thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
body
|
PatchThingsThingIdBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[PatchThingsThingIdResponse200 | PatchThingsThingIdResponse400 | PatchThingsThingIdResponse401 | PatchThingsThingIdResponse403 | PatchThingsThingIdResponse404]
|
Response[PatchThingsThingIdResponse200 | PatchThingsThingIdResponse400 | PatchThingsThingIdResponse401 | PatchThingsThingIdResponse403 | PatchThingsThingIdResponse404] |
Source code in thingiverse/api/thing/patch_things_thing_id.py
sync(thing_id, *, client, body=UNSET)
Update an existing thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
body
|
PatchThingsThingIdBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
PatchThingsThingIdResponse200 | PatchThingsThingIdResponse400 | PatchThingsThingIdResponse401 | PatchThingsThingIdResponse403 | PatchThingsThingIdResponse404 | None
|
PatchThingsThingIdResponse200 | PatchThingsThingIdResponse400 | PatchThingsThingIdResponse401 | PatchThingsThingIdResponse403 | PatchThingsThingIdResponse404 |
Source code in thingiverse/api/thing/patch_things_thing_id.py
sync_detailed(thing_id, *, client, body=UNSET)
Update an existing thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
body
|
PatchThingsThingIdBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[PatchThingsThingIdResponse200 | PatchThingsThingIdResponse400 | PatchThingsThingIdResponse401 | PatchThingsThingIdResponse403 | PatchThingsThingIdResponse404]
|
Response[PatchThingsThingIdResponse200 | PatchThingsThingIdResponse400 | PatchThingsThingIdResponse401 | PatchThingsThingIdResponse403 | PatchThingsThingIdResponse404] |
Source code in thingiverse/api/thing/patch_things_thing_id.py
patch_things_thing_id_images_image_id
asyncio(thing_id, image_id, *, client, body=UNSET)
async
Update an existing image
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
image_id
|
int
|
Example: 1. |
required |
body
|
PatchThingsThingIdImagesImageIdBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
PatchThingsThingIdImagesImageIdResponse200 | PatchThingsThingIdImagesImageIdResponse401 | PatchThingsThingIdImagesImageIdResponse403 | PatchThingsThingIdImagesImageIdResponse404 | None
|
PatchThingsThingIdImagesImageIdResponse200 | PatchThingsThingIdImagesImageIdResponse401 | PatchThingsThingIdImagesImageIdResponse403 | PatchThingsThingIdImagesImageIdResponse404 |
Source code in thingiverse/api/thing/patch_things_thing_id_images_image_id.py
asyncio_detailed(thing_id, image_id, *, client, body=UNSET)
async
Update an existing image
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
image_id
|
int
|
Example: 1. |
required |
body
|
PatchThingsThingIdImagesImageIdBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[PatchThingsThingIdImagesImageIdResponse200 | PatchThingsThingIdImagesImageIdResponse401 | PatchThingsThingIdImagesImageIdResponse403 | PatchThingsThingIdImagesImageIdResponse404]
|
Response[PatchThingsThingIdImagesImageIdResponse200 | PatchThingsThingIdImagesImageIdResponse401 | PatchThingsThingIdImagesImageIdResponse403 | PatchThingsThingIdImagesImageIdResponse404] |
Source code in thingiverse/api/thing/patch_things_thing_id_images_image_id.py
sync(thing_id, image_id, *, client, body=UNSET)
Update an existing image
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
image_id
|
int
|
Example: 1. |
required |
body
|
PatchThingsThingIdImagesImageIdBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
PatchThingsThingIdImagesImageIdResponse200 | PatchThingsThingIdImagesImageIdResponse401 | PatchThingsThingIdImagesImageIdResponse403 | PatchThingsThingIdImagesImageIdResponse404 | None
|
PatchThingsThingIdImagesImageIdResponse200 | PatchThingsThingIdImagesImageIdResponse401 | PatchThingsThingIdImagesImageIdResponse403 | PatchThingsThingIdImagesImageIdResponse404 |
Source code in thingiverse/api/thing/patch_things_thing_id_images_image_id.py
sync_detailed(thing_id, image_id, *, client, body=UNSET)
Update an existing image
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
image_id
|
int
|
Example: 1. |
required |
body
|
PatchThingsThingIdImagesImageIdBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[PatchThingsThingIdImagesImageIdResponse200 | PatchThingsThingIdImagesImageIdResponse401 | PatchThingsThingIdImagesImageIdResponse403 | PatchThingsThingIdImagesImageIdResponse404]
|
Response[PatchThingsThingIdImagesImageIdResponse200 | PatchThingsThingIdImagesImageIdResponse401 | PatchThingsThingIdImagesImageIdResponse403 | PatchThingsThingIdImagesImageIdResponse404] |
Source code in thingiverse/api/thing/patch_things_thing_id_images_image_id.py
post_things
asyncio(*, client, body=UNSET)
async
Create a new thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostThingsBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
PostThingsResponse400 | PostThingsResponse401 | PostThingsResponse403 | PostThingsResponse404 | ThingSchema | None
|
PostThingsResponse400 | PostThingsResponse401 | PostThingsResponse403 | PostThingsResponse404 | ThingSchema |
Source code in thingiverse/api/thing/post_things.py
asyncio_detailed(*, client, body=UNSET)
async
Create a new thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostThingsBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[PostThingsResponse400 | PostThingsResponse401 | PostThingsResponse403 | PostThingsResponse404 | ThingSchema]
|
Response[PostThingsResponse400 | PostThingsResponse401 | PostThingsResponse403 | PostThingsResponse404 | ThingSchema] |
Source code in thingiverse/api/thing/post_things.py
sync(*, client, body=UNSET)
Create a new thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostThingsBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
PostThingsResponse400 | PostThingsResponse401 | PostThingsResponse403 | PostThingsResponse404 | ThingSchema | None
|
PostThingsResponse400 | PostThingsResponse401 | PostThingsResponse403 | PostThingsResponse404 | ThingSchema |
Source code in thingiverse/api/thing/post_things.py
sync_detailed(*, client, body=UNSET)
Create a new thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostThingsBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[PostThingsResponse400 | PostThingsResponse401 | PostThingsResponse403 | PostThingsResponse404 | ThingSchema]
|
Response[PostThingsResponse400 | PostThingsResponse401 | PostThingsResponse403 | PostThingsResponse404 | ThingSchema] |
Source code in thingiverse/api/thing/post_things.py
post_things_thing_id_comments
asyncio(thing_id, *, client, body=UNSET)
async
Post a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
body
|
PostThingsThingIdCommentsBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
PostThingsThingIdCommentsResponse200 | PostThingsThingIdCommentsResponse400 | PostThingsThingIdCommentsResponse401 | PostThingsThingIdCommentsResponse403 | PostThingsThingIdCommentsResponse404 | None
|
PostThingsThingIdCommentsResponse200 | PostThingsThingIdCommentsResponse400 | PostThingsThingIdCommentsResponse401 | PostThingsThingIdCommentsResponse403 | PostThingsThingIdCommentsResponse404 |
Source code in thingiverse/api/thing/post_things_thing_id_comments.py
asyncio_detailed(thing_id, *, client, body=UNSET)
async
Post a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
body
|
PostThingsThingIdCommentsBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[PostThingsThingIdCommentsResponse200 | PostThingsThingIdCommentsResponse400 | PostThingsThingIdCommentsResponse401 | PostThingsThingIdCommentsResponse403 | PostThingsThingIdCommentsResponse404]
|
Response[PostThingsThingIdCommentsResponse200 | PostThingsThingIdCommentsResponse400 | PostThingsThingIdCommentsResponse401 | PostThingsThingIdCommentsResponse403 | PostThingsThingIdCommentsResponse404] |
Source code in thingiverse/api/thing/post_things_thing_id_comments.py
sync(thing_id, *, client, body=UNSET)
Post a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
body
|
PostThingsThingIdCommentsBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
PostThingsThingIdCommentsResponse200 | PostThingsThingIdCommentsResponse400 | PostThingsThingIdCommentsResponse401 | PostThingsThingIdCommentsResponse403 | PostThingsThingIdCommentsResponse404 | None
|
PostThingsThingIdCommentsResponse200 | PostThingsThingIdCommentsResponse400 | PostThingsThingIdCommentsResponse401 | PostThingsThingIdCommentsResponse403 | PostThingsThingIdCommentsResponse404 |
Source code in thingiverse/api/thing/post_things_thing_id_comments.py
sync_detailed(thing_id, *, client, body=UNSET)
Post a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
body
|
PostThingsThingIdCommentsBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[PostThingsThingIdCommentsResponse200 | PostThingsThingIdCommentsResponse400 | PostThingsThingIdCommentsResponse401 | PostThingsThingIdCommentsResponse403 | PostThingsThingIdCommentsResponse404]
|
Response[PostThingsThingIdCommentsResponse200 | PostThingsThingIdCommentsResponse400 | PostThingsThingIdCommentsResponse401 | PostThingsThingIdCommentsResponse403 | PostThingsThingIdCommentsResponse404] |
Source code in thingiverse/api/thing/post_things_thing_id_comments.py
post_things_thing_id_copies
asyncio(thing_id, *, client, body=UNSET)
async
Upload image for new copy
The data needed to upload this copy's image file via an HTTP POST with multipart/form-data encoding.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
body
|
PostThingsThingIdCopiesBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
PostThingsThingIdCopiesResponse200 | PostThingsThingIdCopiesResponse403 | PostThingsThingIdCopiesResponse404 | None
|
PostThingsThingIdCopiesResponse200 | PostThingsThingIdCopiesResponse403 | PostThingsThingIdCopiesResponse404 |
Source code in thingiverse/api/thing/post_things_thing_id_copies.py
asyncio_detailed(thing_id, *, client, body=UNSET)
async
Upload image for new copy
The data needed to upload this copy's image file via an HTTP POST with multipart/form-data encoding.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
body
|
PostThingsThingIdCopiesBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[PostThingsThingIdCopiesResponse200 | PostThingsThingIdCopiesResponse403 | PostThingsThingIdCopiesResponse404]
|
Response[PostThingsThingIdCopiesResponse200 | PostThingsThingIdCopiesResponse403 | PostThingsThingIdCopiesResponse404] |
Source code in thingiverse/api/thing/post_things_thing_id_copies.py
sync(thing_id, *, client, body=UNSET)
Upload image for new copy
The data needed to upload this copy's image file via an HTTP POST with multipart/form-data encoding.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
body
|
PostThingsThingIdCopiesBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
PostThingsThingIdCopiesResponse200 | PostThingsThingIdCopiesResponse403 | PostThingsThingIdCopiesResponse404 | None
|
PostThingsThingIdCopiesResponse200 | PostThingsThingIdCopiesResponse403 | PostThingsThingIdCopiesResponse404 |
Source code in thingiverse/api/thing/post_things_thing_id_copies.py
sync_detailed(thing_id, *, client, body=UNSET)
Upload image for new copy
The data needed to upload this copy's image file via an HTTP POST with multipart/form-data encoding.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
body
|
PostThingsThingIdCopiesBody | Unset
|
|
UNSET
|
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[PostThingsThingIdCopiesResponse200 | PostThingsThingIdCopiesResponse403 | PostThingsThingIdCopiesResponse404]
|
Response[PostThingsThingIdCopiesResponse200 | PostThingsThingIdCopiesResponse403 | PostThingsThingIdCopiesResponse404] |
Source code in thingiverse/api/thing/post_things_thing_id_copies.py
post_things_thing_id_likes
asyncio(thing_id, *, client)
async
Like a thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Any | PostThingsThingIdLikesResponse200 | PostThingsThingIdLikesResponse401 | PostThingsThingIdLikesResponse403 | PostThingsThingIdLikesResponse404 | None
|
Any | PostThingsThingIdLikesResponse200 | PostThingsThingIdLikesResponse401 | PostThingsThingIdLikesResponse403 | PostThingsThingIdLikesResponse404 |
Source code in thingiverse/api/thing/post_things_thing_id_likes.py
asyncio_detailed(thing_id, *, client)
async
Like a thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[Any | PostThingsThingIdLikesResponse200 | PostThingsThingIdLikesResponse401 | PostThingsThingIdLikesResponse403 | PostThingsThingIdLikesResponse404]
|
Response[Any | PostThingsThingIdLikesResponse200 | PostThingsThingIdLikesResponse401 | PostThingsThingIdLikesResponse403 | PostThingsThingIdLikesResponse404] |
Source code in thingiverse/api/thing/post_things_thing_id_likes.py
sync(thing_id, *, client)
Like a thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Any | PostThingsThingIdLikesResponse200 | PostThingsThingIdLikesResponse401 | PostThingsThingIdLikesResponse403 | PostThingsThingIdLikesResponse404 | None
|
Any | PostThingsThingIdLikesResponse200 | PostThingsThingIdLikesResponse401 | PostThingsThingIdLikesResponse403 | PostThingsThingIdLikesResponse404 |
Source code in thingiverse/api/thing/post_things_thing_id_likes.py
sync_detailed(thing_id, *, client)
Like a thing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[Any | PostThingsThingIdLikesResponse200 | PostThingsThingIdLikesResponse401 | PostThingsThingIdLikesResponse403 | PostThingsThingIdLikesResponse404]
|
Response[Any | PostThingsThingIdLikesResponse200 | PostThingsThingIdLikesResponse401 | PostThingsThingIdLikesResponse403 | PostThingsThingIdLikesResponse404] |
Source code in thingiverse/api/thing/post_things_thing_id_likes.py
post_things_thing_id_publish
asyncio(thing_id, *, client)
async
Publish a thing
If the Thing cannot be published (for example, because the Thing's name or description is blank), returns an HTTP status of 400 Bad Request and a body containing a JSON object of the form: {\"errors\":[\"<%= reason %>\", ...]}
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
PostThingsThingIdPublishResponse200 | PostThingsThingIdPublishResponse403 | PostThingsThingIdPublishResponse404 | None
|
PostThingsThingIdPublishResponse200 | PostThingsThingIdPublishResponse403 | PostThingsThingIdPublishResponse404 |
Source code in thingiverse/api/thing/post_things_thing_id_publish.py
asyncio_detailed(thing_id, *, client)
async
Publish a thing
If the Thing cannot be published (for example, because the Thing's name or description is blank), returns an HTTP status of 400 Bad Request and a body containing a JSON object of the form: {\"errors\":[\"<%= reason %>\", ...]}
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[PostThingsThingIdPublishResponse200 | PostThingsThingIdPublishResponse403 | PostThingsThingIdPublishResponse404]
|
Response[PostThingsThingIdPublishResponse200 | PostThingsThingIdPublishResponse403 | PostThingsThingIdPublishResponse404] |
Source code in thingiverse/api/thing/post_things_thing_id_publish.py
sync(thing_id, *, client)
Publish a thing
If the Thing cannot be published (for example, because the Thing's name or description is blank), returns an HTTP status of 400 Bad Request and a body containing a JSON object of the form: {\"errors\":[\"<%= reason %>\", ...]}
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
PostThingsThingIdPublishResponse200 | PostThingsThingIdPublishResponse403 | PostThingsThingIdPublishResponse404 | None
|
PostThingsThingIdPublishResponse200 | PostThingsThingIdPublishResponse403 | PostThingsThingIdPublishResponse404 |
Source code in thingiverse/api/thing/post_things_thing_id_publish.py
sync_detailed(thing_id, *, client)
Publish a thing
If the Thing cannot be published (for example, because the Thing's name or description is blank), returns an HTTP status of 400 Bad Request and a body containing a JSON object of the form: {\"errors\":[\"<%= reason %>\", ...]}
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[PostThingsThingIdPublishResponse200 | PostThingsThingIdPublishResponse403 | PostThingsThingIdPublishResponse404]
|
Response[PostThingsThingIdPublishResponse200 | PostThingsThingIdPublishResponse403 | PostThingsThingIdPublishResponse404] |
Source code in thingiverse/api/thing/post_things_thing_id_publish.py
post_things_thing_id_toggle_watch
asyncio(thing_id, *, client)
async
Watch/unwatch a Thing
If currently watching the specified Thing, the current user will unwatch the Thing, and vice versa. Only works in user context.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
PostThingsThingIdToggleWatchResponse200 | PostThingsThingIdToggleWatchResponse400 | PostThingsThingIdToggleWatchResponse401 | PostThingsThingIdToggleWatchResponse403 | PostThingsThingIdToggleWatchResponse404 | None
|
PostThingsThingIdToggleWatchResponse200 | PostThingsThingIdToggleWatchResponse400 | PostThingsThingIdToggleWatchResponse401 | PostThingsThingIdToggleWatchResponse403 | PostThingsThingIdToggleWatchResponse404 |
Source code in thingiverse/api/thing/post_things_thing_id_toggle_watch.py
asyncio_detailed(thing_id, *, client)
async
Watch/unwatch a Thing
If currently watching the specified Thing, the current user will unwatch the Thing, and vice versa. Only works in user context.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[PostThingsThingIdToggleWatchResponse200 | PostThingsThingIdToggleWatchResponse400 | PostThingsThingIdToggleWatchResponse401 | PostThingsThingIdToggleWatchResponse403 | PostThingsThingIdToggleWatchResponse404]
|
Response[PostThingsThingIdToggleWatchResponse200 | PostThingsThingIdToggleWatchResponse400 | PostThingsThingIdToggleWatchResponse401 | PostThingsThingIdToggleWatchResponse403 | PostThingsThingIdToggleWatchResponse404] |
Source code in thingiverse/api/thing/post_things_thing_id_toggle_watch.py
sync(thing_id, *, client)
Watch/unwatch a Thing
If currently watching the specified Thing, the current user will unwatch the Thing, and vice versa. Only works in user context.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
PostThingsThingIdToggleWatchResponse200 | PostThingsThingIdToggleWatchResponse400 | PostThingsThingIdToggleWatchResponse401 | PostThingsThingIdToggleWatchResponse403 | PostThingsThingIdToggleWatchResponse404 | None
|
PostThingsThingIdToggleWatchResponse200 | PostThingsThingIdToggleWatchResponse400 | PostThingsThingIdToggleWatchResponse401 | PostThingsThingIdToggleWatchResponse403 | PostThingsThingIdToggleWatchResponse404 |
Source code in thingiverse/api/thing/post_things_thing_id_toggle_watch.py
sync_detailed(thing_id, *, client)
Watch/unwatch a Thing
If currently watching the specified Thing, the current user will unwatch the Thing, and vice versa. Only works in user context.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thing_id
|
int
|
Example: 1004996. |
required |
Raises:
| Type | Description |
|---|---|
UnexpectedStatus
|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
TimeoutException
|
If the request takes longer than Client.timeout. |
Returns:
| Type | Description |
|---|---|
Response[PostThingsThingIdToggleWatchResponse200 | PostThingsThingIdToggleWatchResponse400 | PostThingsThingIdToggleWatchResponse401 | PostThingsThingIdToggleWatchResponse403 | PostThingsThingIdToggleWatchResponse404]
|
Response[PostThingsThingIdToggleWatchResponse200 | PostThingsThingIdToggleWatchResponse400 | PostThingsThingIdToggleWatchResponse401 | PostThingsThingIdToggleWatchResponse403 | PostThingsThingIdToggleWatchResponse404] |