Skip to content

Source code for using GCF between DMPO and the ScreenLlife Capture app. Please consult the researcher guide available at https://www.andrewzhyee.com/screenlifec/ for more information on how to set this up without programming knowledge. The full paper piloting this app can be found at https://link.springer.com/article/10.3758/s13428-022-02006-z

License

Notifications You must be signed in to change notification settings

ScreenLife-Capture-Team/cloud-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Important

⚠️ REPOSITORY DEPRECATED ⚠️

Note: This repository is no longer actively maintained. All development has moved to the following new repositories:

Please use these new repositories for the latest code and features.

ScreenLife Capture Cloud Functions

This repo contains the cloud functions used during the ScreenLife Capture study.

Functions

register

POST {
	"username": string,
	"key": string
}
Responses
- 201 Created
- 405 Invalid method (only POST)
- 409 User already exists

upload_file

POST {
	"username": string,
	"key": string
}
(include images to upload under `files`)
Responses
- 201 Successfully Uploaded
- 404 Invalid username/key
- 405 Invalid method (only POST)

count_files

POST {
	"username": string,
	"key": string,
	"fileNames": string[]
}
Responses
- 200 All files verified
- 400 Files missed, list of missed files under `missedPictures`
- 404 Invalid username/key
- 405 Invalid method (only POST)

About

Source code for using GCF between DMPO and the ScreenLlife Capture app. Please consult the researcher guide available at https://www.andrewzhyee.com/screenlifec/ for more information on how to set this up without programming knowledge. The full paper piloting this app can be found at https://link.springer.com/article/10.3758/s13428-022-02006-z

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages