mirror of
https://gitlab.com/t6353/sharee.bike.wiki.git
synced 2024-12-22 15:46:26 +01:00
Create 4.7. request=user_feedback
This commit is contained in:
parent
faacc16bd7
commit
7c96861b9f
1 changed files with 26 additions and 0 deletions
26
4.7.-request=user_feedback.md
Normal file
26
4.7.-request=user_feedback.md
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
### request=user_feedback
|
||||||
|
|
||||||
|
**request** PUSH user_feedback
|
||||||
|
|
||||||
|
| key | Required | Format | Comment |
|
||||||
|
| ---------- | -------- | -------- | ------------------------------------- |
|
||||||
|
| authcookie | + | text | unique encrypted key |
|
||||||
|
| bike | + | text | bike prefix_number |
|
||||||
|
| message | o | text | user feedback message |
|
||||||
|
| bike_broken | o | text | if "Rad i.O." selected, then "1" |
|
||||||
|
|
||||||
|
**response** "user_feedback" JSON-Object
|
||||||
|
| key | Required | Format | Comment |
|
||||||
|
| -------------- | -------- | -------- | -------------------------------------- |
|
||||||
|
| feedback_id | + | text | ID |
|
||||||
|
| bike | + | text | bike number |
|
||||||
|
| bike_broken | + | text | 0=bike_broken, 1=bike i.O. |
|
||||||
|
| message | + | text | free user feedabck text |
|
||||||
|
|
||||||
|
Example
|
||||||
|
**REST request=user_feedback**
|
||||||
|
```
|
||||||
|
https://shareeapp-fr01.copri-bike.de/APIjsonserver?request=user_feedback&bike=FR_1538&message=alles%20gut&bike_broken=1&authcookie=6103_ad720ed63bd40039e4abe8a9ad7315e1_23456789
|
||||||
|
```
|
||||||
|
|
||||||
|
**response** is just the **sharee JSON default** with user_feedback
|
Loading…
Reference in a new issue