GET /sessions
GET
/sessions
- Body `[]string` User IDs
- Body - **message** `string`
GET /sessions HTTP/1.1 Host: api-x.kainonly.com:8443 # Response HTTP/1.1 200 OK Alt-Svc: h3=":8443"; ma=2592000,h3-29=":8443"; ma=2592000 Server: hertz ["64bfbe69eddf04482dcf9d43","64ae547e5a94adff829274c7"]
DELETE /sessions/:uid
DELETE
/sessions/:uid
uid*
String
User ID
- Body - **DeletedCount**
DELETE /sessions/64bfbe69eddf04482dcf9d43 HTTP/1.1 Host: api-x.kainonly.com:8443 # Response HTTP/1.1 200 OK Alt-Svc: h3=":8443"; ma=2592000,h3-29=":8443"; ma=2592000 Server: hertz {"DeletedCount":1}
POST /sessions/clear
POST
/sessions/clear
POST /sessions/clear HTTP/1.1 Host: api-x.kainonly.com:8443 # Response HTTP/1.1 200 OK Alt-Svc: h3=":8443"; ma=2592000,h3-29=":8443"; ma=2592000 Server: hertz {"DeletedCount":2}
Last updated 1 year ago