Coder Social home page Coder Social logo

api's People

Contributors

jrf0110 avatar lalitkapoor avatar nijikokun avatar tjmehta avatar weswilliams avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

api's Issues

discussions, media, and polls (possibly flipAds) need to support more than just businesses as creators

currently a business id is collect for each of these collections, but because users can create this content too it we need to be able to support that as well, so proposed change is:

entity: {type: ['consumer', 'business'], id: objectid}

this is essentially a dbref, so see if a dbref can be used in an index and just do that.

do it for flipads as well, another entity type: charity might be added i'm assuming

Campaigns - updating restrictions

I am adding the following restrictions:

  1. Campaign being updated must be processed and not active (start date)
  2. Campaigns in an 'error' (transactions.state) can always be edited

this applies to campaign 'updates' as well as 'deletions'

Discussions

Fields Required

  • Question
  • Image
  • Amount allocated for giving away to users (total)
  • count of responses (not including comments on responses)
  • dates for starting/ending
  • list of the best responses (these will be featured at the top of a discussion when it completes)

API Functions

  • List
    • pending
    • active
    • completed
  • View Single
  • Cancel discussion (only if it's not already running)

Consumer integration look here: https://trello.com/card/discussions/4f14bcaf7217818273021a17/16

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.