Books
List your books
List books that are accessible to the authenticated user.
This includes books owned by the authenticated user, books where the authenticated user is a collaborator, and books that the authenticated user has access to through an organization membership.
GET /books
Parameters
Name | Type | Description |
---|---|---|
page | number | Index of current page |
List author books
List public books for the specified user/organization.
GET /authors/:username/books
Parameters
Name | Type | Description |
---|---|---|
page | number | Index of current page |
List all public books
This provides a dump of every public repository, in the order that they were created.
GET /books/all
Parameters
Name | Type | Description |
---|---|---|
page | number | Index of current page |
Create a book
Create a new book for the specified author.
POST /books
Parameters
Name | Type | Description |
---|---|---|
author |
string | Required: Username of the owner |
title |
string | Required: The title of the book |
description |
string | The description of the book |
Get a book
Get details about a book.
GET /book/:username/:name
Example Response
{
"id": "johndoe/mybook",
"title": "My Book"
}