serveit-ca / curastreamPlugin

Curastream
https://www.curastream.com
0 stars 0 forks source link

Testing API Responses #94

Open serveit-ca opened 5 years ago

serveit-ca commented 5 years ago

Hi Kaiden, As you may know the app is currently crashing on IOS (not sure about android) when you view a program. You can log into the app fine (Which means the API route for login works)

I believe the issue is isolated to the api endpoints location on rest.php lines 9-44 Other helpful info includes - 159 - 187 of testing_API.php you can get a bearer token My guess is that a key field is coming back null or void or blank and its only one of the key fields

serveit-ca commented 5 years ago

This is what we are currently getting:

program: { ...., phases: [ [ { phase_ object } ], [ { phase_object } ] ], .... }

expected is this:

program: { ...., phases: [ { phase_ object }, { phase_object } ], .... }

serveit-ca commented 5 years ago

the Real JSON we need is https://curastream.serveit.work/doc/#api-Programs-getDetailsOfProgramm