Skip to content

Latest commit

 

History

History
60 lines (38 loc) · 1.2 KB

misc.md

File metadata and controls

60 lines (38 loc) · 1.2 KB

#Signup

Description

Signup API Calls

##POST /signup Signup new user

###Parameters

  • request body (required) - Included in this body is:
    • 'email' - Email of the new user (string)
    • 'deviceId' - Device type of the new user (string)
    • 'language' - Language of new user (optional) (string)

###Return

  • Returns status and result of action

#CrashReport

##Description Crash Report Calls

##Requires Authentication

  • Requires valid User ID when querying API

##POST /crashReport/:userId Store crash report for user

###Parameters

  • userId (required) - Id of current user
  • request body (required) - Included in this body is:
    • 'osType': OS (must be one of) ['android', 'ios', 'wp'] (string)
    • 'osVersion': (e.g. '4.4.0-Kitkat SDK whatever') (string)
    • 'lokkiVersion': (e.g. Lokki 1.2.3) (string)
    • 'reportTitle': (e.g. 'Lokki crash NullPointerException') (string)
    • 'reportData': (string)

###Return

  • Returns status and result of action

#Account Reset

##Description Account Reset Calls

##GET /reset/:resetId Account reset/recovery using confirmation code

###Parameters

  • resetId (required) - Id of reset

###Return

  • Returns status and result of action