We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting inconsistent results from our new REST API.
Identifier comes as _id:
{"services":[{"_id":"ooGRhWvEPrLx9vPFB","service":"open","clientId":"h8K3pqagWgqxBE2cp","custom":true,"serverURL":"https://open.rocket.chat","tokenPath":"/oauth/token","identityPath":"/api/v1/me","authorizePath":"/oauth/authorize","scope":"openid","buttonLabelText":"open","buttonLabelColor":"#FFFFFF","loginStyle":"popup","buttonColor":"#13679A","tokenSentVia":"payload","identityTokenSentVia":null,"usernameField":"username","mergeUsers":true}],"success":true}
Identifier comes as id:
{"services":[{"id":"eEYuSPY7KpjtFeCrY","name":"facebook","clientId":"835103589938459","buttonLabelText":"","buttonColor":"","buttonLabelColor":"","custom":false},{"id":"pC7Ye83eYPgRz9yXm","name":"github","clientId":"886a7b2a1fb067b10d3a","buttonLabelText":"","buttonColor":"","buttonLabelColor":"","custom":false},{"id":"R6x57fMdjLfSJCKHi","name":"gitlab","clientId":"ad37be86b2fe45ab494ea51cffffa673c89c240e9fa6addfbedd06a587707731","buttonLabelText":"","buttonColor":"","buttonLabelColor":"","custom":false},{"id":"antN9dgpGFNjYq3Gi","name":"google","clientId":"662030055877-uma7qar29ji84gopa740fasv2f6rfj1v.apps.googleusercontent.com","buttonLabelText":"","buttonColor":"","buttonLabelColor":"","custom":false},{"id":"WcJkBdR2FGQc2asbt","name":"linkedin","clientId":"77j932xbl3gl62","buttonLabelText":"","buttonColor":"","buttonLabelColor":"","custom":false},{"id":"ZLdFDrMkEiJMnDQQY","name":"meteor-developer","clientId":"LDGYjcX2knskEP8HR","buttonLabelText":"","buttonColor":"","buttonLabelColor":"","custom":false},{"id":"9S5Q7d7An5iwJRzHK","name":"twitter","buttonLabelText":"","buttonColor":"","buttonLabelColor":"","custom":false}],"success":true}
Perhaps when it's a custom oauth it's coming as "_id" and when it's a built-in oauth it's coming as "id".
Let's make everything "_id". Other v1 endpoints are using "_id" like /api/v1/custom-emoji.
The text was updated successfully, but these errors were encountered:
Causing this bug on iOS: RocketChat/Rocket.Chat.iOS#1577
Sorry, something went wrong.
@MarcosSpessatto let's do this and get it merged this week, as it's a regression due to the newly added endpoint
No branches or pull requests
Getting inconsistent results from our new REST API.
Identifier comes as _id:
Identifier comes as id:
Perhaps when it's a custom oauth it's coming as "_id" and when it's a built-in oauth it's coming as "id".
Let's make everything "_id". Other v1 endpoints are using "_id" like /api/v1/custom-emoji.
The text was updated successfully, but these errors were encountered: