This commit is contained in:
E
2021-03-07 20:45:57 -07:00
parent 181a2bbb74
commit 1e8d655d1d
7 changed files with 83 additions and 58 deletions
+6 -7
View File
@@ -11,22 +11,21 @@ type Client = {
name: string
email: string
phone: number
active_session: boolean
photos: string[]
}
```
post /api/clients -> create new client
get /api/clients -> get client list
get /api/clients/:id -> get client
```ts
type Session = string[] | null
```
post /api/clients/:id/session -> begin capture
get /api/clients/:id/session -> get active sesion (list of preview photo locations)
delete /api/clients/:id/session -> delete all current photos (for new capture)
### Note Needed
get /api/clients -> get client list
get /api/clients/:id/session -> get active sesion (list of preview photo locations)
## Create Session
Information gathering