GithubHelp home page GithubHelp logo

s-ayush2903 / celesta2k19-webpage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from celesta-iitp/celesta2k19-webpage

1.0 0.0 0.0 546.07 MB

HTML 7.41% PHP 34.15% CSS 16.94% Hack 0.75% JavaScript 40.09% Batchfile 0.01% Shell 0.01% TSQL 0.66%

celesta2k19-webpage's Introduction

Celesta2k19-Webpage

Participate in an Event:

Link: https://celesta.org.in/backend/admin/functions/register_event.php

Method: POST

Parameters: eventid, celestaid, access_token

Response:

  • status: -302 - Already Registered -202- Succesfully registered the user -401- Unauthorized access. Celesta ID or access token doesn't match. -404 - Event not found
  • message - Array of Messages

Register in a Team Event:

Link: https://celesta.org.in/backend/admin/functions/reg_team_event.php

Method: POST

Parameters:

  • eventid
  • celestaid (of captain)
  • access_token(of captain)
  • member1 (member 1 celestaid)
  • member2 (member 2 celestaid)
  • member3 (member 3 celestaid)
  • member4 (member 4 celestaid)
  • member5 (member 5 celestaid)
  • team_name(Name of the team)

Response:

  • status: -302 - Some members of the team is already Registered -202- Successfully registered the team -401- Unauthorized access. Celesta ID or access token doesn't match. -404 - Event does not found -405 - members celesta id is incorrect
  • message - Array of Messages

Book Accommodation

Link: https://celesta.org.in/backend/user/functions/book_accommodation.php

Method: POST

Parameters:

  • celestaid
  • access_token
  • day1 (Pass this only if this option is selected)
  • day2 (Pass this only if this option is selected)
  • day3 (Pass this only if this option is selected)
  • all_day (Pass this only if this option is selected)
  • day1_day2 (Pass this only if this option is selected)
  • day2_day3 (Pass this only if this option is selected)

Response:

  • status: -202 - Successfully booked your accommodation for 2 days -401 - Unauthorized access -208 - Celesta id has already booked accommodation -404 - Celestaid does not exist
  • message - Array of informations

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.