MENU navbar-image

Introduction

This documentation aims to provide all the information you need to work with our API.

<aside>As you scroll, you'll see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile).
You can switch the language used with the tabs at the top right (or from the nav menu at the top left on mobile).</aside>

Authenticating requests

This API is not authenticated.

Endpoints

Список событий организатора

Example request:
curl --request GET \
    --get "http://51.195.11.72:5000/api/organizer/v1/events" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://51.195.11.72:5000/api/organizer/v1/events"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 56
access-control-allow-origin: *
 

{
    "message": "API key is required"
}
 

Request      

GET api/organizer/v1/events

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/organizer/v1/events/{event}/calendar

Example request:
curl --request GET \
    --get "http://51.195.11.72:5000/api/organizer/v1/events/2/calendar" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://51.195.11.72:5000/api/organizer/v1/events/2/calendar"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 55
access-control-allow-origin: *
 

{
    "message": "API key is required"
}
 

Request      

GET api/organizer/v1/events/{event}/calendar

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

event   integer   

The event. Example: 2

GET api/organizer/v1/tickets

Example request:
curl --request GET \
    --get "http://51.195.11.72:5000/api/organizer/v1/tickets" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://51.195.11.72:5000/api/organizer/v1/tickets"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 54
access-control-allow-origin: *
 

{
    "message": "API key is required"
}
 

Request      

GET api/organizer/v1/tickets

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json