Giter Site home page Giter Site logo

ip2_api's Introduction

Howdy ๐Ÿ‘‹

  • ๐Ÿ”ญ Working as an Azure Data Engineer @ Lingaro, Warsaw
  • ๐ŸŒฑ Interested in Data Engineering, Distributed Systems and Software Architecture
  • ๐Ÿ“ซ You can reach me on Twitter (@bartoszgajda55) or LinkedIn (Bartosz Gajda)

ip2_api's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

ip2_api's Issues

Question Endpoints

Require new Endpoints for the Question table

Add single question
Takes

  • QuizID (foreign key) :num
  • QuestionString :string
  • QuestionImage :string
  • CorrectAnswer :string
  • WrongAnswer1 :string
  • WrongAnswer2 :string
  • WrongAnswer3 :string

Add array of questions
Takes

  • QuizID
  • Array of JSON Objects
    (this prevents a post request for every question, there are a lot)

Edit question
Takes optional

  • QuestionString :string
  • QuestionImage :string
  • CorrectAnswer :string
  • WrongAnswer1 :string
  • WrongAnswer2 :string
  • WrongAnswer3 :string

Delete question
Takes

  • QuestionID

/api/user/find - Respond with user details?

Could the /api/user/find endpoint have a response like /api/user/{id} does?

This will be used to find users by email/username to allow admins to ban users by providing an email/username instead of ID

Friends Endpoint Change

Would it be possible to change the user/id/friends endpoint to return with just the UserID of the opposite user specified?
e.g
if user 85 is friends with 86, user/85/friends would respond with
[
{UserID:86},
{more},
{friend},
{objects}...
]

This prevents us doing an extra httprequest to prevent duplicating friend entries

Ban & Unban User Endpoints

Require an endpoint to add a new record to Blacklist table
Takes:
UserID int
BanReason string

Require a way to get a user's ban reason
Takes:
UserID
Response:
BanReason

Require an endpoint to lift a ban/remove record from Blacklist
Takes:
UserID

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.