-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
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
[Personalizer] Rest API review #15696
Comments
Attending: The version should probably be v1.1-preview.2. JS: Are the authentication protocols all the same here? Yes. JS: What is the format of the request bodies? Just binary, or is there any specification? There is a definition in the repo. TG: How is versioning handled for the payload? It is in the payload. JS: There should be client libraries for C#, Java, JavaScript, Python. This is a PLR requirement. You should be planning for that. Main customer for these APIs is first party, but will be making available to third parties after. SL: Should we combine these two operations into one? TG: You should have a default response that describes the error response. MK: If no response body, then return 204 rather than 200. Swashbuckle generates the body as "type: string, format: byte" but it should be "type: string, format: binary". TG: Reiterating that the format of the request body should be documented. |
Addressed the above comments in the PR. I updated the api description to indicate that it is for first party use and intended to be used within a SDK. This is our primary use case although it will be available to 3rd customers, they should avoid using it. |
Swagger PR: #15699
Design link
https://microsoft.sharepoint.com/:w:/t/personalizr/Ebn16DbDmadPuTMggz8FrzIBAsjvBQ4q1X41xsqVMCzkqA?e=qFDOsV
The text was updated successfully, but these errors were encountered: