Skip to main content

BookExternalLinkDto

External link to an external site for a book

bookIdstring<uuid>required

Book ID this link belongs to

Example: 550e8400-e29b-41d4-a716-446655440001
createdAtstring<date-time>required

When the link was created

Example: 2024-01-01T00:00:00Z
externalIdstring | nullnullable

ID on the external source (if available)

Example: OL123W
idstring<uuid>required

External link ID

Example: 550e8400-e29b-41d4-a716-446655440060
sourceNamestringrequired

Source name (e.g., "openlibrary", "goodreads", "amazon")

Example: openlibrary
updatedAtstring<date-time>required

When the link was last updated

Example: 2024-01-01T00:00:00Z
urlstringrequired

URL to the external site

Example: https://openlibrary.org/works/OL123W
BookExternalLinkDto
{
"bookId": "550e8400-e29b-41d4-a716-446655440001",
"createdAt": "2024-01-01T00:00:00Z",
"externalId": "OL123W",
"id": "550e8400-e29b-41d4-a716-446655440060",
"sourceName": "openlibrary",
"updatedAt": "2024-01-01T00:00:00Z",
"url": "https://openlibrary.org/works/OL123W"
}