Skip to content

Comment Models

thingiverse.models.comment

Comment

Attributes:

Name Type Description
id int
added datetime | Unset
attachments list[CommentAttachmentsItem] | Unset
body str | Unset
body_html str | Unset
can_comment bool | Unset
has_children bool | Unset
is_deleted bool | Unset
is_root_comment bool | Unset
modified datetime | str | Unset
needs_moderation bool | Unset
parent_id int | Unset
parent_url str | Unset
parent_user_name None | str | Unset
public_url str | Unset

Example: https://www.thingiverse.local/thing:1/comments#comment-1.

recaptcha_token str | Unset
target_id int | Unset
target_type CommentTargetType | Unset
target_url str | Unset
things list[ThingSchema] | Unset
url str | Unset

Example: https://api.thingiverse.com/comments/1.

user None | Unset | UserSummarySchemaType0

thingiverse.models.comment_attachments_item

CommentAttachmentsItem

Attributes:

Name Type Description
download_url str | Unset
id int | Unset
name str | Unset

thingiverse.models.comment_schema

CommentSchema

Attributes:

Name Type Description
id int
added datetime | Unset
attachments list[CommentSchemaAttachmentsItem] | Unset
body str | Unset
body_html str | Unset
can_comment bool | Unset
has_children bool | Unset
is_deleted bool | Unset
is_root_comment bool | Unset
modified datetime | str | Unset
needs_moderation bool | Unset
parent_id int | Unset
parent_url str | Unset
parent_user_name None | str | Unset
public_url str | Unset

Example: https://www.thingiverse.local/thing:1/comments#comment-1.

recaptcha_token str | Unset
target_id int | Unset
target_type CommentSchemaTargetType | Unset
target_url str | Unset
things list[ThingSchema] | Unset
url str | Unset

Example: https://api.thingiverse.com/comments/1.

user None | Unset | UserSummarySchemaType0

thingiverse.models.comment_schema_attachments_item

CommentSchemaAttachmentsItem

Attributes:

Name Type Description
download_url str | Unset
id int | Unset
name str | Unset

thingiverse.models.comment_schema_target_type

thingiverse.models.comment_target_type

thingiverse.models.delete_comments_comment_id_response_200

DeleteCommentsCommentIdResponse200

Attributes:

Name Type Description
error str | Unset

thingiverse.models.delete_comments_comment_id_response_401

DeleteCommentsCommentIdResponse401

Attributes:

Name Type Description
error str | Unset

Example: Unauthorized.

thingiverse.models.delete_comments_comment_id_response_403

DeleteCommentsCommentIdResponse403

Attributes:

Name Type Description
error str | Unset

Example: Forbidden.

thingiverse.models.delete_comments_comment_id_response_404

DeleteCommentsCommentIdResponse404

Attributes:

Name Type Description
error str | Unset

Example: Not Found.

thingiverse.models.get_comments_comment_id_replies_response_401

GetCommentsCommentIdRepliesResponse401

Attributes:

Name Type Description
error str | Unset

Example: Unauthorized.

thingiverse.models.get_comments_comment_id_replies_response_403

GetCommentsCommentIdRepliesResponse403

Attributes:

Name Type Description
error str | Unset

Example: Forbidden.

thingiverse.models.get_comments_comment_id_replies_response_404

GetCommentsCommentIdRepliesResponse404

Attributes:

Name Type Description
error str | Unset

Example: Not Found.

thingiverse.models.get_comments_comment_id_response_401

GetCommentsCommentIdResponse401

Attributes:

Name Type Description
error str | Unset

Example: Unauthorized.

thingiverse.models.get_comments_comment_id_response_403

GetCommentsCommentIdResponse403

Attributes:

Name Type Description
error str | Unset

Example: Forbidden.

thingiverse.models.get_comments_comment_id_response_404

GetCommentsCommentIdResponse404

Attributes:

Name Type Description
error str | Unset

Example: Not Found.

thingiverse.models.get_comments_response_401

GetCommentsResponse401

Attributes:

Name Type Description
error str | Unset

Example: Unauthorized.

thingiverse.models.get_comments_response_403

GetCommentsResponse403

Attributes:

Name Type Description
error str | Unset

Example: Forbidden.

thingiverse.models.get_comments_response_404

GetCommentsResponse404

Attributes:

Name Type Description
error str | Unset

Example: Not Found.

