Skip to content
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

Guidance on response payload with 201 #481

Open
OlgaPodo opened this issue Jul 20, 2023 · 0 comments
Open

Guidance on response payload with 201 #481

OlgaPodo opened this issue Jul 20, 2023 · 0 comments
Labels
Graph Guidelines This should be reviewed by Microsoft Grap team. Microsoft Graph This should be reviewed by Microsoft Grap team.

Comments

@OlgaPodo
Copy link
Collaborator

OData says request that successfully creates a resource returns 201 Created. In this case, the response body MUST contain the resource created.

Microsoft REST API Guidelines say "Services MAY also return the full metadata for the created item in the response."

Graph Guidelines don't say anything that I have found.

@OlgaPodo OlgaPodo added Graph Guidelines This should be reviewed by Microsoft Grap team. Microsoft Graph This should be reviewed by Microsoft Grap team. labels Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Graph Guidelines This should be reviewed by Microsoft Grap team. Microsoft Graph This should be reviewed by Microsoft Grap team.
Projects
None yet
Development

No branches or pull requests

1 participant