thingiverse.api.email
Contains endpoint functions for accessing the API
post_email
asyncio(*, client, body=UNSET)
async
Queuing emails
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostEmailBody | 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 |
|---|---|
EmailSchema | PostEmailResponse401 | PostEmailResponse403 | PostEmailResponse404 | None
|
EmailSchema | PostEmailResponse401 | PostEmailResponse403 | PostEmailResponse404 |
Source code in thingiverse/api/email/post_email.py
asyncio_detailed(*, client, body=UNSET)
async
Queuing emails
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostEmailBody | 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[EmailSchema | PostEmailResponse401 | PostEmailResponse403 | PostEmailResponse404]
|
Response[EmailSchema | PostEmailResponse401 | PostEmailResponse403 | PostEmailResponse404] |
Source code in thingiverse/api/email/post_email.py
sync(*, client, body=UNSET)
Queuing emails
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostEmailBody | 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 |
|---|---|
EmailSchema | PostEmailResponse401 | PostEmailResponse403 | PostEmailResponse404 | None
|
EmailSchema | PostEmailResponse401 | PostEmailResponse403 | PostEmailResponse404 |
Source code in thingiverse/api/email/post_email.py
sync_detailed(*, client, body=UNSET)
Queuing emails
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostEmailBody | 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[EmailSchema | PostEmailResponse401 | PostEmailResponse403 | PostEmailResponse404]
|
Response[EmailSchema | PostEmailResponse401 | PostEmailResponse403 | PostEmailResponse404] |
Source code in thingiverse/api/email/post_email.py
post_email_thingiverse_enqueue_support
asyncio(*, client, body=UNSET)
async
Queue email to Thingiverse support
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostEmailThingiverseEnqueueSupportBody | 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 | PostEmailThingiverseEnqueueSupportResponse401 | PostEmailThingiverseEnqueueSupportResponse403 | PostEmailThingiverseEnqueueSupportResponse404 | None
|
Any | PostEmailThingiverseEnqueueSupportResponse401 | PostEmailThingiverseEnqueueSupportResponse403 | PostEmailThingiverseEnqueueSupportResponse404 |
Source code in thingiverse/api/email/post_email_thingiverse_enqueue_support.py
asyncio_detailed(*, client, body=UNSET)
async
Queue email to Thingiverse support
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostEmailThingiverseEnqueueSupportBody | 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 | PostEmailThingiverseEnqueueSupportResponse401 | PostEmailThingiverseEnqueueSupportResponse403 | PostEmailThingiverseEnqueueSupportResponse404]
|
Response[Any | PostEmailThingiverseEnqueueSupportResponse401 | PostEmailThingiverseEnqueueSupportResponse403 | PostEmailThingiverseEnqueueSupportResponse404] |
Source code in thingiverse/api/email/post_email_thingiverse_enqueue_support.py
sync(*, client, body=UNSET)
Queue email to Thingiverse support
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostEmailThingiverseEnqueueSupportBody | 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 | PostEmailThingiverseEnqueueSupportResponse401 | PostEmailThingiverseEnqueueSupportResponse403 | PostEmailThingiverseEnqueueSupportResponse404 | None
|
Any | PostEmailThingiverseEnqueueSupportResponse401 | PostEmailThingiverseEnqueueSupportResponse403 | PostEmailThingiverseEnqueueSupportResponse404 |
Source code in thingiverse/api/email/post_email_thingiverse_enqueue_support.py
sync_detailed(*, client, body=UNSET)
Queue email to Thingiverse support
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostEmailThingiverseEnqueueSupportBody | 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 | PostEmailThingiverseEnqueueSupportResponse401 | PostEmailThingiverseEnqueueSupportResponse403 | PostEmailThingiverseEnqueueSupportResponse404]
|
Response[Any | PostEmailThingiverseEnqueueSupportResponse401 | PostEmailThingiverseEnqueueSupportResponse403 | PostEmailThingiverseEnqueueSupportResponse404] |
Source code in thingiverse/api/email/post_email_thingiverse_enqueue_support.py
post_email_type_enqueue_dmca
asyncio(type_, *, client, body=UNSET)
async
Queue email to Thingiverse support (DMCA)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
type_
|
PostEmailTypeEnqueueDmcaType
|
|
required |
body
|
PostEmailTypeEnqueueDmcaBody | 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 |
|---|---|
PostEmailTypeEnqueueDmcaResponse200 | PostEmailTypeEnqueueDmcaResponse401 | PostEmailTypeEnqueueDmcaResponse403 | PostEmailTypeEnqueueDmcaResponse404 | None
|
PostEmailTypeEnqueueDmcaResponse200 | PostEmailTypeEnqueueDmcaResponse401 | PostEmailTypeEnqueueDmcaResponse403 | PostEmailTypeEnqueueDmcaResponse404 |
Source code in thingiverse/api/email/post_email_type_enqueue_dmca.py
asyncio_detailed(type_, *, client, body=UNSET)
async
Queue email to Thingiverse support (DMCA)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
type_
|
PostEmailTypeEnqueueDmcaType
|
|
required |
body
|
PostEmailTypeEnqueueDmcaBody | 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[PostEmailTypeEnqueueDmcaResponse200 | PostEmailTypeEnqueueDmcaResponse401 | PostEmailTypeEnqueueDmcaResponse403 | PostEmailTypeEnqueueDmcaResponse404]
|
Response[PostEmailTypeEnqueueDmcaResponse200 | PostEmailTypeEnqueueDmcaResponse401 | PostEmailTypeEnqueueDmcaResponse403 | PostEmailTypeEnqueueDmcaResponse404] |
Source code in thingiverse/api/email/post_email_type_enqueue_dmca.py
sync(type_, *, client, body=UNSET)
Queue email to Thingiverse support (DMCA)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
type_
|
PostEmailTypeEnqueueDmcaType
|
|
required |
body
|
PostEmailTypeEnqueueDmcaBody | 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 |
|---|---|
PostEmailTypeEnqueueDmcaResponse200 | PostEmailTypeEnqueueDmcaResponse401 | PostEmailTypeEnqueueDmcaResponse403 | PostEmailTypeEnqueueDmcaResponse404 | None
|
PostEmailTypeEnqueueDmcaResponse200 | PostEmailTypeEnqueueDmcaResponse401 | PostEmailTypeEnqueueDmcaResponse403 | PostEmailTypeEnqueueDmcaResponse404 |
Source code in thingiverse/api/email/post_email_type_enqueue_dmca.py
sync_detailed(type_, *, client, body=UNSET)
Queue email to Thingiverse support (DMCA)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
type_
|
PostEmailTypeEnqueueDmcaType
|
|
required |
body
|
PostEmailTypeEnqueueDmcaBody | 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[PostEmailTypeEnqueueDmcaResponse200 | PostEmailTypeEnqueueDmcaResponse401 | PostEmailTypeEnqueueDmcaResponse403 | PostEmailTypeEnqueueDmcaResponse404]
|
Response[PostEmailTypeEnqueueDmcaResponse200 | PostEmailTypeEnqueueDmcaResponse401 | PostEmailTypeEnqueueDmcaResponse403 | PostEmailTypeEnqueueDmcaResponse404] |