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

[Fix] Returns response status code 2XX for PUT operations of stream properties when UseSuccessStatusCodeRange is enabled #357

Merged
merged 9 commits into from
Mar 21, 2023

Conversation

irvinesunday
Copy link
Contributor

@irvinesunday irvinesunday commented Mar 17, 2023

Fixes #310

This PR:

  • Returns response status code 2XX for PUT operations of stream properties when UseSuccessStatusCodeRange = true
  • Adds schema reference to the content property of the response object of content stream properties when UseSuccessStatusCodeRange = true.

Response object of the endpoint: /drives/{drive-id}/items/{driveItem-id}/content will be:
image
when UseSuccessStatusCodeRange = true

@github-advanced-security
Copy link

You have successfully added a new SonarCloud configuration ``. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

73.8% 73.8% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong response status code for Drive upload endpoint
2 participants