A simple website to list books with properties with even simpler API.
Open the latest book template
Go to the new book form and paste the template as is
Edit the template fields according to the legend at the top of the template
Pick a new UUID with DuckDuckGo UUID
Note
Repeat for all UUID fields if all of them are new. For example, if you are a new contributor and you are adding a new book with an author who's not listed in the DB, you need an UUID for you, the book item, the book title and the author.
If you are adding a new book for an existing author, you need to pick the UUID of the author and use it in the template (sample author).
Verify the UUID is okay with
/check/<uuid>APINote
404for your UUID means it's OK to useName the file as
<author>--<title>.yamlSubmit the form as a new pull request
Wait for review and merge
Enjoy :)
Create your own fork
Clone the fork.
Create a new branch (
git checkout -b <branch>)Navigate to the repository's books folder
Generate a new UUIDs:
- DuckDuckGo UUID
- UUID in Powershell
- use
uuidgen
Verify the UUID is okay with
/check/<uuid>APINote
404for your UUID means it's OK to useCopy the template to a file named
<author>--<title>.yamlFill the fields (GitHub note for reference)
Commit the new file
Push the changes to your fork (
git push -u origin <branch>)Navigate to this repository
Wait for review and merge
Enjoy :)