https://discord.cloudflare.com logo
Join Discord
Powered by
# r2
  • l

    lmtr0

    04/30/2022, 2:02 AM
    maybe the logs will tell us something
  • l

    lmtr0

    04/30/2022, 2:02 AM
    but thats only on monday
  • l

    lmtr0

    04/30/2022, 2:02 AM
    nonetheless thank you for your time, happy weekend
  • c

    Chaika

    04/30/2022, 2:03 AM
    What's your use case? Big files enough that you can't use CF Workers to proxy, or something else?
  • e

    Erisa | Support Engineer

    04/30/2022, 2:10 AM
    cc @andrew | 1003, dont forget to set your sharex region to
    earth
    so it doesnt break in future i will try and update the image guide i pinned now
  • a

    andrew | 1003

    04/30/2022, 2:12 AM
    oh yeah thx for ping!
  • e

    Erisa | Support Engineer

    04/30/2022, 2:15 AM
    updated the pinned sharex guide with this new information
  • l

    lmtr0

    04/30/2022, 2:26 AM
    both
  • l

    lmtr0

    04/30/2022, 2:27 AM
    some files will problably be small
  • l

    lmtr0

    04/30/2022, 2:27 AM
    some big
  • c

    Chaika

    04/30/2022, 2:29 AM
    Ah, I was going to say for now you could just Make a worker linked to your bucket and and handle uploads/etc through it
  • l

    lmtr0

    04/30/2022, 3:30 AM
    thats an opt
  • l

    lmtr0

    04/30/2022, 3:31 AM
    but then I would need to write the s3 api on a worker......
  • c

    Chaika

    04/30/2022, 3:32 AM
    Nah you would just use R2 bindings, to use r2 directly
  • c

    Chaika

    04/30/2022, 3:33 AM
    It's pretty close to a KV Binding, docs aren't great right now though, pretty much only options are looking at existing code i.e cherryjimbo's sharex worker () and the Cf Worker Types which includes typings for all the r2 stuff
  • h

    HardAtWork

    04/30/2022, 5:00 AM
    You can also just use the dev branch docs: https://5141e50d.cloudflare-docs-7ou.pages.dev/r2/
  • c

    Chaika

    04/30/2022, 5:06 AM
    Oops, there is some info on the docs. As far as I can see that's the same info as it on the live docs, and still is using outdated stuff like the internal bindings I.e get mentions const { value } = await MY_BUCKET.get(key); Which doesn't work anymore
  • j

    James

    04/30/2022, 5:22 AM
    I’ve been meaning to make a PR to fix that one. That was the old internal bindings, yeah
  • c

    Craiggles

    04/30/2022, 5:38 AM
    Can you guys pin this? Would be a good reference to add
  • h

    HardAtWork

    04/30/2022, 5:42 AM
    R2 Docs(May be a little behind for now, while the team is constantly pushing changes): https://developers.cloudflare.com/r2/
  • h

    HardAtWork

    04/30/2022, 5:42 AM
    Done
  • c

    Craiggles

    04/30/2022, 5:42 AM
    ty
  • e

    Erisa | Support Engineer

    04/30/2022, 10:47 AM
    repinned the first message to keep it on the top of the list
  • d

    darrennotfound

    04/30/2022, 12:14 PM
    Trying to make a homeassistant sensor for r2
  • d

    darrennotfound

    04/30/2022, 12:14 PM
    Does r2 have any Api for usage info
  • j

    john.spurlock

    04/30/2022, 1:06 PM
    there are stats in the current analytics graphql endpoint: https://discord.com/channels/595317990191398933/940663374377783388/967164719741952000
  • d

    darrennotfound

    04/30/2022, 2:03 PM
    Normal Api? I don't want graphql
  • j

    john.spurlock

    04/30/2022, 2:04 PM
    hehe
  • d

    darrennotfound

    04/30/2022, 2:05 PM
    Not trying to add load processing graphql response
  • d

    darrennotfound

    04/30/2022, 2:05 PM
    Hass uses tons of ram alr
1...858687...1050Latest