OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/books": { | 5 "https://www.googleapis.com/auth/books": { |
6 "description": "Manage your books" | 6 "description": "Manage your books" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
11 "basePath": "/books/v1/", | 11 "basePath": "/books/v1/", |
12 "baseUrl": "https://www.googleapis.com/books/v1/", | 12 "baseUrl": "https://www.googleapis.com/books/v1/", |
13 "batchPath": "batch", | 13 "batchPath": "batch", |
14 "description": "Lets you search for books and manage your Google Books libra
ry.", | 14 "description": "Lets you search for books and manage your Google Books libra
ry.", |
15 "discoveryVersion": "v1", | 15 "discoveryVersion": "v1", |
16 "documentationLink": "https://developers.google.com/books/docs/v1/getting_st
arted", | 16 "documentationLink": "https://developers.google.com/books/docs/v1/getting_st
arted", |
17 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/XYINYydMW1yxY9sZ7pYYpIG24qI\"", | 17 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/dPbUdi5gPnAdRztFfCAhfKJ-jSQ\"", |
18 "icons": { | 18 "icons": { |
19 "x16": "http://www.google.com/images/icons/product/ebooks-16.png", | 19 "x16": "https://www.google.com/images/icons/product/ebooks-16.png", |
20 "x32": "http://www.google.com/images/icons/product/ebooks-32.png" | 20 "x32": "https://www.google.com/images/icons/product/ebooks-32.png" |
21 }, | 21 }, |
22 "id": "books:v1", | 22 "id": "books:v1", |
23 "kind": "discovery#restDescription", | 23 "kind": "discovery#restDescription", |
24 "name": "books", | 24 "name": "books", |
25 "ownerDomain": "google.com", | 25 "ownerDomain": "google.com", |
26 "ownerName": "Google", | 26 "ownerName": "Google", |
27 "parameters": { | 27 "parameters": { |
28 "alt": { | 28 "alt": { |
29 "default": "json", | 29 "default": "json", |
30 "description": "Data format for the response.", | 30 "description": "Data format for the response.", |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 }, | 263 }, |
264 "response": { | 264 "response": { |
265 "$ref": "BooksCloudloadingResource" | 265 "$ref": "BooksCloudloadingResource" |
266 }, | 266 }, |
267 "scopes": [ | 267 "scopes": [ |
268 "https://www.googleapis.com/auth/books" | 268 "https://www.googleapis.com/auth/books" |
269 ] | 269 ] |
270 } | 270 } |
271 } | 271 } |
272 }, | 272 }, |
| 273 "dictionary": { |
| 274 "methods": { |
| 275 "listOfflineMetadata": { |
| 276 "description": "Returns a list of offline dictionary meatada
ta available", |
| 277 "httpMethod": "GET", |
| 278 "id": "books.dictionary.listOfflineMetadata", |
| 279 "parameterOrder": [ |
| 280 "cpksver" |
| 281 ], |
| 282 "parameters": { |
| 283 "cpksver": { |
| 284 "description": "The device/version ID from which to
request the data.", |
| 285 "location": "query", |
| 286 "required": true, |
| 287 "type": "string" |
| 288 } |
| 289 }, |
| 290 "path": "dictionary/listOfflineMetadata", |
| 291 "response": { |
| 292 "$ref": "Metadata" |
| 293 }, |
| 294 "scopes": [ |
| 295 "https://www.googleapis.com/auth/books" |
| 296 ] |
| 297 } |
| 298 } |
| 299 }, |
273 "layers": { | 300 "layers": { |
274 "methods": { | 301 "methods": { |
275 "get": { | 302 "get": { |
276 "description": "Gets the layer summary for a volume.", | 303 "description": "Gets the layer summary for a volume.", |
277 "httpMethod": "GET", | 304 "httpMethod": "GET", |
278 "id": "books.layers.get", | 305 "id": "books.layers.get", |
279 "parameterOrder": [ | 306 "parameterOrder": [ |
280 "volumeId", | 307 "volumeId", |
281 "summaryId" | 308 "summaryId" |
282 ], | 309 ], |
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
919 }, | 946 }, |
920 "scopes": [ | 947 "scopes": [ |
921 "https://www.googleapis.com/auth/books" | 948 "https://www.googleapis.com/auth/books" |
922 ] | 949 ] |
923 }, | 950 }, |
924 "insert": { | 951 "insert": { |
925 "description": "Inserts a new annotation.", | 952 "description": "Inserts a new annotation.", |
926 "httpMethod": "POST", | 953 "httpMethod": "POST", |
927 "id": "books.mylibrary.annotations.insert", | 954 "id": "books.mylibrary.annotations.insert", |
928 "parameters": { | 955 "parameters": { |
| 956 "country": { |
| 957 "description": "ISO-3166-1 code to override
the IP-based location.", |
| 958 "location": "query", |
| 959 "type": "string" |
| 960 }, |
929 "showOnlySummaryInResponse": { | 961 "showOnlySummaryInResponse": { |
930 "description": "Requests that only the summa
ry of the specified layer be provided in the response.", | 962 "description": "Requests that only the summa
ry of the specified layer be provided in the response.", |
931 "location": "query", | 963 "location": "query", |
932 "type": "boolean" | 964 "type": "boolean" |
933 }, | 965 }, |
934 "source": { | 966 "source": { |
935 "description": "String to identify the origi
nator of this request.", | 967 "description": "String to identify the origi
nator of this request.", |
936 "location": "query", | 968 "location": "query", |
937 "type": "string" | 969 "type": "string" |
938 } | 970 } |
(...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2062 }, | 2094 }, |
2063 "scopes": [ | 2095 "scopes": [ |
2064 "https://www.googleapis.com/auth/books" | 2096 "https://www.googleapis.com/auth/books" |
2065 ] | 2097 ] |
2066 } | 2098 } |
2067 } | 2099 } |
2068 } | 2100 } |
2069 } | 2101 } |
2070 } | 2102 } |
2071 }, | 2103 }, |
2072 "revision": "20140507", | 2104 "revision": "20141112", |
2073 "rootUrl": "https://www.googleapis.com/", | 2105 "rootUrl": "https://www.googleapis.com/", |
2074 "schemas": { | 2106 "schemas": { |
2075 "Annotation": { | 2107 "Annotation": { |
2076 "id": "Annotation", | 2108 "id": "Annotation", |
2077 "properties": { | 2109 "properties": { |
2078 "afterSelectedText": { | 2110 "afterSelectedText": { |
2079 "description": "Anchor text after excerpt. For requests, if
the user bookmarked a screen that has no flowing text on it, then this field sho
uld be empty.", | 2111 "description": "Anchor text after excerpt. For requests, if
the user bookmarked a screen that has no flowing text on it, then this field sho
uld be empty.", |
2080 "type": "string" | 2112 "type": "string" |
2081 }, | 2113 }, |
2082 "beforeSelectedText": { | 2114 "beforeSelectedText": { |
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2992 "description": "The current version of this layer's volume a
nnotations. Note that this version applies only to the data in the books.layers.
volumeAnnotations.* responses. The actual annotation data is versioned separatel
y.", | 3024 "description": "The current version of this layer's volume a
nnotations. Note that this version applies only to the data in the books.layers.
volumeAnnotations.* responses. The actual annotation data is versioned separatel
y.", |
2993 "type": "string" | 3025 "type": "string" |
2994 }, | 3026 }, |
2995 "volumeId": { | 3027 "volumeId": { |
2996 "description": "The volume id this resource is for.", | 3028 "description": "The volume id this resource is for.", |
2997 "type": "string" | 3029 "type": "string" |
2998 } | 3030 } |
2999 }, | 3031 }, |
3000 "type": "object" | 3032 "type": "object" |
3001 }, | 3033 }, |
| 3034 "Metadata": { |
| 3035 "id": "Metadata", |
| 3036 "properties": { |
| 3037 "items": { |
| 3038 "description": "A list of offline dictionary metadata.", |
| 3039 "items": { |
| 3040 "properties": { |
| 3041 "download_url": { |
| 3042 "type": "string" |
| 3043 }, |
| 3044 "encrypted_key": { |
| 3045 "type": "string" |
| 3046 }, |
| 3047 "language": { |
| 3048 "type": "string" |
| 3049 }, |
| 3050 "size": { |
| 3051 "format": "int64", |
| 3052 "type": "string" |
| 3053 }, |
| 3054 "version": { |
| 3055 "format": "int64", |
| 3056 "type": "string" |
| 3057 } |
| 3058 }, |
| 3059 "type": "object" |
| 3060 }, |
| 3061 "type": "array" |
| 3062 }, |
| 3063 "kind": { |
| 3064 "default": "dictionary#metadata", |
| 3065 "description": "Resource type.", |
| 3066 "type": "string" |
| 3067 } |
| 3068 }, |
| 3069 "type": "object" |
| 3070 }, |
3002 "Offers": { | 3071 "Offers": { |
3003 "id": "Offers", | 3072 "id": "Offers", |
3004 "properties": { | 3073 "properties": { |
3005 "items": { | 3074 "items": { |
3006 "description": "A list of offers.", | 3075 "description": "A list of offers.", |
3007 "items": { | 3076 "items": { |
3008 "properties": { | 3077 "properties": { |
3009 "artUrl": { | 3078 "artUrl": { |
3010 "type": "string" | 3079 "type": "string" |
3011 }, | 3080 }, |
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3815 "type": "integer" | 3884 "type": "integer" |
3816 } | 3885 } |
3817 }, | 3886 }, |
3818 "type": "object" | 3887 "type": "object" |
3819 } | 3888 } |
3820 }, | 3889 }, |
3821 "servicePath": "books/v1/", | 3890 "servicePath": "books/v1/", |
3822 "title": "Books API", | 3891 "title": "Books API", |
3823 "version": "v1" | 3892 "version": "v1" |
3824 } | 3893 } |
OLD | NEW |