Home page

  • GET: https://api.puskice.org

News API

  • GET: https://api.puskice.org/news?page=1 - Same news as home page of site at https://www.puskice.org. Argument page is optional and can be ommited. It represents a pagination
  • GET: https://api.puskice.org/news/category/{num}?page=1 - All news from category with ID of num. Argument page is optional and can be ommited. It represents a pagination
  • GET: https://api.puskice.org/news/single/{num} - Get a single article with ID of num.
  • GET: https://api.puskice.org/news/thumbs-up/{num} - Thumb up article with ID of num.
  • GET: https://api.puskice.org/news/thumbs-down/{num} - Thumb down article with ID of num.

Comments API

  • GET: https://api.puskice.org/comments?page=1 - Get all published comments in backward chronological order. Argument page is optional and can be ommited. It represents a pagination
  • GET: https://api.puskice.org/comments/news-comments/{num}?page=1 - Get paginated comments for article with ID of num. Argument page is optional and can be ommited. It represents a pagination
  • GET: https://api.puskice.org/comments/thumbs-up/{num} - Thumb up comment with ID of num.
  • GET: https://api.puskice.org/comments/thumbs-down/{num} - Thumb down comment with ID of num.
  • POST: https://api.puskice.org/comments/create/{article_id} - Create a comment for article with ID of article_id. Required POST parameters are: commentContent representing content of a comment, username representing author username and email representing valid author email.

Pages API

  • GET: https://api.puskice.org/pages?page=1 - All static pages paginated. Argument page is optional and can be ommited. It represents a pagination
  • GET: https://api.puskice.org/pages/single/{id} - Get a single static page with ID or permalink of id (number or string).
  • GET: https://api.puskice.org/pages/thumbs-up/{num} - Thumb up static page with ID of num.
  • GET: https://api.puskice.org/pages/thumbs-down/{num} - Thumb down static page with ID of num.

Subjects API

  • GET: https://api.puskice.org/subjects/specific/{semester?}/{department?} - All subjects for given semester and given department. Arguments semester and department are optional and can be ommited.
    Important note: Both arguments are either set or unset. Otherwise they are ignored.
  • GET: https://api.puskice.org/subjects/single/{num} - Get a single subject page with ID of num. JSON contains all files attached to this page, all lecturers, and all subject info.
  • GET: https://api.puskice.org/subjects/thumbs-up/{num} - Thumb up subject page with ID of num.
  • GET: https://api.puskice.org/subjects/thumbs-down/{num} - Thumb down subject page with ID of num.

Files API

  • GET: https://api.puskice.org/files/show/{num} - Get file with ID of num
  • GET: https://api.puskice.org/pages/thumbs-up/{num} - Thumb up file with ID of num.
  • GET: https://api.puskice.org/pages/thumbs-down/{num} - Thumb down file with ID of num.

Contacts API

  • GET: https://api.puskice.org/contacts/single/{num} - Get contact with ID of num
  • GET: https://api.puskice.org/contacts/marks/{contactId}?page=1 - Get marks for contact with ID of contactId. Argument page is optional and can be ommited. It represents a pagination

Polls API

  • GET: https://api.puskice.org/polls/current - Get latest active poll
  • GET: https://api.puskice.org/polls/show/{num} - Get poll with ID of num
  • GET: https://api.puskice.org/polls/poll-results/{num} - Get results for poll with ID of num
  • POST: https://api.puskice.org/polls/cast-vote - Cast vote at poll. Required POST parameters are: poll_id representing poll ID and option_id representing poll option ID.

Code book

  • Departments

    1. Zajedničke osnove
    2. Informacioni sistemi i tehnologije
    3. Menadžment
    4. Operacioni menadžment
    5. Upravljanje kvalitetom
  • Categories

    1. Info
    2. IT
    3. Biz
    4. None
    5. None
    6. Studentske organizacije
    7. None
    8. Fakultet
    9. Sport
    10. Rezultati
    11. Intervju
    12. Materijali
    13. PentaFON
    14. None
    15. Stipendija
    16. Gde su, šta rade?
    17. Naš komentar
    18. Magazin
    19. Prva godina
    20. Druga godina
    21. Treća godina
    22. Četvrta godina
    23. Zabava
    24. Prakse i zaposlenje
    25. Slika nedelje
    26. Kultura
    27. Dom Kulture Studentski grad
    28. Madlenianum
    29. Vesti
    30. Da li ste znali?
    31. Priručnik za buduče Beograđane
    32. Bioskop Fontana
    33. Međunarodne prilike by AIESEC
    34. IT devojke