thingiverse.models.patch_comments_comment_id_response_401

PatchCommentsCommentIdResponse401

Attributes:

Name Type Description
error str | Unset

Example: Unauthorized.

thingiverse.models.patch_comments_comment_id_response_403

PatchCommentsCommentIdResponse403

Attributes:

Name Type Description
error str | Unset

Example: Forbidden.

thingiverse.models.patch_comments_comment_id_response_404

PatchCommentsCommentIdResponse404

Attributes:

Name Type Description
error str | Unset

Example: Not Found.

thingiverse.models.post_comments_0_markdown_body

PostComments0MarkdownBody

Attributes:

Name Type Description
body str

Text Example: Some text.

thingiverse.models.post_comments_0_markdown_response_401

PostComments0MarkdownResponse401

Attributes:

Name Type Description
error str | Unset

Example: Unauthorized.

thingiverse.models.post_comments_0_markdown_response_403

PostComments0MarkdownResponse403

Attributes:

Name Type Description
error str | Unset

Example: Forbidden.

thingiverse.models.post_comments_0_markdown_response_404

PostComments0MarkdownResponse404

Attributes:

Name Type Description
error str | Unset

Example: Not Found.

thingiverse.models.post_comments_body

PostCommentsBody

Attributes:

Name Type Description
body str

Set the body of the reply Example: Hello world!.

recaptcha_token str

Set the recaptcha token to confirm that the user is not a bot

target_id int

Example: 10.

target_type str

What is the type this comment should be posted on (thing, make, etc) Example: thing.

parent_id int | Unset

If it's a nested comment, set the id of the parent comment here. (optional!)

thingiverse.models.post_comments_comment_id_reply_body

PostCommentsCommentIdReplyBody

Attributes:

Name Type Description
body str

Set the body of the reply Example: This is a new message!.

recaptcha_token str

Set the recaptcha token to confirm that the user is not a bot

thingiverse.models.post_comments_comment_id_reply_response_400

PostCommentsCommentIdReplyResponse400

Attributes:

Name Type Description
error str | Unset

Example: Bad Request.

thingiverse.models.post_comments_comment_id_reply_response_401

PostCommentsCommentIdReplyResponse401

Attributes:

Name Type Description
error str | Unset

Example: Unauthorized.

thingiverse.models.post_comments_comment_id_reply_response_403

PostCommentsCommentIdReplyResponse403

Attributes:

Name Type Description
error str | Unset

Example: Forbidden.

thingiverse.models.post_comments_comment_id_reply_response_404

PostCommentsCommentIdReplyResponse404

Attributes:

Name Type Description
error str | Unset

Example: Not Found.

thingiverse.models.post_comments_comment_id_restore_response_401

PostCommentsCommentIdRestoreResponse401

Attributes:

Name Type Description
error str | Unset

Example: Unauthorized.

thingiverse.models.post_comments_comment_id_restore_response_403

PostCommentsCommentIdRestoreResponse403

Attributes:

Name Type Description
error str | Unset

Example: Forbidden.

thingiverse.models.post_comments_comment_id_restore_response_404

PostCommentsCommentIdRestoreResponse404

Attributes:

Name Type Description
error str | Unset

Example: Not Found.

thingiverse.models.post_comments_comment_id_spam_response_401

PostCommentsCommentIdSpamResponse401

Attributes:

Name Type Description
error str | Unset

Example: Unauthorized.

thingiverse.models.post_comments_comment_id_spam_response_403

PostCommentsCommentIdSpamResponse403

Attributes:

Name Type Description
error str | Unset

Example: Forbidden.

thingiverse.models.post_comments_comment_id_spam_response_404

PostCommentsCommentIdSpamResponse404

Attributes:

Name Type Description
error str | Unset

Example: Not Found.

thingiverse.models.post_comments_response_400

PostCommentsResponse400

Attributes:

Name Type Description
error str | Unset

Example: Bad Request.

thingiverse.models.post_comments_response_401

PostCommentsResponse401

Attributes:

Name Type Description
error str | Unset

Example: Unauthorized.

thingiverse.models.post_comments_response_403

PostCommentsResponse403

Attributes:

Name Type Description
error str | Unset

Example: Forbidden.

thingiverse.models.post_comments_response_404

PostCommentsResponse404

Attributes:

Name Type Description
error str | Unset

Example: Not Found.