Skip to content

Instantly share code, notes, and snippets.

@kkeisuke
Last active November 21, 2019 07:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kkeisuke/6e460f97ed864c4563dae1c0e52f13d0 to your computer and use it in GitHub Desktop.
Save kkeisuke/6e460f97ed864c4563dae1c0e52f13d0 to your computer and use it in GitHub Desktop.
line-to-google-photos
@startuml
autonumber
skinparam monochrome true
actor user
participant LINEbot as line
participant "Google\nCloud\nFunctions" as GCP
participant "Google APIs" as googleapis
participant "Google\nPhotos APIs" as photo
user -> line: image upload
line -> GCP: webhook
GCP -> line: request image
line -> GCP: response image
GCP -> googleapis: request Access Token
googleapis -> GCP: response Access Token
GCP -> photo: upload image\ncreate media item
photo -> GCP: response
GCP -> line: request reply
line -> user: reply
@enduml
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment