sharee.bike-Wiki/3.3.-pri-request=authout.md

38 lines
1.1 KiB
Markdown
Raw Normal View History

2022-01-28 21:40:23 +01:00
### primary request=authout
2022-01-28 12:38:45 +01:00
| key | Required | Format | Comment |
| ---------- | -------- | -------- | ------------------------------------- |
| authcookie | + | text>=30 | unique encrypted key |
Example
2022-01-28 21:40:23 +01:00
**REST PUSH request=authout**
2022-01-28 12:38:45 +01:00
```
https://shareeapp-primary.copri-bike.de/APIjsonserver?request=authout&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_23456789
```
**response**
```
{
"shareejson" : {
"user_group" : [
"FR_300001",
"FR_300029"
],
"impress_html" : "site/impress.html",
"response" : "authout",
"bike_info_html" : "site/bike_info.html",
"lang" : "DE",
"debuglevel" : "1",
"privacy_html" : "site/privacy.html",
"tariff_info_html" : "site/tariff_info.html",
"response_state" : "OK: logout",
"uri_primary" : "https://shareeapp-primary.copri-bike.de",
"clearing_cache" : "0",
"authcookie" : "",
"agb_html" : "site/agb.html",
"user_id" : "mail@example.tld",
"copri_version" : "4.1.10.2",
"response_text" : "Goodbye"
}
}
```