a file (read one Lisp expression from the beginning).buffer (read one Lisp expression from the beginning).KEY (string): a valid item key, collection key, or search key, depending.LOCALE (string): the locale, allowing retrieval of localised item types,įield types, and creator types.API-KEY (string): a valid Zotero API user key.ID (string): a valid Zotero API user or group ID.TYPE (string): a valid Zotero API library type: “user” or “group”.The request functions accept one or more of the following arguments: The most common Zotero requests are provided in the specialised functions outlined (zotero-response-data response) => (:key "E4TD9XGL" :version 3662 :library (:type "user" :id 475425 :name "Z public library" :links (:alternate (:href "" :type "text/html"))) :links (:self (:href "" :type "application/json") :alternate (:href "" :type "text/html") :up (:href "" :type "application/json")) :meta (:numChildren :json-false) :data (:key "E4TD9XGL" :version 3662 :parentItem "7VLLCTW7" :itemType "attachment" :linkMode "imported_file" :title "Zotero Blog » Blog Archive » A Unified Zotero Experience.pdf" :accessDate "" :url "" :note "" :contentType "application/pdf" :charset "" :filename "Zotero Blog » Blog Archive » A Unified Zotero Experience.pdf" :md5 "fb8537e562048fc14b4fc9b637e195de" :mtime 1503415007000 :inPublications t :tags :relations :json-empty :dateAdded "" :dateModified "")) Request functions (zotero-response-version response) => 3662 (zotero-response-status-code response) => 200 ( setq response (zotero-request "GET " "item " "E4TD9XGL " :type "user " :id "475425 " :no-auth t)) Response), and (zotero-response-data response). Response), (zotero-response-version response), (zotero-response-etag Given a zotero-response object response, you can access the slots byĬalling (zotero-response-status-code response), (zotero-response-headers The value :json-empty (instead of nil) is usedįor an empty object to differentiate an empty value and an empty object. etag: attachment item’s md5 value, as returned by the “ETag” header in the.“Last-Modified-Version” header in the response. version: current library version, as returned by the.status-code: status code of the response.(zotero-request "GET " "collection-items " "9KH9TNSJ " :type "user " :id "475425 " :params '(( "format " "bib "))Īll request functions return a record of type zotero-response, which If HOST is non-nil, use that instead of zotero-base-url. Your personal library ID is available at URLįound by opening the group’s page at URL ‘ ’. ID is the ID of the personal or group library you want to access, that is the Keyword TYPE is “user” for your personal library, and “group” for the group KEY is the item key, collection key, or search key. “item-fulltext”: an item’s full-text content.Groups the key owner belongs to even if the key doesn’t have explicit “groups”: all groups the current API key has access to, including public.“keys”: the user id and privileges of the given API key.“publication-items-tags”: tags assigned to items in My Publications.“collection-items-top-tags”: tags assigned to top level items in a given.“collection-items-tags”: tags assigned to items in a given collection.“trash-items-tags”: tags assigned to items in the trash.“items-top-tags”: tags assigned to top level items.“items-tags”: all tags in the library, with the ability to filter based on.“collection-tags”: tags within a specific collection in the library.“item-tags”: tags associated with a specific item.“tags”: all tags in the library, or tags of all types matching a specific.
0 Comments
Leave a Reply. |