Skip to main content

Home/ Groups/ Curso 2014 - Pensando a Comunicacao - EBS
victor seixas

Diigo API Documentation - 0 views

  • Responses
  • The Diigo API attempts to returns meaningful HTTP status codes for each request. Possible codes are 200 OKSuccess! 400 Bad RequestSome request parameters are invalid or the API rate limit is exceeded. 401 Not AuthorizedAuthentication credentials are missing or invalid. 403 ForbiddenThe request has been refused because of the lack of proper permission. 404 Not FoundEither you're requesting an invalid URI or the resource in question doesn't exist (e.g. no such user). 500 Internal Server Error
  • Something is broken. 502 Bad GatewayDiigo is down or being upgraded. 503 Service UnavailableThe Diigo servers are too busy to server your request. Please try again later. The response body contains data in the JSON format - a lig
  • ...3 more annotations...
  • ht weight serialization format for structured data.
  • API Methods Retrieve bookmarks https://secure.diigo.com/api/v2/bookmarks Returns a list of bookmarks satisfying various criteria. Request method: GET Parameters user required, string, the username of whose bookmarks to fetch start optional, number, the start offset of the bookmarks to fetch starting from 0, defaults to 0 count optional, number, the number of bookmarks to fetch, defaults to 10, max:100 sort optional, number 0-3, determines the order of bookmarks to fetch, 0: created_at, 1: updated_at, 2: popularity, 3: hot, defaults to 0 tags optional, string, only bookmarks with specified tags will be returned. multiple tags are separated by comma filter optional, string, public: only returns public bookmarks; all: returns all bookmarks including private ones, defaults to public list optional, string, the list name of a bookmark list, when specified, user must be also specified Example request
  • https://secure.diigo.com/api/v2/bookmarks?key=your_api_key&user=joel&count=10 Response An array of bookmarks. Example Response (JSON) [ { "title":"Diigo API Help", "url":"http://www.diigo.com/help/api.html", "user":"foo", "desc":"", "tags":"test,diigo,help", "shared":"yes", "created_at":"2008/04/30 06:28:54 +0800", "updated_at":"2008/04/30 06:28:54 +0800", "comments":[], "annotations":[] }, { "title":"Google Search", "url":"http://www.google.com", "user":"bar", "desc":"", "tags":"test,search", "shared":"yes", "created_at":"2008/04/30 06:28:54 +0800", "updated_at":"2008/04/30 06:28:54 +0800", "comments":[], "annotations":[] } ]
1 - 4 of 4
Showing 20 items per page