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

use format:raw for files outside format:json limit #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jordanmnunez
Copy link

Closes #3
Builds on the idea of PR: #9

format: raw will return files up to 10MB. This pr provides a way to fallback to a format: raw request if there is no decoded content in a file expected to have content.

@Bhacaz
Copy link
Owner

Bhacaz commented Feb 10, 2023

@jordanmnunez Thanks for the PR very appreciated 😄 .

Works fine as it's!

I have a question, can we just always use the mediaType: raw? This will prevent to sometimes do 2 API call if the file is bigger than 1mb.

I'll wait for your response about my question, otherwise this is good to go!

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.

Consider using the Git Data API to support larger files
2 participants