Git Product home page Git Product logo

Comments (6)

raae avatar raae commented on June 2, 2024 2

I would also like to point out that the documentation for regular upload states that the file param can be an array buffer, leading to confusion, as mentioned in as well #130

CleanShot 2023-10-03 at 13 07 09@2x

from cloudinary_npm.

adilwahla avatar adilwahla commented on June 2, 2024

worthy issue ๐Ÿฅ‡

from cloudinary_npm.

skalahasti-cloudinary avatar skalahasti-cloudinary commented on June 2, 2024

Hi @nk9,

Thanks for sharing your documentation feedback with us!

Thatโ€™s a great point and weโ€™ve opened a documentation ticket to fix this and will get back to you when this is considered and fixed.

We are continually working to improve our docs' developer/user experience, and we appreciate your input.

Best regards,
Sreenath

from cloudinary_npm.

tommyg-cld avatar tommyg-cld commented on June 2, 2024

@nk9 upload stream docs can now be found here https://cloudinary.com/documentation/node_image_and_video_upload#node_js_upload_stream

@raae so if you click For details and examples, see: file source options., it has more info on Upload data stream with a link to our node.js SDK implementation as well.

any questions, let me know.

from cloudinary_npm.

nk9 avatar nk9 commented on June 2, 2024

Thanks for this, especially the quick turnaround. I'm curious, though: is there a reason that the method is still missing from the API documentation?

https://cloudinary.com/documentation/image_upload_api_reference#unsigned_upload_syntax

I understand that it may be called different things in different SDKs (it looks like the equivalent is upload_large in Python for some reason), but isn't that all the more reason for the various options to be enumerated in the API documentation?

from cloudinary_npm.

tommyg-cld avatar tommyg-cld commented on June 2, 2024

@nk9 upload_stream is a method only specific to the nodejs SDK at the moment, it uses the upload API but since it is not directly a REST API endpoint, it's not included in that page.

Please note per https://cloudinary.com/documentation/upload_images#upload_data_stream, you can upload a data stream using the standard upload method for all the other SDKs, it's only node.js that requires a dedicated method at the moment.

We have included it in the nodejs docs per https://cloudinary.com/documentation/node_image_and_video_upload#node_js_upload_stream

Regarding upload_large, it is a separate method to which also uses upload API to upload large files in chunks, more here: https://cloudinary.com/documentation/upload_images#chunked_asset_upload. This method is available on all our SDKs and not Python specific.

Please let me know if you have any other questions or queries.

from cloudinary_npm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.