Skip to content

Character

Character

Bases: BaseResource

A data model representing a character that extends BaseResource.

ATTRIBUTE DESCRIPTION
alias

The aliases of the character.

TYPE: list[str]

desc

The description of the character.

TYPE: str

image

The image URL of the character.

TYPE: HttpUrl

creators

The creators of the character.

TYPE: list[BaseResource]

teams

The teams the character belongs to.

TYPE: list[BaseResource]

universes

The universes the character is associated with.

TYPE: list[BaseResource]

cv_id

The Comic Vine ID of the character.

TYPE: int

gcd_id

The Grand Comics Database ID of the character.

TYPE: int

resource_url

The URL of the character resource.

TYPE: HttpUrl

CharacterPost

Bases: BaseModel

A data model representing a character to be created.

ATTRIBUTE DESCRIPTION
name

The name of the character.

TYPE: str

alias

The aliases of the character.

TYPE: list[str]

desc

The description of the character.

TYPE: str

image

The image URL of the character.

TYPE: str

creators

The IDs of the creators of the character.

TYPE: list[int]

teams

The IDs of the teams the character belongs to.

TYPE: list[int]

universes

The IDs of the universes the character is associated with.

TYPE: list[int]

cv_id

The Comic Vine ID of the character.

TYPE: int

gcd_id

The Grand Comics Database ID of the character.

TYPE: int

CharacterPostResponse

Bases: BaseResource, CharacterPost

A data model representing the response from creating a character.

ATTRIBUTE DESCRIPTION
name

The name of the character.

TYPE: str

alias

The aliases of the character.

TYPE: list[str]

desc

The description of the character.

TYPE: str

image

The image URL of the character.

TYPE: str

creators

The IDs of the creators of the character.

TYPE: list[int]

teams

The IDs of the teams the character belongs to.

TYPE: list[int]

universes

The IDs of the universes the character is associated with.

TYPE: list[int]

cv_id

The Comic Vine ID of the character.

TYPE: int

gcd_id

The Grand Comics Database ID of the character.

TYPE: int

resource_url

The URL of the character resource.

TYPE: HttpUrl