Skip to content

Team

Team

Bases: BaseResource

A data model representing a team that extends BaseResource.

ATTRIBUTE DESCRIPTION
desc

The description of the team.

TYPE: str

image

The image URL of the team.

TYPE: HttpUrl

creators

The creators of the team.

TYPE: list[BaseResource]

universes

The universes the team is associated with.

TYPE: list[BaseResource]

cv_id

The Comic Vine ID of the team.

TYPE: int

gcd_id

The Grand Comics Database ID of the team.

TYPE: int

resource_url

The URL of the team resource.

TYPE: HttpUrl

TeamPost

Bases: BaseModel

A data model representing a team to be created.

ATTRIBUTE DESCRIPTION
name

The name of the team.

TYPE: str

desc

The description of the team.

TYPE: str

image

The image URL of the team.

TYPE: str

creators

The IDs of the creators of the team.

TYPE: list[int]

universes

The IDs of the universes the team is associated with.

TYPE: list[int]

cv_id

The Comic Vine ID of the team.

TYPE: int

gcd_id

The Grand Comics Database ID of the team.

TYPE: int

TeamPostResponse

Bases: BaseResource, TeamPost

A data model representing the response from creating a team.

ATTRIBUTE DESCRIPTION
id

(int) The ID of the team.

TYPE: int

name

The name of the team.

TYPE: str

desc

The description of the team.

TYPE: str

image

The image URL of the team.

TYPE: str

creators

The IDs of the creators of the team.

TYPE: list[int]

universes

The IDs of the universes the team is associated with.

TYPE: list[int]

cv_id

The Comic Vine ID of the team.

TYPE: int

gcd_id

The Grand Comics Database ID of the team.

TYPE: int

resource_url

The URL of the team resource.

TYPE: HttpUrl