Goodreads Developers discussion

29 views
Notice: removal of duplicated content from some API

Comments Showing 1-5 of 5 (5 new)    post a comment »
dateUp arrow    newest »

message 1: by Ettore (new)

Ettore Pasquini We discovered a redundancy in some of the our API endpoints. Basically any API that returns book data including the current authenticated user's review, returns the same book data also as a child of the current user's review.

Graphically this would be something like:

<book>
  <title>Pride and Prejudice</title>
  ...
  <my_review>
    <description>Awesome book!</description>
    ...
    <book>
      <title>Pride and Prejudice</title>
      ...
    </book>

  </my_review>
</book>

If you were relying on the nested book data, you should update your code to use the external book info. The nested node will be removed, since it's unnecessary.

Affected APIs include:

list#book
owned_books#list
owned_books#show

It seems unlikely that you are relying on the nested node, so we're thinking to deploy this change very soon (next couple days). Let us know of any issues.


message 2: by Grunthos (new)

Grunthos | 60 comments Just a quick note: be careful not to remove the book details from review.list.

This list returns all reviews and each review contains the book that it pertains to, which is a useful and important feature.


message 3: by Michael (new)

Michael Economy (michaeleconomy) Yep, this was specific to pages that don't have a list of books.


message 4: by Grunthos (new)

Grunthos | 60 comments Great, thanks.

Any other API news? Would love to see some of the other wishlist items appear Soon(tm).


message 5: by Michael (last edited Jan 23, 2013 03:44PM) (new)

Michael Economy (michaeleconomy) I know, no new api development really, sorry.


back to top