Comment
thingiverse.api.comment
Contains endpoint functions for accessing the API
delete_comments_comment_id
asyncio(comment_id, *, client)
async
Softdelete a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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 |
|---|---|
DeleteCommentsCommentIdResponse200 | DeleteCommentsCommentIdResponse401 | DeleteCommentsCommentIdResponse403 | DeleteCommentsCommentIdResponse404 | None
|
DeleteCommentsCommentIdResponse200 | DeleteCommentsCommentIdResponse401 | DeleteCommentsCommentIdResponse403 | DeleteCommentsCommentIdResponse404 |
Source code in thingiverse/api/comment/delete_comments_comment_id.py
asyncio_detailed(comment_id, *, client)
async
Softdelete a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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[DeleteCommentsCommentIdResponse200 | DeleteCommentsCommentIdResponse401 | DeleteCommentsCommentIdResponse403 | DeleteCommentsCommentIdResponse404]
|
Response[DeleteCommentsCommentIdResponse200 | DeleteCommentsCommentIdResponse401 | DeleteCommentsCommentIdResponse403 | DeleteCommentsCommentIdResponse404] |
Source code in thingiverse/api/comment/delete_comments_comment_id.py
sync(comment_id, *, client)
Softdelete a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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 |
|---|---|
DeleteCommentsCommentIdResponse200 | DeleteCommentsCommentIdResponse401 | DeleteCommentsCommentIdResponse403 | DeleteCommentsCommentIdResponse404 | None
|
DeleteCommentsCommentIdResponse200 | DeleteCommentsCommentIdResponse401 | DeleteCommentsCommentIdResponse403 | DeleteCommentsCommentIdResponse404 |
Source code in thingiverse/api/comment/delete_comments_comment_id.py
sync_detailed(comment_id, *, client)
Softdelete a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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[DeleteCommentsCommentIdResponse200 | DeleteCommentsCommentIdResponse401 | DeleteCommentsCommentIdResponse403 | DeleteCommentsCommentIdResponse404]
|
Response[DeleteCommentsCommentIdResponse200 | DeleteCommentsCommentIdResponse401 | DeleteCommentsCommentIdResponse403 | DeleteCommentsCommentIdResponse404] |
Source code in thingiverse/api/comment/delete_comments_comment_id.py
get_comments
asyncio(*, client, page=UNSET, per_page=UNSET)
async
Get the latest comments
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
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 |
|---|---|
GetCommentsResponse401 | GetCommentsResponse403 | GetCommentsResponse404 | list[CommentSchema] | None
|
GetCommentsResponse401 | GetCommentsResponse403 | GetCommentsResponse404 | list[CommentSchema] |
Source code in thingiverse/api/comment/get_comments.py
asyncio_detailed(*, client, page=UNSET, per_page=UNSET)
async
Get the latest comments
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
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[GetCommentsResponse401 | GetCommentsResponse403 | GetCommentsResponse404 | list[CommentSchema]]
|
Response[GetCommentsResponse401 | GetCommentsResponse403 | GetCommentsResponse404 | list[CommentSchema]] |
Source code in thingiverse/api/comment/get_comments.py
sync(*, client, page=UNSET, per_page=UNSET)
Get the latest comments
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
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 |
|---|---|
GetCommentsResponse401 | GetCommentsResponse403 | GetCommentsResponse404 | list[CommentSchema] | None
|
GetCommentsResponse401 | GetCommentsResponse403 | GetCommentsResponse404 | list[CommentSchema] |
Source code in thingiverse/api/comment/get_comments.py
sync_detailed(*, client, page=UNSET, per_page=UNSET)
Get the latest comments
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
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[GetCommentsResponse401 | GetCommentsResponse403 | GetCommentsResponse404 | list[CommentSchema]]
|
Response[GetCommentsResponse401 | GetCommentsResponse403 | GetCommentsResponse404 | list[CommentSchema]] |
Source code in thingiverse/api/comment/get_comments.py
get_comments_comment_id
asyncio(comment_id, *, client)
async
Get a comment by id
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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 |
|---|---|
CommentSchema | GetCommentsCommentIdResponse401 | GetCommentsCommentIdResponse403 | GetCommentsCommentIdResponse404 | None
|
CommentSchema | GetCommentsCommentIdResponse401 | GetCommentsCommentIdResponse403 | GetCommentsCommentIdResponse404 |
Source code in thingiverse/api/comment/get_comments_comment_id.py
asyncio_detailed(comment_id, *, client)
async
Get a comment by id
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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[CommentSchema | GetCommentsCommentIdResponse401 | GetCommentsCommentIdResponse403 | GetCommentsCommentIdResponse404]
|
Response[CommentSchema | GetCommentsCommentIdResponse401 | GetCommentsCommentIdResponse403 | GetCommentsCommentIdResponse404] |
Source code in thingiverse/api/comment/get_comments_comment_id.py
sync(comment_id, *, client)
Get a comment by id
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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 |
|---|---|
CommentSchema | GetCommentsCommentIdResponse401 | GetCommentsCommentIdResponse403 | GetCommentsCommentIdResponse404 | None
|
CommentSchema | GetCommentsCommentIdResponse401 | GetCommentsCommentIdResponse403 | GetCommentsCommentIdResponse404 |
Source code in thingiverse/api/comment/get_comments_comment_id.py
sync_detailed(comment_id, *, client)
Get a comment by id
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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[CommentSchema | GetCommentsCommentIdResponse401 | GetCommentsCommentIdResponse403 | GetCommentsCommentIdResponse404]
|
Response[CommentSchema | GetCommentsCommentIdResponse401 | GetCommentsCommentIdResponse403 | GetCommentsCommentIdResponse404] |
Source code in thingiverse/api/comment/get_comments_comment_id.py
get_comments_comment_id_replies
asyncio(comment_id, *, client)
async
Get replies of a certain comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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 |
|---|---|
GetCommentsCommentIdRepliesResponse401 | GetCommentsCommentIdRepliesResponse403 | GetCommentsCommentIdRepliesResponse404 | list[CommentSchema] | None
|
GetCommentsCommentIdRepliesResponse401 | GetCommentsCommentIdRepliesResponse403 | GetCommentsCommentIdRepliesResponse404 | list[CommentSchema] |
Source code in thingiverse/api/comment/get_comments_comment_id_replies.py
asyncio_detailed(comment_id, *, client)
async
Get replies of a certain comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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[GetCommentsCommentIdRepliesResponse401 | GetCommentsCommentIdRepliesResponse403 | GetCommentsCommentIdRepliesResponse404 | list[CommentSchema]]
|
Response[GetCommentsCommentIdRepliesResponse401 | GetCommentsCommentIdRepliesResponse403 | GetCommentsCommentIdRepliesResponse404 | list[CommentSchema]] |
Source code in thingiverse/api/comment/get_comments_comment_id_replies.py
sync(comment_id, *, client)
Get replies of a certain comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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 |
|---|---|
GetCommentsCommentIdRepliesResponse401 | GetCommentsCommentIdRepliesResponse403 | GetCommentsCommentIdRepliesResponse404 | list[CommentSchema] | None
|
GetCommentsCommentIdRepliesResponse401 | GetCommentsCommentIdRepliesResponse403 | GetCommentsCommentIdRepliesResponse404 | list[CommentSchema] |
Source code in thingiverse/api/comment/get_comments_comment_id_replies.py
sync_detailed(comment_id, *, client)
Get replies of a certain comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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[GetCommentsCommentIdRepliesResponse401 | GetCommentsCommentIdRepliesResponse403 | GetCommentsCommentIdRepliesResponse404 | list[CommentSchema]]
|
Response[GetCommentsCommentIdRepliesResponse401 | GetCommentsCommentIdRepliesResponse403 | GetCommentsCommentIdRepliesResponse404 | list[CommentSchema]] |
Source code in thingiverse/api/comment/get_comments_comment_id_replies.py
patch_comments_comment_id
asyncio(comment_id, *, client, body=UNSET)
async
Update a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
required |
body
|
CommentSchema | 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 |
|---|---|
CommentSchema | PatchCommentsCommentIdResponse401 | PatchCommentsCommentIdResponse403 | PatchCommentsCommentIdResponse404 | None
|
CommentSchema | PatchCommentsCommentIdResponse401 | PatchCommentsCommentIdResponse403 | PatchCommentsCommentIdResponse404 |
Source code in thingiverse/api/comment/patch_comments_comment_id.py
asyncio_detailed(comment_id, *, client, body=UNSET)
async
Update a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
required |
body
|
CommentSchema | 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[CommentSchema | PatchCommentsCommentIdResponse401 | PatchCommentsCommentIdResponse403 | PatchCommentsCommentIdResponse404]
|
Response[CommentSchema | PatchCommentsCommentIdResponse401 | PatchCommentsCommentIdResponse403 | PatchCommentsCommentIdResponse404] |
Source code in thingiverse/api/comment/patch_comments_comment_id.py
sync(comment_id, *, client, body=UNSET)
Update a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
required |
body
|
CommentSchema | 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 |
|---|---|
CommentSchema | PatchCommentsCommentIdResponse401 | PatchCommentsCommentIdResponse403 | PatchCommentsCommentIdResponse404 | None
|
CommentSchema | PatchCommentsCommentIdResponse401 | PatchCommentsCommentIdResponse403 | PatchCommentsCommentIdResponse404 |
Source code in thingiverse/api/comment/patch_comments_comment_id.py
sync_detailed(comment_id, *, client, body=UNSET)
Update a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
required |
body
|
CommentSchema | 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[CommentSchema | PatchCommentsCommentIdResponse401 | PatchCommentsCommentIdResponse403 | PatchCommentsCommentIdResponse404]
|
Response[CommentSchema | PatchCommentsCommentIdResponse401 | PatchCommentsCommentIdResponse403 | PatchCommentsCommentIdResponse404] |
Source code in thingiverse/api/comment/patch_comments_comment_id.py
post_comments
asyncio(*, client, body=UNSET)
async
Reply to a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostCommentsBody | 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 |
|---|---|
CommentSchema | PostCommentsResponse400 | PostCommentsResponse401 | PostCommentsResponse403 | PostCommentsResponse404 | None
|
CommentSchema | PostCommentsResponse400 | PostCommentsResponse401 | PostCommentsResponse403 | PostCommentsResponse404 |
Source code in thingiverse/api/comment/post_comments.py
asyncio_detailed(*, client, body=UNSET)
async
Reply to a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostCommentsBody | 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[CommentSchema | PostCommentsResponse400 | PostCommentsResponse401 | PostCommentsResponse403 | PostCommentsResponse404]
|
Response[CommentSchema | PostCommentsResponse400 | PostCommentsResponse401 | PostCommentsResponse403 | PostCommentsResponse404] |
Source code in thingiverse/api/comment/post_comments.py
sync(*, client, body=UNSET)
Reply to a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostCommentsBody | 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 |
|---|---|
CommentSchema | PostCommentsResponse400 | PostCommentsResponse401 | PostCommentsResponse403 | PostCommentsResponse404 | None
|
CommentSchema | PostCommentsResponse400 | PostCommentsResponse401 | PostCommentsResponse403 | PostCommentsResponse404 |
Source code in thingiverse/api/comment/post_comments.py
sync_detailed(*, client, body=UNSET)
Reply to a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostCommentsBody | 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[CommentSchema | PostCommentsResponse400 | PostCommentsResponse401 | PostCommentsResponse403 | PostCommentsResponse404]
|
Response[CommentSchema | PostCommentsResponse400 | PostCommentsResponse401 | PostCommentsResponse403 | PostCommentsResponse404] |
Source code in thingiverse/api/comment/post_comments.py
post_comments_0_markdown
asyncio(*, client, body=UNSET)
async
Convert text to markdown
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostComments0MarkdownBody | 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 |
|---|---|
PostComments0MarkdownResponse401 | PostComments0MarkdownResponse403 | PostComments0MarkdownResponse404 | str | None
|
PostComments0MarkdownResponse401 | PostComments0MarkdownResponse403 | PostComments0MarkdownResponse404 | str |
Source code in thingiverse/api/comment/post_comments_0_markdown.py
asyncio_detailed(*, client, body=UNSET)
async
Convert text to markdown
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostComments0MarkdownBody | 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[PostComments0MarkdownResponse401 | PostComments0MarkdownResponse403 | PostComments0MarkdownResponse404 | str]
|
Response[PostComments0MarkdownResponse401 | PostComments0MarkdownResponse403 | PostComments0MarkdownResponse404 | str] |
Source code in thingiverse/api/comment/post_comments_0_markdown.py
sync(*, client, body=UNSET)
Convert text to markdown
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostComments0MarkdownBody | 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 |
|---|---|
PostComments0MarkdownResponse401 | PostComments0MarkdownResponse403 | PostComments0MarkdownResponse404 | str | None
|
PostComments0MarkdownResponse401 | PostComments0MarkdownResponse403 | PostComments0MarkdownResponse404 | str |
Source code in thingiverse/api/comment/post_comments_0_markdown.py
sync_detailed(*, client, body=UNSET)
Convert text to markdown
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
body
|
PostComments0MarkdownBody | 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[PostComments0MarkdownResponse401 | PostComments0MarkdownResponse403 | PostComments0MarkdownResponse404 | str]
|
Response[PostComments0MarkdownResponse401 | PostComments0MarkdownResponse403 | PostComments0MarkdownResponse404 | str] |
Source code in thingiverse/api/comment/post_comments_0_markdown.py
post_comments_comment_id_reply
asyncio(comment_id, *, client, body=UNSET)
async
Reply to a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
required |
body
|
PostCommentsCommentIdReplyBody | 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 |
|---|---|
CommentSchema | PostCommentsCommentIdReplyResponse400 | PostCommentsCommentIdReplyResponse401 | PostCommentsCommentIdReplyResponse403 | PostCommentsCommentIdReplyResponse404 | None
|
CommentSchema | PostCommentsCommentIdReplyResponse400 | PostCommentsCommentIdReplyResponse401 | PostCommentsCommentIdReplyResponse403 | PostCommentsCommentIdReplyResponse404 |
Source code in thingiverse/api/comment/post_comments_comment_id_reply.py
asyncio_detailed(comment_id, *, client, body=UNSET)
async
Reply to a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
required |
body
|
PostCommentsCommentIdReplyBody | 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[CommentSchema | PostCommentsCommentIdReplyResponse400 | PostCommentsCommentIdReplyResponse401 | PostCommentsCommentIdReplyResponse403 | PostCommentsCommentIdReplyResponse404]
|
Response[CommentSchema | PostCommentsCommentIdReplyResponse400 | PostCommentsCommentIdReplyResponse401 | PostCommentsCommentIdReplyResponse403 | PostCommentsCommentIdReplyResponse404] |
Source code in thingiverse/api/comment/post_comments_comment_id_reply.py
sync(comment_id, *, client, body=UNSET)
Reply to a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
required |
body
|
PostCommentsCommentIdReplyBody | 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 |
|---|---|
CommentSchema | PostCommentsCommentIdReplyResponse400 | PostCommentsCommentIdReplyResponse401 | PostCommentsCommentIdReplyResponse403 | PostCommentsCommentIdReplyResponse404 | None
|
CommentSchema | PostCommentsCommentIdReplyResponse400 | PostCommentsCommentIdReplyResponse401 | PostCommentsCommentIdReplyResponse403 | PostCommentsCommentIdReplyResponse404 |
Source code in thingiverse/api/comment/post_comments_comment_id_reply.py
sync_detailed(comment_id, *, client, body=UNSET)
Reply to a comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
required |
body
|
PostCommentsCommentIdReplyBody | 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[CommentSchema | PostCommentsCommentIdReplyResponse400 | PostCommentsCommentIdReplyResponse401 | PostCommentsCommentIdReplyResponse403 | PostCommentsCommentIdReplyResponse404]
|
Response[CommentSchema | PostCommentsCommentIdReplyResponse400 | PostCommentsCommentIdReplyResponse401 | PostCommentsCommentIdReplyResponse403 | PostCommentsCommentIdReplyResponse404] |
Source code in thingiverse/api/comment/post_comments_comment_id_reply.py
post_comments_comment_id_restore
asyncio(comment_id, *, client)
async
Restore a deleted comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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 |
|---|---|
CommentSchema | PostCommentsCommentIdRestoreResponse401 | PostCommentsCommentIdRestoreResponse403 | PostCommentsCommentIdRestoreResponse404 | None
|
CommentSchema | PostCommentsCommentIdRestoreResponse401 | PostCommentsCommentIdRestoreResponse403 | PostCommentsCommentIdRestoreResponse404 |
Source code in thingiverse/api/comment/post_comments_comment_id_restore.py
asyncio_detailed(comment_id, *, client)
async
Restore a deleted comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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[CommentSchema | PostCommentsCommentIdRestoreResponse401 | PostCommentsCommentIdRestoreResponse403 | PostCommentsCommentIdRestoreResponse404]
|
Response[CommentSchema | PostCommentsCommentIdRestoreResponse401 | PostCommentsCommentIdRestoreResponse403 | PostCommentsCommentIdRestoreResponse404] |
Source code in thingiverse/api/comment/post_comments_comment_id_restore.py
sync(comment_id, *, client)
Restore a deleted comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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 |
|---|---|
CommentSchema | PostCommentsCommentIdRestoreResponse401 | PostCommentsCommentIdRestoreResponse403 | PostCommentsCommentIdRestoreResponse404 | None
|
CommentSchema | PostCommentsCommentIdRestoreResponse401 | PostCommentsCommentIdRestoreResponse403 | PostCommentsCommentIdRestoreResponse404 |
Source code in thingiverse/api/comment/post_comments_comment_id_restore.py
sync_detailed(comment_id, *, client)
Restore a deleted comment
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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[CommentSchema | PostCommentsCommentIdRestoreResponse401 | PostCommentsCommentIdRestoreResponse403 | PostCommentsCommentIdRestoreResponse404]
|
Response[CommentSchema | PostCommentsCommentIdRestoreResponse401 | PostCommentsCommentIdRestoreResponse403 | PostCommentsCommentIdRestoreResponse404] |
Source code in thingiverse/api/comment/post_comments_comment_id_restore.py
post_comments_comment_id_spam
asyncio(comment_id, *, client)
async
Mark comment as a spam
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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 |
|---|---|
CommentSchema | PostCommentsCommentIdSpamResponse401 | PostCommentsCommentIdSpamResponse403 | PostCommentsCommentIdSpamResponse404 | None
|
CommentSchema | PostCommentsCommentIdSpamResponse401 | PostCommentsCommentIdSpamResponse403 | PostCommentsCommentIdSpamResponse404 |
Source code in thingiverse/api/comment/post_comments_comment_id_spam.py
asyncio_detailed(comment_id, *, client)
async
Mark comment as a spam
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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[CommentSchema | PostCommentsCommentIdSpamResponse401 | PostCommentsCommentIdSpamResponse403 | PostCommentsCommentIdSpamResponse404]
|
Response[CommentSchema | PostCommentsCommentIdSpamResponse401 | PostCommentsCommentIdSpamResponse403 | PostCommentsCommentIdSpamResponse404] |
Source code in thingiverse/api/comment/post_comments_comment_id_spam.py
sync(comment_id, *, client)
Mark comment as a spam
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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 |
|---|---|
CommentSchema | PostCommentsCommentIdSpamResponse401 | PostCommentsCommentIdSpamResponse403 | PostCommentsCommentIdSpamResponse404 | None
|
CommentSchema | PostCommentsCommentIdSpamResponse401 | PostCommentsCommentIdSpamResponse403 | PostCommentsCommentIdSpamResponse404 |
Source code in thingiverse/api/comment/post_comments_comment_id_spam.py
sync_detailed(comment_id, *, client)
Mark comment as a spam
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
comment_id
|
int
|
Example: 285620. |
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[CommentSchema | PostCommentsCommentIdSpamResponse401 | PostCommentsCommentIdSpamResponse403 | PostCommentsCommentIdSpamResponse404]
|
Response[CommentSchema | PostCommentsCommentIdSpamResponse401 | PostCommentsCommentIdSpamResponse403 | PostCommentsCommentIdSpamResponse404] |