Giter Club home page Giter Club logo

timeline-server's Introduction

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

Please feel free to use a different markup language if you do not plan to run rake doc:app.

API Endpoints

Base URL: “timeline-server.elasticbeanstalk.com

  • Get the web token. Creates missig parse users. The returned web token must be provided in different requests for the header field X-Timeline-Authentication.

    GET /api/user/get_token
    Header: X-Parse-Session-Token String
    • returns: string

    • status-codes: 200, Todo

  • Returns all data of a timeline.

    GET /api/timeline/:id
    
    - id: UUID of the Timeline
    - status-codes: 200, 404, Todo
  • List all moments of a specific timeline.

    GET /api/timeline/:id/videos
    
    - id: UUID of the Timeline
    - returns: List of moments
    - status-codes: 200, 404, Todo
  • Creates a timeline

    POST /api/timeline/create
    
    - name: Name of the Timeline
    - user_id: UUID of the user
    - status-codes: 200, Todo
  • Gets more information of a moment

    GET /api/video/:id
    
    - id: UUID of the moment
    - returns: Moment
    - status-code: 200, 404, Todo

Documentation missing

PUT /api/video/create
video: video data
timeline_id: UUID of the Timeline

DELETE /api/timeline/:uuid/delete

POST /api/user/update
POST /api/user/delete
GET /api/user/me
GET /api/user/:id
POST /api/user/settings

GET /api/timeline/me
GET /api/timeline/user/:user_id

GET /timeline/trending
GET /timeline/following

POST /api/timeline/:id/like
POST /api/timeline/:id/unlike
POST /api/timeline/:id/follow
POST /api/timeline/:id/unfollow

POST /api/user/:id/like
POST /api/user/:id/unlike
POST /api/user/:id/follow
POST /api/user/:id/unfollow

POST /api/user/:id/approve
POST /api/user/:id/decline
POST /api/user/:id/block
POST /api/user/:id/unblock
POST /api/timeline/:id/block
POST /api/timeline/:id/unblock

GET /api/search/:searchterm

GET /api/user/followers
GET /api/user/following
GET /api/timeline/following
GET /api/timeline/followers
GET /api/timeline/:id/followers
GET /api/user/blocked
GET /api/timeline/blocked
GET /api/user/follow_queue

GET /api/user/notifications?date=:date

POST /api/user/increment_timelines

GET /api/timeline/:id/followers
GET /timeline/:id/likers

timeline-server's People

Contributors

babar-insonix avatar misha311289 avatar

Watchers

vijay avatar Minakshi Bhardwaj avatar

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.