Skip to content

djavid/FiftyGramServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FiftyGramServer

FiftyGram server for iOS and Android clients

Commands API

For POST commands:

  • if success - returns HTTP 200 (OK)
    else - returns HTTP 500 (INTERNAL SERVER ERROR)

Party

  • /party/get/all - get all Parties (GET)
  • /party/get/id/{id} - get Party with specified id (GET)
  • /party/insert - put Party object (POST)

Like

  • /likes/get/all - get all Likes (GET)
  • /likes/get/partyid/{id} - get Likes for the Party with specified id (GET)
  • /likes/insert - put Like object (POST)
  • /likes/insert/array - put Like objects array (POST)
  • /likes/delete - remove Like by its object (DELETE)
  • /likes/delete/{id} - remove Like by its id (GET)

Guest

  • /guests/get/partyid/{id} - get Guests for the Party with specified id (GET)

Comment

  • /comment/get/partyid/{id} - get Comments for the Party with specified id (GET)

User

  • /user/get/all - get all Users (GET)
  • /user/get/id/{id} - get User with specified id (GET)
  • /user/get/login/{login} - get User with specified login (GET)

To be continued...

About

FiftyGram server for iOS and Android clients

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages