Google Slides API (slides:v1)

2023-04-20

5 new methods | New API

Additions

    Methods
  • slides.presentations.get

  • slides.presentations.create

  • slides.presentations.batchUpdate

      Path : v1/presentations/{presentationId}:batchUpdate

      Flat Path : v1/presentations/{presentationId}:batchUpdate

      HTTP Method : POST

      Parameters :

        presentationId

          Description : The presentation to apply the updates to.

          Location : path

          Required : Yes

          Type : string

      Parameter Order : presentationId

      Scopes :

    • https://www.googleapis.com/auth/drive
    • https://www.googleapis.com/auth/drive.file
    • https://www.googleapis.com/auth/drive.readonly
    • https://www.googleapis.com/auth/presentations
    • https://www.googleapis.com/auth/spreadsheets
    • https://www.googleapis.com/auth/spreadsheets.readonly
    • Description : Applies one or more updates to the presentation. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests. For example, suppose you call batchUpdate with four updates, and only the third one returns information. The response would have two empty replies: the reply to the third request, and another empty reply, in that order. Because other users may be editing the presentation, the presentation might not exactly reflect your changes: your changes may be altered with respect to collaborator changes. If there are no collaborators, the presentation should reflect your changes. In any case, the updates in your request are guaranteed to be applied together atomically.

  • slides.presentations.pages.get

  • slides.presentations.pages.getThumbnail

      Path : v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail

      Flat Path : v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail

      HTTP Method : GET

      Parameters :

        presentationId

          Description : The ID of the presentation to retrieve.

          Location : path

          Required : Yes

          Type : string

        pageObjectId

          Description : The object ID of the page whose thumbnail to retrieve.

          Location : path

          Required : Yes

          Type : string

        thumbnailProperties.mimeType

          Description : The optional mime type of the thumbnail image. If you don't specify the mime type, the mime type defaults to PNG.

          Location : query

          Type : string

          Enum Descriptions : The default mime type.

          Enum : PNG

        thumbnailProperties.thumbnailSize

          Description : The optional thumbnail image size. If you don't specify the size, the server chooses a default size of the image.

          Location : query

          Type : string

          Enum Descriptions :

        • The default thumbnail image size. The unspecified thumbnail size implies that the server chooses the size of the image in a way that might vary in the future.
        • The thumbnail image width of 1600px.
        • The thumbnail image width of 800px.
        • The thumbnail image width of 200px.
        • Enum :

        • THUMBNAIL_SIZE_UNSPECIFIED
        • LARGE
        • MEDIUM
        • SMALL

      Parameter Order :

    • presentationId
    • pageObjectId
    • Scopes :

    • https://www.googleapis.com/auth/drive
    • https://www.googleapis.com/auth/drive.file
    • https://www.googleapis.com/auth/drive.readonly
    • https://www.googleapis.com/auth/presentations
    • https://www.googleapis.com/auth/presentations.readonly
    • Description : Generates a thumbnail of the latest version of the specified page in the presentation and returns a URL to the thumbnail image. This request counts as an [expensive read request](/slides/limits) for quota purposes.