-
Notifications
You must be signed in to change notification settings - Fork 0
Point settings
larsverp edited this page May 22, 2020
·
1 revision
The pointsettings endpoint is used to get and update the point settings.
The get endpoints do not use any body text.
-
/api/pointsettingsreturns all current settings.
There should be no errors on the get endpoint
200 OK - returns a JSON object with all settings.
The put endpoints does not require any body data.
-
/api/pointsettingsreturns all current settings. The following fields and their expected value are available for changes:
'event_subscribe' => 'integer'
'event_unsubscribe' => 'integer'
'host_review_one_star' => 'integer'
'host_review_two_star' => 'integer'
'host_review_three_star' => 'integer'
'host_review_four_star' => 'integer'
'host_review_five_star' => 'integer'
'cat_review_one_star' => 'integer'
'cat_review_two_star' => 'integer'
'cat_review_three_star' => 'integer'
'cat_review_four_star' => 'integer'
'cat_review_five_star' => 'integer'
'tinder_like' => 'integer'
'tinder_dislike' => 'integer'
- Errors will only be thrown when the body data does not exist the changeable values
- No error will be thrown when the body is empty
200 OK - returns a JSON object with all current point settings.