BookExternalLinkDto
External link to an external site for a book
bookIdstring<uuid>required
Book ID this link belongs to
Example:
550e8400-e29b-41d4-a716-446655440001createdAtstring<date-time>required
When the link was created
Example:
2024-01-01T00:00:00ZexternalIdstring | nullnullable
ID on the external source (if available)
Example:
OL123Widstring<uuid>required
External link ID
Example:
550e8400-e29b-41d4-a716-446655440060sourceNamestringrequired
Source name (e.g., "openlibrary", "goodreads", "amazon")
Example:
openlibraryupdatedAtstring<date-time>required
When the link was last updated
Example:
2024-01-01T00:00:00Zurlstringrequired
URL to the external site
Example:
https://openlibrary.org/works/OL123WBookExternalLinkDto
{
"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"
}