Skip to content

Latest commit

 

History

History
534 lines (447 loc) · 24.6 KB

APIs.md

File metadata and controls

534 lines (447 loc) · 24.6 KB

Global Options

  • Service Root
  • Authorization Headers

Backbone.GoogleAPIs.Model (extends Backbone.Model)

  • Requires kind to be set at initialization
Function Description Options
initialize
url
fetch
insert
patch
update
delete

Backbone.GoogleAPIs.List (extends Backbone.Model)

  • Requires kind to be set at initialization
  • Expects one of the list kinds (e.g. drive#commentList, drive#fileList)
Function Description Options
initialize
url
fetch
list

Google Drive

Backbone.GoogleAPIs.Drive.File (extends Backbone.GoogleAPIs.Model)

Function Description Options
initialize
url
copy
delete
emptyTrash
get use 'fetch' instead
insert
patch
touch
trash
untrash
update
childReferences
parentReferences
permissions
revisions
comments

Backbone.GoogleAPIs.Drive.FileList (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
url
list maxResults, pageToken, projection, q

Backbone.GoogleAPIs.Drive.About (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
get use 'fetch' instead

Backbone.GoogleAPIs.Drive.Change (extends Backbone.GoogleAPIs.Model)

Function Description Options
initialize
get use 'fetch' instead

Backbone.GoogleAPIs.Drive.ChangeList (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
url
list includeDeleted, includeSubscribed, maxResults, pageToken, startChangeId
poll delayInMillis
unpoll

Backbone.GoogleAPIs.Drive.ChildReference (extends Backbone.GoogleAPIs.Model)

Function Description Options
initialize
url
get use 'fetch' instead
insert
delete

Backbone.GoogleAPIs.Drive.ChildList (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
url
list maxResults, pageToken, q

Backbone.GoogleAPIs.Drive.ParentReference (extends Backbone.GoogleAPIs.Model)

Function Description Options
initialize
url
get use 'fetch' instead
insert
delete

Backbone.GoogleAPIs.Drive.ParentList (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
url
list

Backbone.GoogleAPIs.Drive.Permission (extends Backbone.GoogleAPIs.Model)

Function Description Options
initialize
url
delete
get use 'fetch' instead
getIdForEmail
insert
patch
update

Backbone.GoogleAPIs.Drive.PermissionList (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
url
list

Backbone.GoogleAPIs.Drive.Revision (extends Backbone.GoogleAPIs.Model)

Function Description Options
initialize
url
delete
get use 'fetch' instead
patch
update

Backbone.GoogleAPIs.Drive.RevisionList (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
url
list

Backbone.GoogleAPIs.Drive.App (extends Backbone.GoogleAPIs.Model)

Function Description Options
initialize
url
get use 'fetch' instead

Backbone.GoogleAPIs.Drive.AppList (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
url
list appFilterExtensions, appFilterMimeTypes, languageCode

Backbone.GoogleAPIs.Drive.Comment (extends Backbone.GoogleAPIs.Model)

Function Description Options
initialize
url
delete
get use 'fetch' instead
insert
patch
update

Backbone.GoogleAPIs.Drive.CommentList (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
url
list includeDeleted, maxResults, pageToken, updatedMin

Backbone.GoogleAPIs.Drive.CommentReply (extends Backbone.GoogleAPIs.Model)

Function Description Options
initialize
url
delete
get use 'fetch' instead
insert
patch
update

Backbone.GoogleAPIs.Drive.CommentReplyList (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
url
list includeDeleted, maxResults, pageToken

Backbone.GoogleAPIs.Drive.Property (extends Backbone.GoogleAPIs.Model)

Function Description Options
initialize
url
delete
get use 'fetch' instead
insert
patch
update

Backbone.GoogleAPIs.Drive.PropertyList (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
url
list

Google Plus

Backbone.GoogleAPIs.Plus.Person (extends Backbone.GoogleAPIs.Model)

Function Description Options
initialize
url
get use 'fetch' instead

Backbone.GoogleAPIs.Plus.PeopleFeed (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
url
search query, language, maxResults, pageToken
listByActivity maxResults, pageToken
list maxResults, orderBy, pageToken

Backbone.GoogleAPIs.Plus.Activity (extends Backbone.GoogleAPIs.Model)

Function Description Options
initialize
url
get use 'fetch' instead

Backbone.GoogleAPIs.Plus.ActivityFeed (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
url
search query, language, maxResults, orderBy, pageToken
list maxResults, pageToken

Backbone.GoogleAPIs.Plus.Comment (extends Backbone.GoogleAPIs.Model)

Function Description Options
initialize
url
get use 'fetch' instead

Backbone.GoogleAPIs.Plus.CommentFeed (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
url
list maxResults, pageToken, sortOrder

Backbone.GoogleAPIs.Plus.Moment (extends Backbone.GoogleAPIs.Model)

Function Description Options
initialize
url
insert
remove

Backbone.GoogleAPIs.Plus.MomentsFeed (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
url
list maxResults, pageToken, targetUrl, type

Google Cloud Storage

Backbone.GoogleAPIs.Storage.Bucket (extends Backbone.GoogleAPIs.Model)

Function Description Options
initialize
url
delete
get use 'fetch' instead
insert
patch
update

Backbone.GoogleAPIs.Storage.Buckets (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
url
list maxResults, pageToken, projection

Backbone.GoogleAPIs.Storage.Object (extends Backbone.GoogleAPIs.Model)

Function Description Options
initialize
url
compose
copy
delete
get use 'fetch' instead
insert
patch
update

Backbone.GoogleAPIs.Storage.Objects (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
url
list delimiter, maxResults, pageToken, prefix, projection, versions

Backbone.GoogleAPIs.Storage.BucketAccessControl (extends Backbone.GoogleAPIs.Model)

Function Description Options
initialize
url
delete
get use 'fetch' instead
insert
patch
update

Backbone.GoogleAPIs.Storage.BucketAccessControls (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
url
list

Backbone.GoogleAPIs.Storage.ObjectAccessControl (extends Backbone.GoogleAPIs.Model)

Function Description Options
initialize
url
delete
get use 'fetch' instead
insert
patch
update

Backbone.GoogleAPIs.Storage.ObjectAccessControls (extends Backbone.GoogleAPIs.List)

Function Description Options
initialize
url
list

Auxiliary Classes

Backbone.GoogleAPIs.Drive.Folder (extends Backbone.GoogleAPIs.Drive.File)

  • Defaults kind to "drive#file"
  • Defaults parent to "root"
  • Defaults mimeType to "application/vnd.google-apps.folder"
Function Description Options
initialize

Backbone.GoogleAPIs.UserInfo (extends Backbone.GoogleAPIs.Model)

  • Model
    • Drive.File
      • Drive.Folder
    • UserInfo
  • List
    • Drive.ChangeList
  • Model
  • List
  • ChangeList
  • File
  • Folder