3meters / proxibase

Patchr web service
1 stars 0 forks source link

Signout call is returning generic data #425

Closed Jaymassena closed 8 years ago

Jaymassena commented 8 years ago

https://api.aircandi.com/v1/auth/signout?user=us.000000.00000.000.000001&session=206e35d846989f8589fc4df212b4290285318d70

{
  "name": "Patchr",
  "version": "4.1.13",
  "signin": "https:\/\/api.aircandi.com\/v1\/signin",
  "schemas": "https:\/\/api.aircandi.com\/v1\/schema",
  "docs": "https:\/\/github.com\/3meters\/proxibase#readme",
  "data": "https:\/\/api.aircandi.com\/v1\/data",
  "admin": "https:\/\/api.aircandi.com\/v1\/admin",
  "log": "https:\/\/api.aircandi.com\/v1\/admin\/log",
  "errlog": "https:\/\/api.aircandi.com\/v1\/admin\/errlog",
  "cpus": 48,
  "workers": 2,
  "tag": "31830606",
  "clientMinVersions": {
    "com.aircandi.catalina": 300,
    "com.patchr.android": 122,
    "com.3meters.patchr.ios": 107
  },
  "time": 1
}

I would expect time and clientMinVersions but not the rest.

georgesnelling commented 8 years ago

It just redirects to root. Is that a problem?

Jaymassena commented 8 years ago

Noise in the returned data that is useless to the mobile client isn't very helpful. This output seems more useful to the web client I'm guessing.

georgesnelling commented 8 years ago

Ok I'll change it.

georgesnelling commented 8 years ago

fixed pushed with 4.1.14. Now just returns count: 1 plus the other standard return stuff. The current android client doesn't seem to mind the change. Probably want to make sure the IOS client is happy too. Reopen if there's a problem.

Jaymassena commented 8 years ago

iOS client handles logout/login fine. Thanks!