Giter Club home page Giter Club logo

livestreaming's Introduction

云游戏直播平台Response Api简易说明文档


响应JSON

  • code

描述调用的api返回结果的初略描述。

代码 描述
200 返回结果正确
500 一般性错误
501 post数据错误
505 流服务器错误
  • data

返回数据的载体。

  • message

返回自然语言的提示信息。


接口Url

  • 使用jquery异步传输数据。传输数据方法为post。

  • 根url:http://172.18.219.135:8080/livestreaming/

  • 目前链接要使用相对路径,方便以后修改。

  • 注册

  • url:./user/register

  • 参见url:./user

  • 需要post数据

  • 登录

  • url:./user/login

  • 参见url:./

  • 需要post数据

  • 获取自身信息

  • url:./user/me

  • userId直接从session获得

  • 不需get数据

  • 注册房间

  • url:./room/register

  • 参见url:./room

  • 需要post数据

  • 保存录像

  • url:./room/save

  • 由于用户只能创建一个直播房间,可以唯一确定其直播房间

  • 不需要get数据

  • 获取游戏类型列表

  • url:./gameType

  • 不需get数据

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.