| 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": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/kNB4QIeM_hYb1gDtvlVUUPro4uQ\"", | 17 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/7vCHfrhi9Lj_cY5xxg_5Db6xPtw\"", |
| 18 "icons": { | 18 "icons": { |
| 19 "x16": "https://www.google.com/images/icons/product/ebooks-16.png", | 19 "x16": "https://www.google.com/images/icons/product/ebooks-16.png", |
| 20 "x32": "https://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": { |
| (...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 940 "description": "String to identify the origi
nator of this request.", | 940 "description": "String to identify the origi
nator of this request.", |
| 941 "location": "query", | 941 "location": "query", |
| 942 "type": "string" | 942 "type": "string" |
| 943 } | 943 } |
| 944 }, | 944 }, |
| 945 "path": "mylibrary/annotations/{annotationId}", | 945 "path": "mylibrary/annotations/{annotationId}", |
| 946 "scopes": [ | 946 "scopes": [ |
| 947 "https://www.googleapis.com/auth/books" | 947 "https://www.googleapis.com/auth/books" |
| 948 ] | 948 ] |
| 949 }, | 949 }, |
| 950 "get": { | |
| 951 "description": "Gets an annotation by its ID.", | |
| 952 "httpMethod": "GET", | |
| 953 "id": "books.mylibrary.annotations.get", | |
| 954 "parameterOrder": [ | |
| 955 "annotationId" | |
| 956 ], | |
| 957 "parameters": { | |
| 958 "annotationId": { | |
| 959 "description": "The ID for the annotation to
retrieve.", | |
| 960 "location": "path", | |
| 961 "required": true, | |
| 962 "type": "string" | |
| 963 }, | |
| 964 "source": { | |
| 965 "description": "String to identify the origi
nator of this request.", | |
| 966 "location": "query", | |
| 967 "type": "string" | |
| 968 } | |
| 969 }, | |
| 970 "path": "mylibrary/annotations/{annotationId}", | |
| 971 "response": { | |
| 972 "$ref": "Annotation" | |
| 973 }, | |
| 974 "scopes": [ | |
| 975 "https://www.googleapis.com/auth/books" | |
| 976 ] | |
| 977 }, | |
| 978 "insert": { | 950 "insert": { |
| 979 "description": "Inserts a new annotation.", | 951 "description": "Inserts a new annotation.", |
| 980 "httpMethod": "POST", | 952 "httpMethod": "POST", |
| 981 "id": "books.mylibrary.annotations.insert", | 953 "id": "books.mylibrary.annotations.insert", |
| 982 "parameters": { | 954 "parameters": { |
| 983 "country": { | 955 "country": { |
| 984 "description": "ISO-3166-1 code to override
the IP-based location.", | 956 "description": "ISO-3166-1 code to override
the IP-based location.", |
| 985 "location": "query", | 957 "location": "query", |
| 986 "type": "string" | 958 "type": "string" |
| 987 }, | 959 }, |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1029 "type": "string" | 1001 "type": "string" |
| 1030 }, | 1002 }, |
| 1031 "maxResults": { | 1003 "maxResults": { |
| 1032 "description": "Maximum number of results to
return", | 1004 "description": "Maximum number of results to
return", |
| 1033 "format": "uint32", | 1005 "format": "uint32", |
| 1034 "location": "query", | 1006 "location": "query", |
| 1035 "maximum": "40", | 1007 "maximum": "40", |
| 1036 "minimum": "0", | 1008 "minimum": "0", |
| 1037 "type": "integer" | 1009 "type": "integer" |
| 1038 }, | 1010 }, |
| 1039 "pageIds": { | |
| 1040 "description": "The page ID(s) for the volum
e that is being queried.", | |
| 1041 "location": "query", | |
| 1042 "repeated": true, | |
| 1043 "type": "string" | |
| 1044 }, | |
| 1045 "pageToken": { | 1011 "pageToken": { |
| 1046 "description": "The value of the nextToken f
rom the previous page.", | 1012 "description": "The value of the nextToken f
rom the previous page.", |
| 1047 "location": "query", | 1013 "location": "query", |
| 1048 "type": "string" | 1014 "type": "string" |
| 1049 }, | 1015 }, |
| 1050 "showDeleted": { | 1016 "showDeleted": { |
| 1051 "description": "Set to true to return delete
d annotations. updatedMin must be in the request to use this. Defaults to false.
", | 1017 "description": "Set to true to return delete
d annotations. updatedMin must be in the request to use this. Defaults to false.
", |
| 1052 "location": "query", | 1018 "location": "query", |
| 1053 "type": "boolean" | 1019 "type": "boolean" |
| 1054 }, | 1020 }, |
| (...skipping 1157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2212 }, | 2178 }, |
| 2213 "scopes": [ | 2179 "scopes": [ |
| 2214 "https://www.googleapis.com/auth/books" | 2180 "https://www.googleapis.com/auth/books" |
| 2215 ] | 2181 ] |
| 2216 } | 2182 } |
| 2217 } | 2183 } |
| 2218 } | 2184 } |
| 2219 } | 2185 } |
| 2220 } | 2186 } |
| 2221 }, | 2187 }, |
| 2222 "revision": "20150115", | 2188 "revision": "20150309", |
| 2223 "rootUrl": "https://www.googleapis.com/", | 2189 "rootUrl": "https://www.googleapis.com/", |
| 2224 "schemas": { | 2190 "schemas": { |
| 2225 "Annotation": { | 2191 "Annotation": { |
| 2226 "id": "Annotation", | 2192 "id": "Annotation", |
| 2227 "properties": { | 2193 "properties": { |
| 2228 "afterSelectedText": { | 2194 "afterSelectedText": { |
| 2229 "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.", | 2195 "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.", |
| 2230 "type": "string" | 2196 "type": "string" |
| 2231 }, | 2197 }, |
| 2232 "beforeSelectedText": { | 2198 "beforeSelectedText": { |
| (...skipping 1850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4083 "type": "integer" | 4049 "type": "integer" |
| 4084 } | 4050 } |
| 4085 }, | 4051 }, |
| 4086 "type": "object" | 4052 "type": "object" |
| 4087 } | 4053 } |
| 4088 }, | 4054 }, |
| 4089 "servicePath": "books/v1/", | 4055 "servicePath": "books/v1/", |
| 4090 "title": "Books API", | 4056 "title": "Books API", |
| 4091 "version": "v1" | 4057 "version": "v1" |
| 4092 } | 4058 } |
| OLD | NEW |