Skip to content

Files

Latest commit

9f1959e · Mar 21, 2025

History

History
57 lines (47 loc) · 1.19 KB

readme.md

File metadata and controls

57 lines (47 loc) · 1.19 KB

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)