This repository was archived by the owner on May 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
ph settings
Liam Jack edited this page Aug 31, 2015
·
5 revisions
/ph/settings
This is a multi-functional endpoint that can change multiple account settings.
Used to send a two factor authentication verification code to the account phone number.
-
action:sendTwoFACode timestampreq_tokenusername
-
logged:trueorfalse message
Used to enable two factor authentication after receiving a verification code by SMS.
-
action:enableTwoFA -
code: Verification code received by SMS (Example:986605) dsigdtoken1i-
password: This is the account username (Don't ask me why.) timestampreq_tokenusername
-
logged:true -
two_fa_verified_devices: Array of devices-
id: Random UUID to identify the device -
last_login: Timestamp of last login -
name: Device name (Example:Android Device)
-
-
logged:false message
This will send an email to the account's email address notifying the account owner of the activation of TFA.
Used to disable two factor authentication
-
action:disableTwoFA timestampreq_tokenusername
-
logged:trueorfalse
This will send an email to the account's email address notifying the account owner of the deactivation of TFA.
This will send / resend an email to the account's email address containing a verification URL.
-
action:verifyEmail timestampreq_tokenusername
-
logged:true -
message:Check email for confirmation link
Enables the user to decide who can view their story
-
action:updateStoryPrivacy -
privacySetting:CUSTOM,FRIENDSorEVERYONE -
storyFriendsToBlock: List of friend usernames that will not be able to see your story (Only required whenprivacySetting = CUSTOM timestampreq_tokenusername
-
logged:trueorfalse -
message:Story privacy updated -
param: TheprivacySettingsent in request
Allows the user to choose to receive snaps from everyone or friends only
-
action:updatePrivacy -
privacySetting:0to receive from everyone,1to receive from friends only timestampreq_tokenusername
-
logged:trueorfalse -
message:Snap privacy updated -
param: TheprivacySettingsent in request