Try IT! API (1.0.2)

Download OpenAPI specification:Download

Official API for the Try IT! congress' website

Home

General Information required at any given page within the website.

Returns a JSON object with streaming information.

Returns information regarding current streaming status. If the congress is currently streaming, retrieves the url of the livestream.

Responses

Response samples

Content type
application/json
{}

Editions

Information regarding specific editions.

Returns a JSON object with all editions

Returns a JSON object with all editions.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Returns a JSON object with info about a specific edition.

Returns a JSON object with information regarding a specific edition

path Parameters
year
required
integer
Example: 2020

Year of the edition

Responses

Response samples

Content type
application/json
{
  • "id": 812,
  • "year": 2020,
  • "title": "Try IT! 2020",
  • "slogan": "string",
  • "description": "string",
  • "start_date": 1581089789382,
  • "end_date": 1581089789382,
  • "google_calendar_url": "string"
}

Returns a JSON object with all sponsors (companies/organizations) for the specified edition

Returns the information of all sponsors for the specified edition. Sponsors will be classified by the type of sponsorship.

path Parameters
year
required
integer
Example: 2020

Year of the edition

Responses

Response samples

Content type
application/json
[]

Returns a JSON object with all speakers for the specified edition

Returns the information of all speakers (people) of a specific edition.

path Parameters
year
required
integer
Example: 2020

Year of the edition

Responses

Response samples

Content type
application/json
[]

Returns a JSON object with all the talks

Returns the information of the talks

path Parameters
year
required
integer
Example: 2020

Year of the edition

Responses

Response samples

Content type
application/json
[]

Returns a JSON object with all the workshops

Returns the information of the workshops

path Parameters
year
required
integer
Example: 2020

Year of the edition

Responses

Response samples

Content type
application/json
[]

Returns a schedule with all the events in the specified edition

Returns a schedule with all the events in the given edition.

path Parameters
year
required
integer
Example: 2020

Year of the edition

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Returns the list of all the organizers

Returns the list of all the organizers

path Parameters
year
required
integer
Example: 2020

Year of the edition

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Returns the amount of ECTS a student obtains

Returns the list of all the organizers

path Parameters
year
required
integer
Example: 2020

Year of the edition

nif
required
string
Example: X255555T

NIF of the student

Responses

Response samples

Content type
application/json
1.5

Tickets

Information regarding the generation and checking of tickets.

Creates a new ticket

Sends the information of the form filled by the user to the server in order to create a new ticket and send him the email with the ticket. It also generates information regarding the distribution.

Request Body schema: application/json
name
required
string
lastname
required
string
identity
required
string[/^[0-9]{8}[TRWAGMYFPDXBNJZSQVHLCKET]{1}$/|/^...
email
required
string <email>
is_student
required
boolean
is_upm_student
boolean
upm_school
string
degree
string
year
integer [ 1 .. 4 ]
phone
required
string

Responses

Request samples

Content type
application/json
{
  • "name": "Iron Man",
  • "lastname": "The Best",
  • "identity": "00112233K (DNI) or X0011223T (NIE)",
  • "email": "contact@ironman.com",
  • "is_student": true,
  • "is_upm_student": true,
  • "upm_school": "ETSIINF",
  • "degree": "Grado en Ingeniería de Armas Nucleares",
  • "year": 2,
  • "phone": "123456789"
}

Response samples

Content type
application/json
{
  • "code": 12,
  • "message": "Ticket creado correctamente",
  • "message_abbr": "ticket_post_success // See messages abbreviations"
}

Gets the assigned location distribution for an attendee for a specific ticket.

Returns the different locations (rooms / classes) to which the attendee is asigned. For example, the student has to go to room "SALON DE ACTOS" on day 1 or "5001" on day 2.

path Parameters
ticket_id
required
integer
Example: 75

ID of the Ticket

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Awards

Information regarding the different awards.

From a specified prize scenario, returns an attendee's NIF. (INFO - SENDING ENTIRE PRIZERESOURCE BUT THAT IS NOT NECESSARY)

It generates a winner for the specified raffle. If a prize is selected, it uses that one. Otherwise (no request body json object), it chooses a random one from a pre-established pool of prizes.

query Parameters
is_global_raffle
required
boolean
Example: is_global_raffle=false

If false, it indicates that the raffle is for a single event (talk, workshop, ...). If true, it indicates that it has to take into consideration the assistance to all events in the congress.

Request Body schema: application/json
name
required
string
description
required
string
image
required
string <url> http[s]?:\/\/(?:[a-zA-Z]|[0-9]|[\/.?&+!*=\-])...
value
required
number

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
"12345678A"

Attendance

Information regarding attendance.

Sends necessary information to register a user's attendance

Sends the information in order to check attendance.

Request Body schema: application/json
session_id
required
integer
ticket_id
required
integer
ticket_signature
required
string
signature
required
string
time_stamp
required
integer

Responses

Request samples

Content type
application/json
{
  • "session_id": 42,
  • "ticket_id": 75,
  • "ticket_signature": "KFSDHJF8232L",
  • "signature": "RE34TGFDS",
  • "time_stamp": 234213414123
}

Response samples

Content type
application/json
{
  • "code": 12,
  • "message": "Ticket creado correctamente",
  • "message_abbr": "ticket_post_success // See messages abbreviations"
}