Skip to content

SimonPhilouze/RedM-Api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedM API

Routes

Users

  • GET users/:steamId
  • POST users/
    steamId: String,
    isAlive: Boolean,
    firstName: String,
    lastName: String,
    groupId: String,
    money: Array,
    jobs: Array,
    skin: Object

Inventories

  • GET inventories/:id
  • GET inventories/:id&action=&type=&id=&quantity= List of query avaiable
    • action : type of action (add or remove)
    • type : type of what i want add in my inventory (resource or craft)
    • id : id of the resource or craft
    • quantity : number of the quantity i want
  • POST inventories/:id/collect/:itemId

MapItems

  • GET mapitems/
  • POST mapitems/
    resourceId: String,
    qty: Number,
    name: String,
    icon: String,
    description: String, 
    hash: String, 
    position: Object*
  • DELETE mapitems/:id

Resources

  • GET resources/
  • GET resources/:id
  • DELETE resources/:id
  • POST resources/
    name: String,
    icon: String,
    description: String

Crafts

  • GET crafts/

Whitelist

  • GET whitelist/:id
  • DELETE whitelist/:id
  • POST whitelist
    steamId: String
    discordId: String

Authors

  • Simon Philouze - Initial work - HitAngry
  • Sornin de Laubier - Contributor - SorninL

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •