docs: update bulk update bruno docs with normalization examples
Update Bulk Update Books.bru to demonstrate tag and contributor updates: - Add tags update example with normalized output - Add contributors update example - Shows punctuation preference behavior Demonstrates that tags and contributors are automatically normalized when updated via bulk operations, ensuring consistency across the database. Relates to Tags & Contributors Migration documentation updates
This commit is contained in:
@@ -29,22 +29,24 @@
|
|||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
"Authorization": "Bearer {{authToken}}"
|
"Authorization": "Bearer {{authToken}}"
|
||||||
},
|
},
|
||||||
"body": {
|
"body": {
|
||||||
"updates": [
|
"updates": [
|
||||||
{
|
{
|
||||||
"book_id": "{{bookId1}}",
|
"book_id": "{{bookId1}}",
|
||||||
"updates": {
|
"updates": {
|
||||||
"title": "Updated Title",
|
"title": "Updated Title",
|
||||||
"genre": "Science Fiction"
|
"genre": "Science Fiction",
|
||||||
}
|
"tags": ["science fiction", "non-fiction", "ACME CORP."]
|
||||||
},
|
}
|
||||||
{
|
},
|
||||||
"book_id": "{{bookId2}}",
|
{
|
||||||
"updates": {
|
"book_id": "{{bookId2}}",
|
||||||
"author": "Updated Author"
|
"updates": {
|
||||||
}
|
"author": "Updated Author",
|
||||||
}
|
"contributors": ["O'Reilly Media", "Penguin Random House"]
|
||||||
]
|
}
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user