Create 3.3. request=authout

This commit is contained in:
Rainer Gümpelein 2022-01-28 11:38:45 +00:00
parent f5204c0945
commit 96dd6e086b

37
3.3.-request=authout.md Normal file
View file

@ -0,0 +1,37 @@
### request=authout
| key | Required | Format | Comment |
| ---------- | -------- | -------- | ------------------------------------- |
| authcookie | + | text>=30 | unique encrypted key |
Example
**REST request=authout**
```
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"
}
}
```