The in-force legal texts of the platform (terms, privacy, DPA and annexes, developer terms)
const url = 'https://api.vimine.network/v1/legal?locale=it';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.vimine.network/v1/legal?locale=it'One entry per kind and locale, in force today. ?all=1 adds the archive of previous versions; ?locale=it|en limits the locales.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Only this locale
1 to include previous versions
Responses
Section titled “Responses”Documents
object
object
Document kind (platform_terms, platform_privacy, platform_cookie, aps_terms, aps_dpa, aps_dpa_annex1_processing … developer_terms)
Version label (1.0, 1.1, …)
What changed in this version
SHA-256 of the canonical template body
This is the in-force version of the kind in its locale
Previous versions (with ?all=1)
object
Document kind (platform_terms, platform_privacy, platform_cookie, aps_terms, aps_dpa, aps_dpa_annex1_processing … developer_terms)
Version label (1.0, 1.1, …)
What changed in this version
SHA-256 of the canonical template body
This is the in-force version of the kind in its locale
Example
{ "documents": [ { "locale": "it" } ], "archive": [ { "locale": "it" } ]}Invalid request
object
object
Examplegenerated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "request_id": "example", "errors": [ { "field": "example", "code": "example", "message": "example" } ]}Not found
object
object
Examplegenerated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "request_id": "example", "errors": [ { "field": "example", "code": "example", "message": "example" } ]}Rate limited
object
object
Examplegenerated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "request_id": "example", "errors": [ { "field": "example", "code": "example", "message": "example" } ]}Internal error
object
object
Examplegenerated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "request_id": "example", "errors": [ { "field": "example", "code": "example", "message": "example" } ]}