Last active
November 21, 2019 07:11
-
-
Save kkeisuke/6e460f97ed864c4563dae1c0e52f13d0 to your computer and use it in GitHub Desktop.
line-to-google-photos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment