One public event of an association, with live availability per registration type
const url = 'https://api.vimine.network/v1/aps/example/events/example';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/aps/example/events/exampleParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The event slug
Query Parameters
Section titled “Query Parameters”The language to read the association’s copy in (it, en). Default: the member’s own language (member token), then Accept-Language, then the association’s. Each text is the association’s translation when it wrote one for a language it enabled, its Italian text otherwise: the answer’s locale says which was served for the title, locales which exist. An unsupported value is ignored
Responses
Section titled “Responses”Event
object
The language the title was served in. When it is not the one you asked for, the association has no translation: you got its Italian text, not a machine translation
The languages in which this event has a title — the association’s own always, plus those it enabled and wrote
Markdown; render it yourself
object
object
object
object
object
0 = free
Places left (never who holds them)
Example
{ "status": "published", "visibility": "members_only", "registration_types": [ { "reason": "sold_out" } ]}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" } ]}Unknown, draft or members-only (read it with a member token)
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" } ]}