🧼
This commit is contained in:
+6
-7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user