Debian Codegraph @

googleapiclient/discovery_cache/documents/webcontentpublisher.v1.json

raw
1 {
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/subscribewithgoogle.publications.entitlements.readonly": {
6 "description": "See and review your subscription information"
7 }
8 }
9 }
10 },
11 "basePath": "",
12 "baseUrl": "https://webcontentpublisher.googleapis.com/",
13 "batchPath": "batch",
14 "canonicalName": "Web Content Publisher",
15 "description": "webcontentpublisher.googleapis.com API, a service for web content publishers.",
16 "discoveryVersion": "v1",
17 "documentationLink": "https://developers.google.com/news/subscribe",
18 "fullyEncodeReservedExpansion": true,
19 "icons": {
20 "x16": "http://www.google.com/images/icons/product/search-16.gif",
21 "x32": "http://www.google.com/images/icons/product/search-32.gif"
22 },
23 "id": "webcontentpublisher:v1",
24 "kind": "discovery#restDescription",
25 "mtlsRootUrl": "https://webcontentpublisher.mtls.googleapis.com/",
26 "name": "webcontentpublisher",
27 "ownerDomain": "google.com",
28 "ownerName": "Google",
29 "parameters": {
30 "$.xgafv": {
31 "description": "V1 error format.",
32 "enum": [
33 "1",
34 "2"
35 ],
36 "enumDescriptions": [
37 "v1 error format",
38 "v2 error format"
39 ],
40 "location": "query",
41 "type": "string"
42 },
43 "access_token": {
44 "description": "OAuth access token.",
45 "location": "query",
46 "type": "string"
47 },
48 "alt": {
49 "default": "json",
50 "description": "Data format for response.",
51 "enum": [
52 "json",
53 "media",
54 "proto"
55 ],
56 "enumDescriptions": [
57 "Responses with Content-Type of application/json",
58 "Media download with context-dependent Content-Type",
59 "Responses with Content-Type of application/x-protobuf"
60 ],
61 "location": "query",
62 "type": "string"
63 },
64 "callback": {
65 "description": "JSONP",
66 "location": "query",
67 "type": "string"
68 },
69 "fields": {
70 "description": "Selector specifying which fields to include in a partial response.",
71 "location": "query",
72 "type": "string"
73 },
74 "key": {
75 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
76 "location": "query",
77 "type": "string"
78 },
79 "oauth_token": {
80 "description": "OAuth 2.0 token for the current user.",
81 "location": "query",
82 "type": "string"
83 },
84 "prettyPrint": {
85 "default": "true",
86 "description": "Returns response with indentations and line breaks.",
87 "location": "query",
88 "type": "boolean"
89 },
90 "quotaUser": {
91 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
92 "location": "query",
93 "type": "string"
94 },
95 "uploadType": {
96 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
97 "location": "query",
98 "type": "string"
99 },
100 "upload_protocol": {
101 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
102 "location": "query",
103 "type": "string"
104 }
105 },
106 "protocol": "rest",
107 "resources": {
108 "publications": {
109 "methods": {
110 "checkFreeAccess": {
111 "description": "Checks if a user is eligible for free article access.",
112 "flatPath": "v1/publications/{publicationsId}:checkFreeAccess",
113 "httpMethod": "GET",
114 "id": "webcontentpublisher.publications.checkFreeAccess",
115 "parameterOrder": [
116 "name"
117 ],
118 "parameters": {
119 "httpReferrer": {
120 "description": "Required. The HTTP referrer.",
121 "location": "query",
122 "type": "string"
123 },
124 "name": {
125 "description": "Required. The resource name of the publication. Format: publications/{publication_id}",
126 "location": "path",
127 "pattern": "^publications/[^/]+$",
128 "required": true,
129 "type": "string"
130 },
131 "uri": {
132 "description": "Required. The URI of the content.",
133 "location": "query",
134 "type": "string"
135 }
136 },
137 "path": "v1/{+name}:checkFreeAccess",
138 "response": {
139 "$ref": "CheckFreeAccessResponse"
140 },
141 "scopes": [
142 "https://www.googleapis.com/auth/subscribewithgoogle.publications.entitlements.readonly"
143 ]
144 }
145 }
146 }
147 },
148 "revision": "20260526",
149 "rootUrl": "https://webcontentpublisher.googleapis.com/",
150 "schemas": {
151 "CheckFreeAccessResponse": {
152 "description": "Response message for CheckFreeAccess",
153 "id": "CheckFreeAccessResponse",
154 "properties": {
155 "isAllowed": {
156 "description": "True if free access should be allowed, false otherwise.",
157 "type": "boolean"
158 }
159 },
160 "type": "object"
161 }
162 },
163 "servicePath": "",
164 "title": "Web Content Publisher API",
165 "version": "v1",
166 "version_module": true
167 }