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>
API_Note
404
for your UUID means it's OK to use- Name the file as
<author>--<title>.yaml
- Submit 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>
API_Note
404
for your UUID means it's OK to use- Copy the template to a file named
<author>--<title>.yaml
- Fill 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
- Open a pull-request
- Wait for review and merge
- Enjoy :)