John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
| 75 | <h1><a href="books_v1.html">Books API</a> . <a href="books_v1.mylibrary.html">mylibrary</a> . <a href="books_v1.mylibrary.annotations.html">annotations</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 78 | <code><a href="#close">close()</a></code></p> |
| 79 | <p class="firstline">Close httplib2 connections.</p> |
| 80 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 81 | <code><a href="#delete">delete(annotationId, source=None, x__xgafv=None)</a></code></p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 82 | <p class="firstline">Deletes an annotation.</p> |
| 83 | <p class="toc_element"> |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 84 | <code><a href="#insert">insert(body=None, country=None, annotationId=None, source=None, showOnlySummaryInResponse=None, x__xgafv=None)</a></code></p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 85 | <p class="firstline">Inserts a new annotation.</p> |
| 86 | <p class="toc_element"> |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 87 | <code><a href="#list">list(maxResults=None, layerIds=None, volumeId=None, source=None, updatedMax=None, pageToken=None, layerId=None, updatedMin=None, contentVersion=None, showDeleted=None, x__xgafv=None)</a></code></p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 88 | <p class="firstline">Retrieves a list of annotations, possibly filtered.</p> |
| 89 | <p class="toc_element"> |
| 90 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 91 | <p class="firstline">Retrieves the next page of results.</p> |
| 92 | <p class="toc_element"> |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 93 | <code><a href="#summary">summary(layerIds, volumeId, x__xgafv=None)</a></code></p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 94 | <p class="firstline">Gets the summary of specified layers.</p> |
| 95 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 96 | <code><a href="#update">update(annotationId, body=None, source=None, x__xgafv=None)</a></code></p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 97 | <p class="firstline">Updates an existing annotation.</p> |
| 98 | <h3>Method Details</h3> |
| 99 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 100 | <code class="details" id="close">close()</code> |
| 101 | <pre>Close httplib2 connections.</pre> |
| 102 | </div> |
| 103 | |
| 104 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 105 | <code class="details" id="delete">delete(annotationId, source=None, x__xgafv=None)</code> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 106 | <pre>Deletes an annotation. |
| 107 | |
| 108 | Args: |
| 109 | annotationId: string, The ID for the annotation to delete. (required) |
| 110 | source: string, String to identify the originator of this request. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 111 | x__xgafv: string, V1 error format. |
| 112 | Allowed values |
| 113 | 1 - v1 error format |
| 114 | 2 - v2 error format |
| 115 | |
| 116 | Returns: |
| 117 | An object of the form: |
| 118 | |
| 119 | { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`. |
| 120 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 121 | </div> |
| 122 | |
| 123 | <div class="method"> |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 124 | <code class="details" id="insert">insert(body=None, country=None, annotationId=None, source=None, showOnlySummaryInResponse=None, x__xgafv=None)</code> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 125 | <pre>Inserts a new annotation. |
| 126 | |
| 127 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 128 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 129 | The object takes the form of: |
| 130 | |
| 131 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 132 | "highlightStyle": "A String", # The highlight style for this annotation. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 133 | "layerId": "A String", # The layer this annotation is for. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 134 | "volumeId": "A String", # The volume that this annotation belongs to. |
| 135 | "beforeSelectedText": "A String", # Anchor text before excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty. |
| 136 | "data": "A String", # User-created data for this annotation. |
| 137 | "updated": "A String", # Timestamp for the last time this annotation was modified. |
| 138 | "deleted": True or False, # Indicates that this annotation is deleted. |
| 139 | "clientVersionRanges": { # Selection ranges sent from the client. |
| 140 | "gbImageRange": { # Range in GB image format for this annotation sent by client. |
| 141 | "startOffset": "A String", # The offset from the starting position. |
| 142 | "endOffset": "A String", # The offset from the ending position. |
| 143 | "startPosition": "A String", # The starting position for the range. |
| 144 | "endPosition": "A String", # The ending position for the range. |
| 145 | }, |
| 146 | "cfiRange": { # Range in CFI format for this annotation sent by client. |
| 147 | "startOffset": "A String", # The offset from the starting position. |
| 148 | "endOffset": "A String", # The offset from the ending position. |
| 149 | "startPosition": "A String", # The starting position for the range. |
| 150 | "endPosition": "A String", # The ending position for the range. |
| 151 | }, |
| 152 | "gbTextRange": { # Range in GB text format for this annotation sent by client. |
| 153 | "startOffset": "A String", # The offset from the starting position. |
| 154 | "endOffset": "A String", # The offset from the ending position. |
| 155 | "startPosition": "A String", # The starting position for the range. |
| 156 | "endPosition": "A String", # The ending position for the range. |
| 157 | }, |
| 158 | "imageCfiRange": { # Range in image CFI format for this annotation sent by client. |
| 159 | "startOffset": "A String", # The offset from the starting position. |
| 160 | "endOffset": "A String", # The offset from the ending position. |
| 161 | "startPosition": "A String", # The starting position for the range. |
| 162 | "endPosition": "A String", # The ending position for the range. |
| 163 | }, |
| 164 | "contentVersion": "A String", # Content version the client sent in. |
| 165 | }, |
| 166 | "selfLink": "A String", # URL to this resource. |
| 167 | "afterSelectedText": "A String", # Anchor text after excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty. |
| 168 | "layerSummary": { |
| 169 | "allowedCharacterCount": 42, # Maximum allowed characters on this layer, especially for the "copy" layer. |
| 170 | "limitType": "A String", # Type of limitation on this layer. "limited" or "unlimited" for the "copy" layer. |
| 171 | "remainingCharacterCount": 42, # Remaining allowed characters on this layer, especially for the "copy" layer. |
| 172 | }, |
| 173 | "pageIds": [ # Pages that this annotation spans. |
| 174 | "A String", |
| 175 | ], |
| 176 | "selectedText": "A String", # Excerpt from the volume. |
| 177 | "created": "A String", # Timestamp for the created time of this annotation. |
| 178 | "kind": "A String", # Resource type. |
| 179 | "id": "A String", # Id of this annotation, in the form of a GUID. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 180 | "currentVersionRanges": { # Selection ranges for the most recent content version. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 181 | "contentVersion": "A String", # Content version applicable to ranges below. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 182 | "cfiRange": { # Range in CFI format for this annotation for version above. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 183 | "startOffset": "A String", # The offset from the starting position. |
| 184 | "endOffset": "A String", # The offset from the ending position. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 185 | "startPosition": "A String", # The starting position for the range. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 186 | "endPosition": "A String", # The ending position for the range. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 187 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 188 | "imageCfiRange": { # Range in image CFI format for this annotation for version above. |
| 189 | "startOffset": "A String", # The offset from the starting position. |
| 190 | "endOffset": "A String", # The offset from the ending position. |
| 191 | "startPosition": "A String", # The starting position for the range. |
| 192 | "endPosition": "A String", # The ending position for the range. |
| 193 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 194 | "gbImageRange": { # Range in GB image format for this annotation for version above. |
| 195 | "startOffset": "A String", # The offset from the starting position. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 196 | "endOffset": "A String", # The offset from the ending position. |
| 197 | "startPosition": "A String", # The starting position for the range. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 198 | "endPosition": "A String", # The ending position for the range. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 199 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 200 | "gbTextRange": { # Range in GB text format for this annotation for version above. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 201 | "startOffset": "A String", # The offset from the starting position. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 202 | "endOffset": "A String", # The offset from the ending position. |
| 203 | "startPosition": "A String", # The starting position for the range. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 204 | "endPosition": "A String", # The ending position for the range. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 205 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 206 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 207 | } |
| 208 | |
| 209 | country: string, ISO-3166-1 code to override the IP-based location. |
| 210 | annotationId: string, The ID for the annotation to insert. |
| 211 | source: string, String to identify the originator of this request. |
| 212 | showOnlySummaryInResponse: boolean, Requests that only the summary of the specified layer be provided in the response. |
| 213 | x__xgafv: string, V1 error format. |
| 214 | Allowed values |
| 215 | 1 - v1 error format |
| 216 | 2 - v2 error format |
| 217 | |
| 218 | Returns: |
| 219 | An object of the form: |
| 220 | |
| 221 | { |
| 222 | "highlightStyle": "A String", # The highlight style for this annotation. |
| 223 | "layerId": "A String", # The layer this annotation is for. |
| 224 | "volumeId": "A String", # The volume that this annotation belongs to. |
| 225 | "beforeSelectedText": "A String", # Anchor text before excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty. |
| 226 | "data": "A String", # User-created data for this annotation. |
| 227 | "updated": "A String", # Timestamp for the last time this annotation was modified. |
| 228 | "deleted": True or False, # Indicates that this annotation is deleted. |
| 229 | "clientVersionRanges": { # Selection ranges sent from the client. |
| 230 | "gbImageRange": { # Range in GB image format for this annotation sent by client. |
| 231 | "startOffset": "A String", # The offset from the starting position. |
| 232 | "endOffset": "A String", # The offset from the ending position. |
| 233 | "startPosition": "A String", # The starting position for the range. |
| 234 | "endPosition": "A String", # The ending position for the range. |
| 235 | }, |
| 236 | "cfiRange": { # Range in CFI format for this annotation sent by client. |
| 237 | "startOffset": "A String", # The offset from the starting position. |
| 238 | "endOffset": "A String", # The offset from the ending position. |
| 239 | "startPosition": "A String", # The starting position for the range. |
| 240 | "endPosition": "A String", # The ending position for the range. |
| 241 | }, |
| 242 | "gbTextRange": { # Range in GB text format for this annotation sent by client. |
| 243 | "startOffset": "A String", # The offset from the starting position. |
| 244 | "endOffset": "A String", # The offset from the ending position. |
| 245 | "startPosition": "A String", # The starting position for the range. |
| 246 | "endPosition": "A String", # The ending position for the range. |
| 247 | }, |
| 248 | "imageCfiRange": { # Range in image CFI format for this annotation sent by client. |
| 249 | "startOffset": "A String", # The offset from the starting position. |
| 250 | "endOffset": "A String", # The offset from the ending position. |
| 251 | "startPosition": "A String", # The starting position for the range. |
| 252 | "endPosition": "A String", # The ending position for the range. |
| 253 | }, |
| 254 | "contentVersion": "A String", # Content version the client sent in. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 255 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 256 | "selfLink": "A String", # URL to this resource. |
| 257 | "afterSelectedText": "A String", # Anchor text after excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty. |
| 258 | "layerSummary": { |
| 259 | "allowedCharacterCount": 42, # Maximum allowed characters on this layer, especially for the "copy" layer. |
| 260 | "limitType": "A String", # Type of limitation on this layer. "limited" or "unlimited" for the "copy" layer. |
| 261 | "remainingCharacterCount": 42, # Remaining allowed characters on this layer, especially for the "copy" layer. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 262 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 263 | "pageIds": [ # Pages that this annotation spans. |
| 264 | "A String", |
| 265 | ], |
| 266 | "selectedText": "A String", # Excerpt from the volume. |
| 267 | "created": "A String", # Timestamp for the created time of this annotation. |
| 268 | "kind": "A String", # Resource type. |
| 269 | "id": "A String", # Id of this annotation, in the form of a GUID. |
| 270 | "currentVersionRanges": { # Selection ranges for the most recent content version. |
| 271 | "contentVersion": "A String", # Content version applicable to ranges below. |
| 272 | "cfiRange": { # Range in CFI format for this annotation for version above. |
| 273 | "startOffset": "A String", # The offset from the starting position. |
| 274 | "endOffset": "A String", # The offset from the ending position. |
| 275 | "startPosition": "A String", # The starting position for the range. |
| 276 | "endPosition": "A String", # The ending position for the range. |
| 277 | }, |
| 278 | "imageCfiRange": { # Range in image CFI format for this annotation for version above. |
| 279 | "startOffset": "A String", # The offset from the starting position. |
| 280 | "endOffset": "A String", # The offset from the ending position. |
| 281 | "startPosition": "A String", # The starting position for the range. |
| 282 | "endPosition": "A String", # The ending position for the range. |
| 283 | }, |
| 284 | "gbImageRange": { # Range in GB image format for this annotation for version above. |
| 285 | "startOffset": "A String", # The offset from the starting position. |
| 286 | "endOffset": "A String", # The offset from the ending position. |
| 287 | "startPosition": "A String", # The starting position for the range. |
| 288 | "endPosition": "A String", # The ending position for the range. |
| 289 | }, |
| 290 | "gbTextRange": { # Range in GB text format for this annotation for version above. |
| 291 | "startOffset": "A String", # The offset from the starting position. |
| 292 | "endOffset": "A String", # The offset from the ending position. |
| 293 | "startPosition": "A String", # The starting position for the range. |
| 294 | "endPosition": "A String", # The ending position for the range. |
| 295 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 296 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 297 | }</pre> |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 298 | </div> |
| 299 | |
| 300 | <div class="method"> |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 301 | <code class="details" id="list">list(maxResults=None, layerIds=None, volumeId=None, source=None, updatedMax=None, pageToken=None, layerId=None, updatedMin=None, contentVersion=None, showDeleted=None, x__xgafv=None)</code> |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 302 | <pre>Retrieves a list of annotations, possibly filtered. |
| 303 | |
| 304 | Args: |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 305 | maxResults: integer, Maximum number of results to return |
| 306 | layerIds: string, The layer ID(s) to limit annotation by. (repeated) |
| 307 | volumeId: string, The volume to restrict annotations to. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 308 | source: string, String to identify the originator of this request. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 309 | updatedMax: string, RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive). |
| 310 | pageToken: string, The value of the nextToken from the previous page. |
| 311 | layerId: string, The layer ID to limit annotation by. |
| 312 | updatedMin: string, RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive). |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 313 | contentVersion: string, The content version for the requested volume. |
| 314 | showDeleted: boolean, Set to true to return deleted annotations. updatedMin must be in the request to use this. Defaults to false. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 315 | x__xgafv: string, V1 error format. |
| 316 | Allowed values |
| 317 | 1 - v1 error format |
| 318 | 2 - v2 error format |
| 319 | |
| 320 | Returns: |
| 321 | An object of the form: |
| 322 | |
| 323 | { |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 324 | "totalItems": 42, # Total number of annotations found. This may be greater than the number of notes returned in this response if results have been paginated. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 325 | "kind": "A String", # Resource type. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 326 | "nextPageToken": "A String", # Token to pass in for pagination for the next page. This will not be present if this request does not have more results. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 327 | "items": [ # A list of annotations. |
| 328 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 329 | "highlightStyle": "A String", # The highlight style for this annotation. |
| 330 | "layerId": "A String", # The layer this annotation is for. |
| 331 | "volumeId": "A String", # The volume that this annotation belongs to. |
| 332 | "beforeSelectedText": "A String", # Anchor text before excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty. |
| 333 | "data": "A String", # User-created data for this annotation. |
| 334 | "updated": "A String", # Timestamp for the last time this annotation was modified. |
| 335 | "deleted": True or False, # Indicates that this annotation is deleted. |
| 336 | "clientVersionRanges": { # Selection ranges sent from the client. |
| 337 | "gbImageRange": { # Range in GB image format for this annotation sent by client. |
| 338 | "startOffset": "A String", # The offset from the starting position. |
| 339 | "endOffset": "A String", # The offset from the ending position. |
| 340 | "startPosition": "A String", # The starting position for the range. |
| 341 | "endPosition": "A String", # The ending position for the range. |
| 342 | }, |
| 343 | "cfiRange": { # Range in CFI format for this annotation sent by client. |
| 344 | "startOffset": "A String", # The offset from the starting position. |
| 345 | "endOffset": "A String", # The offset from the ending position. |
| 346 | "startPosition": "A String", # The starting position for the range. |
| 347 | "endPosition": "A String", # The ending position for the range. |
| 348 | }, |
| 349 | "gbTextRange": { # Range in GB text format for this annotation sent by client. |
| 350 | "startOffset": "A String", # The offset from the starting position. |
| 351 | "endOffset": "A String", # The offset from the ending position. |
| 352 | "startPosition": "A String", # The starting position for the range. |
| 353 | "endPosition": "A String", # The ending position for the range. |
| 354 | }, |
| 355 | "imageCfiRange": { # Range in image CFI format for this annotation sent by client. |
| 356 | "startOffset": "A String", # The offset from the starting position. |
| 357 | "endOffset": "A String", # The offset from the ending position. |
| 358 | "startPosition": "A String", # The starting position for the range. |
| 359 | "endPosition": "A String", # The ending position for the range. |
| 360 | }, |
| 361 | "contentVersion": "A String", # Content version the client sent in. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 362 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 363 | "selfLink": "A String", # URL to this resource. |
| 364 | "afterSelectedText": "A String", # Anchor text after excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty. |
| 365 | "layerSummary": { |
| 366 | "allowedCharacterCount": 42, # Maximum allowed characters on this layer, especially for the "copy" layer. |
| 367 | "limitType": "A String", # Type of limitation on this layer. "limited" or "unlimited" for the "copy" layer. |
| 368 | "remainingCharacterCount": 42, # Remaining allowed characters on this layer, especially for the "copy" layer. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 369 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 370 | "pageIds": [ # Pages that this annotation spans. |
| 371 | "A String", |
| 372 | ], |
| 373 | "selectedText": "A String", # Excerpt from the volume. |
| 374 | "created": "A String", # Timestamp for the created time of this annotation. |
| 375 | "kind": "A String", # Resource type. |
| 376 | "id": "A String", # Id of this annotation, in the form of a GUID. |
| 377 | "currentVersionRanges": { # Selection ranges for the most recent content version. |
| 378 | "contentVersion": "A String", # Content version applicable to ranges below. |
| 379 | "cfiRange": { # Range in CFI format for this annotation for version above. |
| 380 | "startOffset": "A String", # The offset from the starting position. |
| 381 | "endOffset": "A String", # The offset from the ending position. |
| 382 | "startPosition": "A String", # The starting position for the range. |
| 383 | "endPosition": "A String", # The ending position for the range. |
| 384 | }, |
| 385 | "imageCfiRange": { # Range in image CFI format for this annotation for version above. |
| 386 | "startOffset": "A String", # The offset from the starting position. |
| 387 | "endOffset": "A String", # The offset from the ending position. |
| 388 | "startPosition": "A String", # The starting position for the range. |
| 389 | "endPosition": "A String", # The ending position for the range. |
| 390 | }, |
| 391 | "gbImageRange": { # Range in GB image format for this annotation for version above. |
| 392 | "startOffset": "A String", # The offset from the starting position. |
| 393 | "endOffset": "A String", # The offset from the ending position. |
| 394 | "startPosition": "A String", # The starting position for the range. |
| 395 | "endPosition": "A String", # The ending position for the range. |
| 396 | }, |
| 397 | "gbTextRange": { # Range in GB text format for this annotation for version above. |
| 398 | "startOffset": "A String", # The offset from the starting position. |
| 399 | "endOffset": "A String", # The offset from the ending position. |
| 400 | "startPosition": "A String", # The starting position for the range. |
| 401 | "endPosition": "A String", # The ending position for the range. |
| 402 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 403 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 404 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 405 | ], |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 406 | }</pre> |
| 407 | </div> |
| 408 | |
| 409 | <div class="method"> |
| 410 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 411 | <pre>Retrieves the next page of results. |
| 412 | |
| 413 | Args: |
| 414 | previous_request: The request for the previous page. (required) |
| 415 | previous_response: The response from the request for the previous page. (required) |
| 416 | |
| 417 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 418 | A request object that you can call 'execute()' on to request the next |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 419 | page. Returns None if there are no more items in the collection. |
| 420 | </pre> |
| 421 | </div> |
| 422 | |
| 423 | <div class="method"> |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 424 | <code class="details" id="summary">summary(layerIds, volumeId, x__xgafv=None)</code> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 425 | <pre>Gets the summary of specified layers. |
| 426 | |
| 427 | Args: |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 428 | layerIds: string, Array of layer IDs to get the summary for. (required) (repeated) |
| 429 | volumeId: string, Volume id to get the summary for. (required) |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 430 | x__xgafv: string, V1 error format. |
| 431 | Allowed values |
| 432 | 1 - v1 error format |
| 433 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 434 | |
| 435 | Returns: |
| 436 | An object of the form: |
| 437 | |
| 438 | { |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 439 | "kind": "A String", |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 440 | "layers": [ |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 441 | { |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 442 | "remainingCharacterCount": 42, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 443 | "updated": "A String", |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 444 | "limitType": "A String", |
| 445 | "allowedCharacterCount": 42, |
| 446 | "layerId": "A String", |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 447 | }, |
| 448 | ], |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 449 | }</pre> |
| 450 | </div> |
| 451 | |
| 452 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 453 | <code class="details" id="update">update(annotationId, body=None, source=None, x__xgafv=None)</code> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 454 | <pre>Updates an existing annotation. |
| 455 | |
| 456 | Args: |
| 457 | annotationId: string, The ID for the annotation to update. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 458 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 459 | The object takes the form of: |
| 460 | |
| 461 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 462 | "highlightStyle": "A String", # The highlight style for this annotation. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 463 | "layerId": "A String", # The layer this annotation is for. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 464 | "volumeId": "A String", # The volume that this annotation belongs to. |
| 465 | "beforeSelectedText": "A String", # Anchor text before excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty. |
| 466 | "data": "A String", # User-created data for this annotation. |
| 467 | "updated": "A String", # Timestamp for the last time this annotation was modified. |
| 468 | "deleted": True or False, # Indicates that this annotation is deleted. |
| 469 | "clientVersionRanges": { # Selection ranges sent from the client. |
| 470 | "gbImageRange": { # Range in GB image format for this annotation sent by client. |
| 471 | "startOffset": "A String", # The offset from the starting position. |
| 472 | "endOffset": "A String", # The offset from the ending position. |
| 473 | "startPosition": "A String", # The starting position for the range. |
| 474 | "endPosition": "A String", # The ending position for the range. |
| 475 | }, |
| 476 | "cfiRange": { # Range in CFI format for this annotation sent by client. |
| 477 | "startOffset": "A String", # The offset from the starting position. |
| 478 | "endOffset": "A String", # The offset from the ending position. |
| 479 | "startPosition": "A String", # The starting position for the range. |
| 480 | "endPosition": "A String", # The ending position for the range. |
| 481 | }, |
| 482 | "gbTextRange": { # Range in GB text format for this annotation sent by client. |
| 483 | "startOffset": "A String", # The offset from the starting position. |
| 484 | "endOffset": "A String", # The offset from the ending position. |
| 485 | "startPosition": "A String", # The starting position for the range. |
| 486 | "endPosition": "A String", # The ending position for the range. |
| 487 | }, |
| 488 | "imageCfiRange": { # Range in image CFI format for this annotation sent by client. |
| 489 | "startOffset": "A String", # The offset from the starting position. |
| 490 | "endOffset": "A String", # The offset from the ending position. |
| 491 | "startPosition": "A String", # The starting position for the range. |
| 492 | "endPosition": "A String", # The ending position for the range. |
| 493 | }, |
| 494 | "contentVersion": "A String", # Content version the client sent in. |
| 495 | }, |
| 496 | "selfLink": "A String", # URL to this resource. |
| 497 | "afterSelectedText": "A String", # Anchor text after excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty. |
| 498 | "layerSummary": { |
| 499 | "allowedCharacterCount": 42, # Maximum allowed characters on this layer, especially for the "copy" layer. |
| 500 | "limitType": "A String", # Type of limitation on this layer. "limited" or "unlimited" for the "copy" layer. |
| 501 | "remainingCharacterCount": 42, # Remaining allowed characters on this layer, especially for the "copy" layer. |
| 502 | }, |
| 503 | "pageIds": [ # Pages that this annotation spans. |
| 504 | "A String", |
| 505 | ], |
| 506 | "selectedText": "A String", # Excerpt from the volume. |
| 507 | "created": "A String", # Timestamp for the created time of this annotation. |
| 508 | "kind": "A String", # Resource type. |
| 509 | "id": "A String", # Id of this annotation, in the form of a GUID. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 510 | "currentVersionRanges": { # Selection ranges for the most recent content version. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 511 | "contentVersion": "A String", # Content version applicable to ranges below. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 512 | "cfiRange": { # Range in CFI format for this annotation for version above. |
| 513 | "startOffset": "A String", # The offset from the starting position. |
| 514 | "endOffset": "A String", # The offset from the ending position. |
| 515 | "startPosition": "A String", # The starting position for the range. |
| 516 | "endPosition": "A String", # The ending position for the range. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 517 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 518 | "imageCfiRange": { # Range in image CFI format for this annotation for version above. |
| 519 | "startOffset": "A String", # The offset from the starting position. |
| 520 | "endOffset": "A String", # The offset from the ending position. |
| 521 | "startPosition": "A String", # The starting position for the range. |
| 522 | "endPosition": "A String", # The ending position for the range. |
| 523 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 524 | "gbImageRange": { # Range in GB image format for this annotation for version above. |
| 525 | "startOffset": "A String", # The offset from the starting position. |
| 526 | "endOffset": "A String", # The offset from the ending position. |
| 527 | "startPosition": "A String", # The starting position for the range. |
| 528 | "endPosition": "A String", # The ending position for the range. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 529 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 530 | "gbTextRange": { # Range in GB text format for this annotation for version above. |
| 531 | "startOffset": "A String", # The offset from the starting position. |
| 532 | "endOffset": "A String", # The offset from the ending position. |
| 533 | "startPosition": "A String", # The starting position for the range. |
| 534 | "endPosition": "A String", # The ending position for the range. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 535 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 536 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 537 | } |
| 538 | |
| 539 | source: string, String to identify the originator of this request. |
| 540 | x__xgafv: string, V1 error format. |
| 541 | Allowed values |
| 542 | 1 - v1 error format |
| 543 | 2 - v2 error format |
| 544 | |
| 545 | Returns: |
| 546 | An object of the form: |
| 547 | |
| 548 | { |
| 549 | "highlightStyle": "A String", # The highlight style for this annotation. |
| 550 | "layerId": "A String", # The layer this annotation is for. |
| 551 | "volumeId": "A String", # The volume that this annotation belongs to. |
| 552 | "beforeSelectedText": "A String", # Anchor text before excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty. |
| 553 | "data": "A String", # User-created data for this annotation. |
| 554 | "updated": "A String", # Timestamp for the last time this annotation was modified. |
| 555 | "deleted": True or False, # Indicates that this annotation is deleted. |
| 556 | "clientVersionRanges": { # Selection ranges sent from the client. |
| 557 | "gbImageRange": { # Range in GB image format for this annotation sent by client. |
| 558 | "startOffset": "A String", # The offset from the starting position. |
| 559 | "endOffset": "A String", # The offset from the ending position. |
| 560 | "startPosition": "A String", # The starting position for the range. |
| 561 | "endPosition": "A String", # The ending position for the range. |
| 562 | }, |
| 563 | "cfiRange": { # Range in CFI format for this annotation sent by client. |
| 564 | "startOffset": "A String", # The offset from the starting position. |
| 565 | "endOffset": "A String", # The offset from the ending position. |
| 566 | "startPosition": "A String", # The starting position for the range. |
| 567 | "endPosition": "A String", # The ending position for the range. |
| 568 | }, |
| 569 | "gbTextRange": { # Range in GB text format for this annotation sent by client. |
| 570 | "startOffset": "A String", # The offset from the starting position. |
| 571 | "endOffset": "A String", # The offset from the ending position. |
| 572 | "startPosition": "A String", # The starting position for the range. |
| 573 | "endPosition": "A String", # The ending position for the range. |
| 574 | }, |
| 575 | "imageCfiRange": { # Range in image CFI format for this annotation sent by client. |
| 576 | "startOffset": "A String", # The offset from the starting position. |
| 577 | "endOffset": "A String", # The offset from the ending position. |
| 578 | "startPosition": "A String", # The starting position for the range. |
| 579 | "endPosition": "A String", # The ending position for the range. |
| 580 | }, |
| 581 | "contentVersion": "A String", # Content version the client sent in. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 582 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 583 | "selfLink": "A String", # URL to this resource. |
| 584 | "afterSelectedText": "A String", # Anchor text after excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty. |
| 585 | "layerSummary": { |
| 586 | "allowedCharacterCount": 42, # Maximum allowed characters on this layer, especially for the "copy" layer. |
| 587 | "limitType": "A String", # Type of limitation on this layer. "limited" or "unlimited" for the "copy" layer. |
| 588 | "remainingCharacterCount": 42, # Remaining allowed characters on this layer, especially for the "copy" layer. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 589 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 590 | "pageIds": [ # Pages that this annotation spans. |
| 591 | "A String", |
| 592 | ], |
| 593 | "selectedText": "A String", # Excerpt from the volume. |
| 594 | "created": "A String", # Timestamp for the created time of this annotation. |
| 595 | "kind": "A String", # Resource type. |
| 596 | "id": "A String", # Id of this annotation, in the form of a GUID. |
| 597 | "currentVersionRanges": { # Selection ranges for the most recent content version. |
| 598 | "contentVersion": "A String", # Content version applicable to ranges below. |
| 599 | "cfiRange": { # Range in CFI format for this annotation for version above. |
| 600 | "startOffset": "A String", # The offset from the starting position. |
| 601 | "endOffset": "A String", # The offset from the ending position. |
| 602 | "startPosition": "A String", # The starting position for the range. |
| 603 | "endPosition": "A String", # The ending position for the range. |
| 604 | }, |
| 605 | "imageCfiRange": { # Range in image CFI format for this annotation for version above. |
| 606 | "startOffset": "A String", # The offset from the starting position. |
| 607 | "endOffset": "A String", # The offset from the ending position. |
| 608 | "startPosition": "A String", # The starting position for the range. |
| 609 | "endPosition": "A String", # The ending position for the range. |
| 610 | }, |
| 611 | "gbImageRange": { # Range in GB image format for this annotation for version above. |
| 612 | "startOffset": "A String", # The offset from the starting position. |
| 613 | "endOffset": "A String", # The offset from the ending position. |
| 614 | "startPosition": "A String", # The starting position for the range. |
| 615 | "endPosition": "A String", # The ending position for the range. |
| 616 | }, |
| 617 | "gbTextRange": { # Range in GB text format for this annotation for version above. |
| 618 | "startOffset": "A String", # The offset from the starting position. |
| 619 | "endOffset": "A String", # The offset from the ending position. |
| 620 | "startPosition": "A String", # The starting position for the range. |
| 621 | "endPosition": "A String", # The ending position for the range. |
| 622 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 623 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 624 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 625 | </div> |
| 626 | |
| 627 | </body></html> |