Debian Codegraph @

docs/dyn/chromewebstore_v1_1.items.html

raw
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="chromewebstore_v1_1.html">Chrome Web Store API</a> . <a href="chromewebstore_v1_1.items.html">items</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#get">get(itemId, projection=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Gets your own Chrome Web Store item.</p>
83 <p class="toc_element">
84 <code><a href="#insert">insert(media_body=None, media_mime_type=None, publisherEmail=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Inserts a new item.</p>
86 <p class="toc_element">
87 <code><a href="#publish">publish(itemId, body=None, deployPercentage=None, publishTarget=None, reviewExemption=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Publishes an item.</p>
89 <p class="toc_element">
90 <code><a href="#update">update(itemId, body=None, media_body=None, media_mime_type=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Updates an existing item.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96 </div>
97
98 <div class="method">
99 <code class="details" id="get">get(itemId, projection=None, x__xgafv=None)</code>
100 <pre>Gets your own Chrome Web Store item.
101
102 Args:
103 itemId: string, Unique identifier representing the Chrome App, Chrome Extension, or the Chrome Theme. (required)
104 projection: string, Determines which subset of the item information to return.
105 Allowed values
106 DRAFT - Return information extracted from the current draft.
107 PUBLISHED - Return information extracted from the published item draft.
108 x__xgafv: string, V1 error format.
109 Allowed values
110 1 - v1 error format
111 2 - v2 error format
112
113 Returns:
114 An object of the form:
115
116 {
117 &quot;crxVersion&quot;: &quot;A String&quot;, # The CRX version of the item. If the projection is draft, then it is the draft&#x27;s CRX version.
118 &quot;id&quot;: &quot;A String&quot;, # Unique ID of the item.
119 &quot;itemError&quot;: [ # Detail human-readable status of the operation, in English only. Same error messages are displayed when you upload your app to the Chrome Web Store.
120 { # Error of the item
121 &quot;error_code&quot;: &quot;A String&quot;, # The error code.
122 &quot;error_detail&quot;: &quot;A String&quot;, # The human-readable detail message of the error.
123 },
124 ],
125 &quot;kind&quot;: &quot;A String&quot;, # Identifies this resource as an Item. Value: the fixed string &quot;chromewebstore#item&quot;.
126 &quot;publicKey&quot;: &quot;A String&quot;, # Public key of this item.
127 &quot;uploadState&quot;: &quot;A String&quot;, # Status of the operation. Possible values are: - \&quot;FAILURE\&quot; - \&quot;IN_PROGRESS\&quot; - \&quot;NOT_FOUND\&quot; - \&quot;SUCCESS\&quot;
128 }</pre>
129 </div>
130
131 <div class="method">
132 <code class="details" id="insert">insert(media_body=None, media_mime_type=None, publisherEmail=None, x__xgafv=None)</code>
133 <pre>Inserts a new item.
134
135 Args:
136 media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
137 media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
138 publisherEmail: string, The email of the publisher who owns the items. Defaults to the caller&#x27;s email address.
139 x__xgafv: string, V1 error format.
140 Allowed values
141 1 - v1 error format
142 2 - v2 error format
143
144 Returns:
145 An object of the form:
146
147 {
148 &quot;crxVersion&quot;: &quot;A String&quot;, # The CRX version of the item. If the projection is draft, then it is the draft&#x27;s CRX version.
149 &quot;id&quot;: &quot;A String&quot;, # Unique ID of the item.
150 &quot;itemError&quot;: [ # Detail human-readable status of the operation, in English only. Same error messages are displayed when you upload your app to the Chrome Web Store.
151 { # Error of the item
152 &quot;error_code&quot;: &quot;A String&quot;, # The error code.
153 &quot;error_detail&quot;: &quot;A String&quot;, # The human-readable detail message of the error.
154 },
155 ],
156 &quot;kind&quot;: &quot;A String&quot;, # Identifies this resource as an Item. Value: the fixed string &quot;chromewebstore#item&quot;.
157 &quot;publicKey&quot;: &quot;A String&quot;, # Public key of this item.
158 &quot;uploadState&quot;: &quot;A String&quot;, # Status of the operation. Possible values are: - \&quot;FAILURE\&quot; - \&quot;IN_PROGRESS\&quot; - \&quot;NOT_FOUND\&quot; - \&quot;SUCCESS\&quot;
159 }</pre>
160 </div>
161
162 <div class="method">
163 <code class="details" id="publish">publish(itemId, body=None, deployPercentage=None, publishTarget=None, reviewExemption=None, x__xgafv=None)</code>
164 <pre>Publishes an item.
165
166 Args:
167 itemId: string, The ID of the item to publish. (required)
168 body: object, The request body.
169 The object takes the form of:
170
171 {
172 &quot;deployPercentage&quot;: 42, # The target deploy percentage of the item. It&#x27;s only useful for items with big user base.
173 &quot;reviewExemption&quot;: True or False, # Optional. The caller request to exempt the review and directly publish because the update is within the list that we can automatically validate. The API will check if the exemption can be granted using real time data.
174 &quot;target&quot;: &quot;A String&quot;, # The publish target of this publish operation. This is the same as using publishTarget as a URL query parameter. The string value can either be target=&quot;trustedTesters&quot; or target=&quot;default&quot;. The default value, if none is supplied, is target=&quot;default&quot;. Recommended usage is to use the URL query parameter to specificy the value.
175 }
176
177 deployPercentage: integer, The deploy percentage you want to set for your item. Valid values are [0, 100]. If set to any number less than 100, only that many percentage of users will be allowed to get the update.
178 publishTarget: string, Provide defined publishTarget in URL (case sensitive): publishTarget=&quot;trustedTesters&quot; or publishTarget=&quot;default&quot;. Defaults to publishTarget=&quot;default&quot;.
179 reviewExemption: boolean, Optional. The caller request to exempt the review and directly publish because the update is within the list that we can automatically validate. The API will check if the exemption can be granted using real time data.
180 x__xgafv: string, V1 error format.
181 Allowed values
182 1 - v1 error format
183 2 - v2 error format
184
185 Returns:
186 An object of the form:
187
188 {
189 &quot;item_id&quot;: &quot;A String&quot;, # The ID of this item.
190 &quot;kind&quot;: &quot;A String&quot;, # Static string value is always &quot;chromewebstore#item&quot;.
191 &quot;status&quot;: [ # The status code of this publish operation. It may contain multiple elements from the following list: NOT_AUTHORIZED, INVALID_DEVELOPER, DEVELOPER_NO_OWNERSHIP, DEVELOPER_SUSPENDED, ITEM_NOT_FOUND, ITEM_PENDING_REVIEW, ITEM_TAKEN_DOWN, PUBLISHER_SUSPENDED.
192 &quot;A String&quot;,
193 ],
194 &quot;statusDetail&quot;: [ # Detailed human-comprehensible explanation of the status code above.
195 &quot;A String&quot;,
196 ],
197 }</pre>
198 </div>
199
200 <div class="method">
201 <code class="details" id="update">update(itemId, body=None, media_body=None, media_mime_type=None, x__xgafv=None)</code>
202 <pre>Updates an existing item.
203
204 Args:
205 itemId: string, The ID of the item to upload. (required)
206 body: object, The request body.
207 The object takes the form of:
208
209 {
210 &quot;crxVersion&quot;: &quot;A String&quot;, # The CRX version of the item. If the projection is draft, then it is the draft&#x27;s CRX version.
211 &quot;id&quot;: &quot;A String&quot;, # Unique ID of the item.
212 &quot;itemError&quot;: [ # Detail human-readable status of the operation, in English only. Same error messages are displayed when you upload your app to the Chrome Web Store.
213 { # Error of the item
214 &quot;error_code&quot;: &quot;A String&quot;, # The error code.
215 &quot;error_detail&quot;: &quot;A String&quot;, # The human-readable detail message of the error.
216 },
217 ],
218 &quot;kind&quot;: &quot;A String&quot;, # Identifies this resource as an Item. Value: the fixed string &quot;chromewebstore#item&quot;.
219 &quot;publicKey&quot;: &quot;A String&quot;, # Public key of this item.
220 &quot;uploadState&quot;: &quot;A String&quot;, # Status of the operation. Possible values are: - \&quot;FAILURE\&quot; - \&quot;IN_PROGRESS\&quot; - \&quot;NOT_FOUND\&quot; - \&quot;SUCCESS\&quot;
221 }
222
223 media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
224 media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
225 x__xgafv: string, V1 error format.
226 Allowed values
227 1 - v1 error format
228 2 - v2 error format
229
230 Returns:
231 An object of the form:
232
233 {
234 &quot;crxVersion&quot;: &quot;A String&quot;, # The CRX version of the item. If the projection is draft, then it is the draft&#x27;s CRX version.
235 &quot;id&quot;: &quot;A String&quot;, # Unique ID of the item.
236 &quot;itemError&quot;: [ # Detail human-readable status of the operation, in English only. Same error messages are displayed when you upload your app to the Chrome Web Store.
237 { # Error of the item
238 &quot;error_code&quot;: &quot;A String&quot;, # The error code.
239 &quot;error_detail&quot;: &quot;A String&quot;, # The human-readable detail message of the error.
240 },
241 ],
242 &quot;kind&quot;: &quot;A String&quot;, # Identifies this resource as an Item. Value: the fixed string &quot;chromewebstore#item&quot;.
243 &quot;publicKey&quot;: &quot;A String&quot;, # Public key of this item.
244 &quot;uploadState&quot;: &quot;A String&quot;, # Status of the operation. Possible values are: - \&quot;FAILURE\&quot; - \&quot;IN_PROGRESS\&quot; - \&quot;NOT_FOUND\&quot; - \&quot;SUCCESS\&quot;
245 }</pre>
246 </div>
247
248 </body></html>