Closed gkc closed 2 months ago
enroll:fetch and enroll:list return different JSON structure the same enrollmentId
enroll:fetch
enroll:list
In a response from enroll:list, the enrollment looks like this
"f02825db-afb0-4726-8459-5adce1e267ee.new.enrollments.__manage@alice":{ "appName":"test", "deviceName":"dev1", "namespace":{"buzz":"rw"}, "encryptedAPKAMSymmetricKey":"[....]", "status":"revoked" }
The same enrollment looks like this from enroll:fetch
{ "sessionId":"_ca2bc326-d6e1-48af-8af3-e1c2cd818177", "appName":"test", "deviceName":"dev1", "namespaces":{"buzz":"rw"}, "apkamPublicKey":"[...]", "requestType":"newEnrollment", "approval":{"state":"revoked"}, "encryptedAPKAMSymmetricKey":"[...]" }
Basic structure should be the same. Note in particular
Describe the bug
enroll:fetch
andenroll:list
return different JSON structure the same enrollmentIdSteps to reproduce
In a response from enroll:list, the enrollment looks like this
The same enrollment looks like this from enroll:fetch
Expected behavior
Basic structure should be the same. Note in particular