Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Side by Side Diff: discovery/googleapis/appsactivity__v1.json

Issue 559053002: Generate 0.1.0 version of googleapis/googleapis_beta (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/activity": {
6 "description": "View historical activity for Google services "
7 },
8 "https://www.googleapis.com/auth/drive": {
9 "description": "View and manage the files and documents in y our Google Drive"
10 },
11 "https://www.googleapis.com/auth/drive.metadata.readonly": {
12 "description": "View metadata for files and documents in you r Google Drive"
13 },
14 "https://www.googleapis.com/auth/drive.readonly": {
15 "description": "View the files and documents in your Google Drive"
16 }
17 }
18 }
19 },
20 "basePath": "/appsactivity/v1/",
21 "baseUrl": "https://www.googleapis.com/appsactivity/v1/",
22 "batchPath": "batch",
23 "description": "Provides a historical view of activity.",
24 "discoveryVersion": "v1",
25 "documentationLink": "https://developers.google.com/google-apps/activity/",
26 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/MmwdCrDlqhBi2D0-JqsndcBoC3M\"",
27 "icons": {
28 "x16": "http://www.google.com/images/icons/product/search-16.gif",
29 "x32": "http://www.google.com/images/icons/product/search-32.gif"
30 },
31 "id": "appsactivity:v1",
32 "kind": "discovery#restDescription",
33 "name": "appsactivity",
34 "ownerDomain": "google.com",
35 "ownerName": "Google",
36 "parameters": {
37 "alt": {
38 "default": "json",
39 "description": "Data format for the response.",
40 "enum": [
41 "json"
42 ],
43 "enumDescriptions": [
44 "Responses with Content-Type of application/json"
45 ],
46 "location": "query",
47 "type": "string"
48 },
49 "fields": {
50 "description": "Selector specifying which fields to include in a par tial response.",
51 "location": "query",
52 "type": "string"
53 },
54 "key": {
55 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
56 "location": "query",
57 "type": "string"
58 },
59 "oauth_token": {
60 "description": "OAuth 2.0 token for the current user.",
61 "location": "query",
62 "type": "string"
63 },
64 "prettyPrint": {
65 "default": "true",
66 "description": "Returns response with indentations and line breaks." ,
67 "location": "query",
68 "type": "boolean"
69 },
70 "quotaUser": {
71 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters. Overrides userIp if both are provided.",
72 "location": "query",
73 "type": "string"
74 },
75 "userIp": {
76 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
77 "location": "query",
78 "type": "string"
79 }
80 },
81 "protocol": "rest",
82 "resources": {
83 "activities": {
84 "methods": {
85 "list": {
86 "description": "Returns a list of activities visible to the current logged in user. Visible activities are determined by the visiblity setti ngs of the object that was acted on, e.g. Drive files a user can see. An activit y is a record of past events. Multiple events may be merged if they are similar. A request is scoped to activities from a given Google service using the source parameter.",
87 "httpMethod": "GET",
88 "id": "appsactivity.activities.list",
89 "parameters": {
90 "drive.ancestorId": {
91 "description": "Identifies the Drive folder containi ng the items for which to return activities.",
92 "location": "query",
93 "type": "string"
94 },
95 "drive.fileId": {
96 "description": "Identifies the Drive item to return activities for.",
97 "location": "query",
98 "type": "string"
99 },
100 "groupingStrategy": {
101 "default": "driveUi",
102 "description": "Indicates the strategy to use when g rouping singleEvents items in the associated combinedEvent object.",
103 "enum": [
104 "driveUi",
105 "none"
106 ],
107 "enumDescriptions": [
108 "",
109 ""
110 ],
111 "location": "query",
112 "type": "string"
113 },
114 "pageSize": {
115 "default": "50",
116 "description": "The maximum number of events to retu rn on a page. The response includes a continuation token if there are more event s.",
117 "format": "int32",
118 "location": "query",
119 "type": "integer"
120 },
121 "pageToken": {
122 "description": "A token to retrieve a specific page of results.",
123 "location": "query",
124 "type": "string"
125 },
126 "source": {
127 "description": "The Google service from which to ret urn activities. Possible values of source are: \n- drive.google.com",
128 "location": "query",
129 "type": "string"
130 },
131 "userId": {
132 "default": "me",
133 "description": "Indicates the user to return activit y for. Use the special value me to indicate the currently authenticated user.",
134 "location": "query",
135 "type": "string"
136 }
137 },
138 "path": "activities",
139 "response": {
140 "$ref": "ListActivitiesResponse"
141 },
142 "scopes": [
143 "https://www.googleapis.com/auth/activity",
144 "https://www.googleapis.com/auth/drive",
145 "https://www.googleapis.com/auth/drive.metadata.readonly ",
146 "https://www.googleapis.com/auth/drive.readonly"
147 ]
148 }
149 }
150 }
151 },
152 "revision": "20140619",
153 "rootUrl": "https://www.googleapis.com/",
154 "schemas": {
155 "Activity": {
156 "description": "An Activity resource is a combined view of multiple events. An activity has a list of individual events and a combined view of the c ommon fields among all events.",
157 "id": "Activity",
158 "properties": {
159 "combinedEvent": {
160 "$ref": "Event",
161 "description": "The fields common to all of the singleEvents that make up the Activity."
162 },
163 "singleEvents": {
164 "description": "A list of all the Events that make up the Ac tivity.",
165 "items": {
166 "$ref": "Event"
167 },
168 "type": "array"
169 }
170 },
171 "type": "object"
172 },
173 "Event": {
174 "description": "Represents the changes associated with an action tak en by a user.",
175 "id": "Event",
176 "properties": {
177 "additionalEventTypes": {
178 "description": "Additional event types. Some events may have multiple types when multiple actions are part of a single event. For example, c reating a document, renaming it, and sharing it may be part of a single file-cre ation event.",
179 "items": {
180 "enum": [
181 "comment",
182 "create",
183 "edit",
184 "emptyTrash",
185 "move",
186 "permissionChange",
187 "rename",
188 "trash",
189 "unknown",
190 "untrash",
191 "upload"
192 ],
193 "enumDescriptions": [
194 "",
195 "",
196 "",
197 "",
198 "",
199 "",
200 "",
201 "",
202 "",
203 "",
204 ""
205 ],
206 "type": "string"
207 },
208 "type": "array"
209 },
210 "eventTimeMillis": {
211 "description": "The time at which the event occurred formatt ed as Unix time in milliseconds.",
212 "format": "uint64",
213 "type": "string"
214 },
215 "fromUserDeletion": {
216 "description": "Whether this event is caused by a user being deleted.",
217 "type": "boolean"
218 },
219 "move": {
220 "$ref": "Move",
221 "description": "Extra information for move type events, such as changes in an object's parents."
222 },
223 "permissionChanges": {
224 "description": "Extra information for permissionChange type events, such as the user or group the new permission applies to.",
225 "items": {
226 "$ref": "PermissionChange"
227 },
228 "type": "array"
229 },
230 "primaryEventType": {
231 "description": "The main type of event that occurred.",
232 "enum": [
233 "comment",
234 "create",
235 "edit",
236 "emptyTrash",
237 "move",
238 "permissionChange",
239 "rename",
240 "trash",
241 "unknown",
242 "untrash",
243 "upload"
244 ],
245 "enumDescriptions": [
246 "",
247 "",
248 "",
249 "",
250 "",
251 "",
252 "",
253 "",
254 "",
255 "",
256 ""
257 ],
258 "type": "string"
259 },
260 "rename": {
261 "$ref": "Rename",
262 "description": "Extra information for rename type events, su ch as the old and new names."
263 },
264 "target": {
265 "$ref": "Target",
266 "description": "Information specific to the Target object mo dified by the event."
267 },
268 "user": {
269 "$ref": "User",
270 "description": "Represents the user responsible for the even t."
271 }
272 },
273 "type": "object"
274 },
275 "ListActivitiesResponse": {
276 "description": "The response from the list request. Contains a list of activities and a token to retrieve the next page of results.",
277 "id": "ListActivitiesResponse",
278 "properties": {
279 "activities": {
280 "description": "List of activities.",
281 "items": {
282 "$ref": "Activity"
283 },
284 "type": "array"
285 },
286 "nextPageToken": {
287 "description": "Token for the next page of results.",
288 "type": "string"
289 }
290 },
291 "type": "object"
292 },
293 "Move": {
294 "description": "Contains information about changes in an object's pa rents as a result of a move type event.",
295 "id": "Move",
296 "properties": {
297 "addedParents": {
298 "description": "The added parent(s).",
299 "items": {
300 "$ref": "Parent"
301 },
302 "type": "array"
303 },
304 "removedParents": {
305 "description": "The removed parent(s).",
306 "items": {
307 "$ref": "Parent"
308 },
309 "type": "array"
310 }
311 },
312 "type": "object"
313 },
314 "Parent": {
315 "description": "Contains information about a parent object. For exam ple, a folder in Drive is a parent for all files within it.",
316 "id": "Parent",
317 "properties": {
318 "id": {
319 "description": "The parent's ID.",
320 "type": "string"
321 },
322 "isRoot": {
323 "description": "Whether this is the root folder.",
324 "type": "boolean"
325 },
326 "title": {
327 "description": "The parent's title.",
328 "type": "string"
329 }
330 },
331 "type": "object"
332 },
333 "Permission": {
334 "description": "Contains information about the permissions and type of access allowed with regards to a Google Drive object. This is a subset of the fields contained in a corresponding Drive Permissions object.",
335 "id": "Permission",
336 "properties": {
337 "name": {
338 "description": "The name of the user or group the permission applies to.",
339 "type": "string"
340 },
341 "permissionId": {
342 "description": "The ID for this permission. Corresponds to t he Drive API's permission ID returned as part of the Drive Permissions resource. ",
343 "type": "string"
344 },
345 "role": {
346 "description": "Indicates the Google Drive permissions role. The role determines a user's ability to read, write, or comment on the file.",
347 "enum": [
348 "commenter",
349 "owner",
350 "reader",
351 "writer"
352 ],
353 "enumDescriptions": [
354 "",
355 "",
356 "",
357 ""
358 ],
359 "type": "string"
360 },
361 "type": {
362 "description": "Indicates how widely permissions are granted .",
363 "enum": [
364 "anyone",
365 "domain",
366 "group",
367 "user"
368 ],
369 "enumDescriptions": [
370 "",
371 "",
372 "",
373 ""
374 ],
375 "type": "string"
376 },
377 "user": {
378 "$ref": "User",
379 "description": "The user's information if the type is USER."
380 },
381 "withLink": {
382 "description": "Whether the permission requires a link to th e file.",
383 "type": "boolean"
384 }
385 },
386 "type": "object"
387 },
388 "PermissionChange": {
389 "description": "Contains information about a Drive object's permissi ons that changed as a result of a permissionChange type event.",
390 "id": "PermissionChange",
391 "properties": {
392 "addedPermissions": {
393 "description": "Lists all Permission objects added.",
394 "items": {
395 "$ref": "Permission"
396 },
397 "type": "array"
398 },
399 "removedPermissions": {
400 "description": "Lists all Permission objects removed.",
401 "items": {
402 "$ref": "Permission"
403 },
404 "type": "array"
405 }
406 },
407 "type": "object"
408 },
409 "Photo": {
410 "description": "Photo information for a user.",
411 "id": "Photo",
412 "properties": {
413 "url": {
414 "description": "The URL of the photo.",
415 "type": "string"
416 }
417 },
418 "type": "object"
419 },
420 "Rename": {
421 "description": "Contains information about a renametype event.",
422 "id": "Rename",
423 "properties": {
424 "newTitle": {
425 "description": "The new title.",
426 "type": "string"
427 },
428 "oldTitle": {
429 "description": "The old title.",
430 "type": "string"
431 }
432 },
433 "type": "object"
434 },
435 "Target": {
436 "description": "Information about the object modified by the event." ,
437 "id": "Target",
438 "properties": {
439 "id": {
440 "description": "The ID of the target. For example, in Google Drive, this is the file or folder ID.",
441 "type": "string"
442 },
443 "mimeType": {
444 "description": "The MIME type of the target.",
445 "type": "string"
446 },
447 "name": {
448 "description": "The name of the target. For example, in Goog le Drive, this is the title of the file.",
449 "type": "string"
450 }
451 },
452 "type": "object"
453 },
454 "User": {
455 "description": "A representation of a user.",
456 "id": "User",
457 "properties": {
458 "name": {
459 "description": "The displayable name of the user.",
460 "type": "string"
461 },
462 "photo": {
463 "$ref": "Photo",
464 "description": "The profile photo of the user."
465 }
466 },
467 "type": "object"
468 }
469 },
470 "servicePath": "appsactivity/v1/",
471 "title": "Google Apps Activity API",
472 "version": "v1"
473 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698