跳转到内容

会员对法律文件的接受记录,以及仍待处理的内容

GET
/v1/me/acceptances
curl --request GET \
--url 'https://api.vimine.network/v1/me/acceptances?locale=it' \
--header 'Authorization: Bearer <token>'

当事人记录过的每一项接受、阅读确认或同意(账户使用条款、隐私声明、协会面向会员的声明),最新的在前;另附 pending:当事人尚未针对现行版本作出处理的账户层文件和本协会的隐私声明。全文见 GET /v1/legal/{kind} 和 GET /v1/aps/{slug}/privacy-notice。

locale
string
允许的值: it en zh-Hans zh-Hant fr es de pt-BR

接受记录和待处理的文件

媒体类型application/json
object
items
必填
Array<object>
object
at
必填
string 格式: date-time
action
必填
string
允许的值: accepted acknowledged consented withdrawn declared
channel
string
允许的值: ui public api job paper
kind
必填
string
title
string
version
必填
string
sha256
string
可为 null
rendered_sha256

实际展示的文本的哈希

string
可为 null
locale
string
可为 null
association

该行为所涉及的协会(如有)

string
可为 null
pending
必填
object
platform

仍待接受 / 确认阅读的账户层文件

Array<object>
object
kind
必填
string
title
string
locale
string
version
必填
恰好匹配其一:
string
sha256
string
可为 null
effective_from
string 格式: date-time
可为 null
action
必填

要求当事人做什么

string
允许的值: accepted acknowledged consented
first

从未针对此类型的任何版本作出处理(false:新版本要求再次处理)

boolean
privacy_notice
恰好匹配其一:
object
kind
必填
string
title
string
locale
string
version
必填
恰好匹配其一:
string
sha256
string
可为 null
effective_from
string 格式: date-time
可为 null
action
必填

要求当事人做什么

string
允许的值: accepted acknowledged consented
first

从未针对此类型的任何版本作出处理(false:新版本要求再次处理)

boolean
示例
{
"items": [
{
"action": "accepted",
"channel": "ui"
}
],
"pending": {
"platform": [
{
"action": "accepted"
}
],
"privacy_notice": {
"action": "accepted"
}
}
}

请求无效

媒体类型application/problem+json
object
type
必填
string 格式: uri
title
必填
string
status
必填
integer
detail
string
code
必填
string
request_id
string
errors
Array<object>
object
field
string
code
string
message
string
示例自动生成
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"request_id": "example",
"errors": [
{
"field": "example",
"code": "example",
"message": "example"
}
]
}

缺少凭据或凭据无效

媒体类型application/problem+json
object
type
必填
string 格式: uri
title
必填
string
status
必填
integer
detail
string
code
必填
string
request_id
string
errors
Array<object>
object
field
string
code
string
message
string
示例自动生成
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"request_id": "example",
"errors": [
{
"field": "example",
"code": "example",
"message": "example"
}
]
}

无权操作

媒体类型application/problem+json
object
type
必填
string 格式: uri
title
必填
string
status
必填
integer
detail
string
code
必填
string
request_id
string
errors
Array<object>
object
field
string
code
string
message
string
示例自动生成
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"request_id": "example",
"errors": [
{
"field": "example",
"code": "example",
"message": "example"
}
]
}

未找到

媒体类型application/problem+json
object
type
必填
string 格式: uri
title
必填
string
status
必填
integer
detail
string
code
必填
string
request_id
string
errors
Array<object>
object
field
string
code
string
message
string
示例自动生成
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"request_id": "example",
"errors": [
{
"field": "example",
"code": "example",
"message": "example"
}
]
}

已触发速率限制

媒体类型application/problem+json
object
type
必填
string 格式: uri
title
必填
string
status
必填
integer
detail
string
code
必填
string
request_id
string
errors
Array<object>
object
field
string
code
string
message
string
示例自动生成
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"request_id": "example",
"errors": [
{
"field": "example",
"code": "example",
"message": "example"
}
]
}

内部错误

媒体类型application/problem+json
object
type
必填
string 格式: uri
title
必填
string
status
必填
integer
detail
string
code
必填
string
request_id
string
errors
Array<object>
object
field
string
code
string
message
string
示例自动生成
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"request_id": "example",
"errors": [
{
"field": "example",
"code": "example",
"message": "example"
}
]
}