跳转到内容
简体中文

已保存的会话

GET/v1/auth/sessions

必需的 cookie mail_browser. X-API-Key 和 Bearer 不会替换此 cookie. 没有 cookie 则返回空列表。

授权和访问区域 · 错误和重复

要求

终端窗口
curl -X GET 'https://adapt-mail.com/v1/auth/sessions' \
-b cookies.txt

响应

200 成功回复

application/json

array

数组元素

object

session_id

string

mailbox_id
选项 1

integer

选项 2

null

email
选项 1

string

选项 2

null

login

string

name

string

401 需要登录

application/json

object

detail
选项 1

string

选项 2

object

code

string

message

string

选项 3

array

数组元素

object

403 无法访问

application/json

object

detail
选项 1

string

选项 2

object

code

string

message

string

选项 3

array

数组元素

object

404 找不到资源

application/json

object

detail
选项 1

string

选项 2

object

code

string

message

string

选项 3

array

数组元素

object

409 国家冲突

application/json

object

detail
选项 1

string

选项 2

object

code

string

message

string

选项 3

array

数组元素

object

503 暂时无法使用

application/json

object

detail
选项 1

string

选项 2

object

code

string

message

string

选项 3

array

数组元素

object