Zum Inhalt springen

Die Annahme eines rechtlichen Dokuments in seiner geltenden Version durch das Mitglied erfassen

POST
/v1/me/acceptances
curl --request POST \
--url https://api.vimine.network/v1/me/acceptances \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "kind": "example", "version": "example", "sha256": "example" }'

Erfasst einen Nachweis-Eintrag (Kanal api, unter Nennung Ihrer App): ein Dokument der Kontoebene (platform_terms akzeptiert, platform_privacy zur Kenntnis genommen, network_consent eingewilligt) oder die privacy_notice dieses Vereins zur Kenntnis genommen. version (und sha256, wenn veröffentlicht) muss den geltenden Text nennen, den Ihre App gezeigt hat — sonst 422 <kind>_outdated. Dieselbe Version zweimal zu erfassen schadet nicht: Jeder Eintrag ist ein Nachweis. Akzeptiert Idempotency-Key.

Medientypapplication/json
object
kind
erforderlich

Platform_terms | platform_privacy | network_consent | privacy_notice

string
version
erforderlich
Genau eines von:
string
sha256
string
Beispielerzeugt
{
"kind": "example",
"version": "example",
"sha256": "example"
}

Erfasst

Medientypapplication/json
object
recorded
erforderlich
boolean
kind
erforderlich
string
action
erforderlich
string
version
erforderlich
string
at
erforderlich
string Format: date-time
Beispielerzeugt
{
"recorded": true,
"kind": "example",
"action": "example",
"version": "example",
"at": "2026-04-15T12:00:00Z"
}

Ungültige Anfrage

Medientypapplication/problem+json
object
type
erforderlich
string Format: uri
title
erforderlich
string
status
erforderlich
integer
detail
string
code
erforderlich
string
request_id
string
errors
Array<object>
object
field
string
code
string
message
string
Beispielerzeugt
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"request_id": "example",
"errors": [
{
"field": "example",
"code": "example",
"message": "example"
}
]
}

Fehlende oder ungültige Zugangsdaten

Medientypapplication/problem+json
object
type
erforderlich
string Format: uri
title
erforderlich
string
status
erforderlich
integer
detail
string
code
erforderlich
string
request_id
string
errors
Array<object>
object
field
string
code
string
message
string
Beispielerzeugt
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"request_id": "example",
"errors": [
{
"field": "example",
"code": "example",
"message": "example"
}
]
}

Nicht erlaubt

Medientypapplication/problem+json
object
type
erforderlich
string Format: uri
title
erforderlich
string
status
erforderlich
integer
detail
string
code
erforderlich
string
request_id
string
errors
Array<object>
object
field
string
code
string
message
string
Beispielerzeugt
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"request_id": "example",
"errors": [
{
"field": "example",
"code": "example",
"message": "example"
}
]
}

Für diese Art ist nichts veröffentlicht (not_found)

Unbekannte Art, fehlende Version oder eine Version, die nicht in Kraft ist (<kind>_outdated)

Ratenlimit überschritten

Medientypapplication/problem+json
object
type
erforderlich
string Format: uri
title
erforderlich
string
status
erforderlich
integer
detail
string
code
erforderlich
string
request_id
string
errors
Array<object>
object
field
string
code
string
message
string
Beispielerzeugt
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"request_id": "example",
"errors": [
{
"field": "example",
"code": "example",
"message": "example"
}
]
}

Interner Fehler

Medientypapplication/problem+json
object
type
erforderlich
string Format: uri
title
erforderlich
string
status
erforderlich
integer
detail
string
code
erforderlich
string
request_id
string
errors
Array<object>
object
field
string
code
string
message
string
Beispielerzeugt
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"request_id": "example",
"errors": [
{
"field": "example",
"code": "example",
"message": "example"
}
]
}