Thing Ops
thingiverse.api.thing_ops
Contains endpoint functions for accessing the API
post_thingops_ids_copy
asyncio(ids, *, client, body=UNSET)
async
Copy a thing(s) to a new collection
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ids
|
str
|
Example: 2. |
required |
body
|
PostThingopsIdsCopyBody | 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 |
|---|---|
PostThingopsIdsCopyResponse200 | PostThingopsIdsCopyResponse401 | PostThingopsIdsCopyResponse403 | PostThingopsIdsCopyResponse404 | None
|
PostThingopsIdsCopyResponse200 | PostThingopsIdsCopyResponse401 | PostThingopsIdsCopyResponse403 | PostThingopsIdsCopyResponse404 |
Source code in thingiverse/api/thing_ops/post_thingops_ids_copy.py
asyncio_detailed(ids, *, client, body=UNSET)
async
Copy a thing(s) to a new collection
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ids
|
str
|
Example: 2. |
required |
body
|
PostThingopsIdsCopyBody | 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[PostThingopsIdsCopyResponse200 | PostThingopsIdsCopyResponse401 | PostThingopsIdsCopyResponse403 | PostThingopsIdsCopyResponse404]
|
Response[PostThingopsIdsCopyResponse200 | PostThingopsIdsCopyResponse401 | PostThingopsIdsCopyResponse403 | PostThingopsIdsCopyResponse404] |
Source code in thingiverse/api/thing_ops/post_thingops_ids_copy.py
sync(ids, *, client, body=UNSET)
Copy a thing(s) to a new collection
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ids
|
str
|
Example: 2. |
required |
body
|
PostThingopsIdsCopyBody | 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 |
|---|---|
PostThingopsIdsCopyResponse200 | PostThingopsIdsCopyResponse401 | PostThingopsIdsCopyResponse403 | PostThingopsIdsCopyResponse404 | None
|
PostThingopsIdsCopyResponse200 | PostThingopsIdsCopyResponse401 | PostThingopsIdsCopyResponse403 | PostThingopsIdsCopyResponse404 |
Source code in thingiverse/api/thing_ops/post_thingops_ids_copy.py
sync_detailed(ids, *, client, body=UNSET)
Copy a thing(s) to a new collection
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ids
|
str
|
Example: 2. |
required |
body
|
PostThingopsIdsCopyBody | 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[PostThingopsIdsCopyResponse200 | PostThingopsIdsCopyResponse401 | PostThingopsIdsCopyResponse403 | PostThingopsIdsCopyResponse404]
|
Response[PostThingopsIdsCopyResponse200 | PostThingopsIdsCopyResponse401 | PostThingopsIdsCopyResponse403 | PostThingopsIdsCopyResponse404] |
Source code in thingiverse/api/thing_ops/post_thingops_ids_copy.py
post_thingops_ids_move
asyncio(ids, *, client, body=UNSET)
async
Move a thing(s) to a new collection
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ids
|
str
|
Example: 2. |
required |
body
|
PostThingopsIdsMoveBody | 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 |
|---|---|
PostThingopsIdsMoveResponse200 | PostThingopsIdsMoveResponse401 | PostThingopsIdsMoveResponse403 | PostThingopsIdsMoveResponse404 | None
|
PostThingopsIdsMoveResponse200 | PostThingopsIdsMoveResponse401 | PostThingopsIdsMoveResponse403 | PostThingopsIdsMoveResponse404 |
Source code in thingiverse/api/thing_ops/post_thingops_ids_move.py
asyncio_detailed(ids, *, client, body=UNSET)
async
Move a thing(s) to a new collection
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ids
|
str
|
Example: 2. |
required |
body
|
PostThingopsIdsMoveBody | 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[PostThingopsIdsMoveResponse200 | PostThingopsIdsMoveResponse401 | PostThingopsIdsMoveResponse403 | PostThingopsIdsMoveResponse404]
|
Response[PostThingopsIdsMoveResponse200 | PostThingopsIdsMoveResponse401 | PostThingopsIdsMoveResponse403 | PostThingopsIdsMoveResponse404] |
Source code in thingiverse/api/thing_ops/post_thingops_ids_move.py
sync(ids, *, client, body=UNSET)
Move a thing(s) to a new collection
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ids
|
str
|
Example: 2. |
required |
body
|
PostThingopsIdsMoveBody | 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 |
|---|---|
PostThingopsIdsMoveResponse200 | PostThingopsIdsMoveResponse401 | PostThingopsIdsMoveResponse403 | PostThingopsIdsMoveResponse404 | None
|
PostThingopsIdsMoveResponse200 | PostThingopsIdsMoveResponse401 | PostThingopsIdsMoveResponse403 | PostThingopsIdsMoveResponse404 |
Source code in thingiverse/api/thing_ops/post_thingops_ids_move.py
sync_detailed(ids, *, client, body=UNSET)
Move a thing(s) to a new collection
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ids
|
str
|
Example: 2. |
required |
body
|
PostThingopsIdsMoveBody | 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[PostThingopsIdsMoveResponse200 | PostThingopsIdsMoveResponse401 | PostThingopsIdsMoveResponse403 | PostThingopsIdsMoveResponse404]
|
Response[PostThingopsIdsMoveResponse200 | PostThingopsIdsMoveResponse401 | PostThingopsIdsMoveResponse403 | PostThingopsIdsMoveResponse404] |
Source code in thingiverse/api/thing_ops/post_thingops_ids_move.py
post_thingops_ids_remove
asyncio(ids, *, client, body=UNSET)
async
Remove a thing(s) from a collection
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ids
|
str
|
Example: 2. |
required |
body
|
PostThingopsIdsRemoveBody | 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 |
|---|---|
PostThingopsIdsRemoveResponse200 | PostThingopsIdsRemoveResponse401 | PostThingopsIdsRemoveResponse403 | PostThingopsIdsRemoveResponse404 | None
|
PostThingopsIdsRemoveResponse200 | PostThingopsIdsRemoveResponse401 | PostThingopsIdsRemoveResponse403 | PostThingopsIdsRemoveResponse404 |
Source code in thingiverse/api/thing_ops/post_thingops_ids_remove.py
asyncio_detailed(ids, *, client, body=UNSET)
async
Remove a thing(s) from a collection
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ids
|
str
|
Example: 2. |
required |
body
|
PostThingopsIdsRemoveBody | 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[PostThingopsIdsRemoveResponse200 | PostThingopsIdsRemoveResponse401 | PostThingopsIdsRemoveResponse403 | PostThingopsIdsRemoveResponse404]
|
Response[PostThingopsIdsRemoveResponse200 | PostThingopsIdsRemoveResponse401 | PostThingopsIdsRemoveResponse403 | PostThingopsIdsRemoveResponse404] |
Source code in thingiverse/api/thing_ops/post_thingops_ids_remove.py
sync(ids, *, client, body=UNSET)
Remove a thing(s) from a collection
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ids
|
str
|
Example: 2. |
required |
body
|
PostThingopsIdsRemoveBody | 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 |
|---|---|
PostThingopsIdsRemoveResponse200 | PostThingopsIdsRemoveResponse401 | PostThingopsIdsRemoveResponse403 | PostThingopsIdsRemoveResponse404 | None
|
PostThingopsIdsRemoveResponse200 | PostThingopsIdsRemoveResponse401 | PostThingopsIdsRemoveResponse403 | PostThingopsIdsRemoveResponse404 |
Source code in thingiverse/api/thing_ops/post_thingops_ids_remove.py
sync_detailed(ids, *, client, body=UNSET)
Remove a thing(s) from a collection
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ids
|
str
|
Example: 2. |
required |
body
|
PostThingopsIdsRemoveBody | 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[PostThingopsIdsRemoveResponse200 | PostThingopsIdsRemoveResponse401 | PostThingopsIdsRemoveResponse403 | PostThingopsIdsRemoveResponse404]
|
Response[PostThingopsIdsRemoveResponse200 | PostThingopsIdsRemoveResponse401 | PostThingopsIdsRemoveResponse403 | PostThingopsIdsRemoveResponse404] |