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

    david kezi

    05/02/2023, 11:23 AM
    You can get R2-related datasets in the Cloudflare GraphQL Analytics API: https://developers.cloudflare.com/analytics/graphql-api/ The two account-level datasets are r2OperationsAdaptiveGroups for operations and r2StorageAdaptiveGroups for storage
  • d

    david kezi

    05/02/2023, 11:24 AM
    here's an example of how to use it https://discord.com/channels/595317990191398933/940663374377783388/967164719741952000
  • j

    jbenguira

    05/02/2023, 11:27 AM
    I noticed Vercel started to resell R2, is it OK to resell it? If yes I would love to be able to offer S3 buckets to our customers as well šŸ˜„
  • k

    Karew

    05/02/2023, 11:32 AM
    They’re not really reselling it, per se, they have built their own file storage service/API on top of it
  • k

    Karew

    05/02/2023, 11:32 AM
    You interact with the Vercel APIs
  • j

    jbenguira

    05/02/2023, 11:33 AM
    I see indeed, so they are not providing direct S3 API access to the bucket
  • w

    Walshy | Pages

    05/02/2023, 11:34 AM
    Of course
  • u

    Unsmart | Tech debt

    05/02/2023, 12:02 PM
    Don’t think they are but you can resell and give direct access to the S3 api 🤷
  • v

    vvo

    05/02/2023, 1:10 PM
    Hi there, is there any way to know if a delete was successful (without having to make another call)? It seems delete always returns void.
  • u

    Unsmart | Tech debt

    05/02/2023, 2:31 PM
    If it returns it deleted if it throws an error it didn’t
    v
    s
    • 3
    • 11
  • y

    ytsruh

    05/02/2023, 5:08 PM
    Hi all, really dumb question. I'm a brand new user, specifically want to make use of R2.....is SuperSplurper aka migrator available for everybody? or is there somewhere I have to sign up for it?
  • u

    uriel29

    05/02/2023, 7:22 PM
    custom domain R2 pre signed? possible? From: https://c771f6e87f4mm8194e3drcbvfvdgrgtta96a2s4.r2.cloudflarestorage.com/bucket To: subdomain.example.com or: subdomain.example.com/example For signed URLS
  • u

    uriel29

    05/02/2023, 7:23 PM
    or https://c771f6e87f4mm8194e3drcbvfvdgrgtta96a2s4.mysite.com/bucket
  • k

    kian

    05/02/2023, 7:33 PM
    Nope
  • k

    kian

    05/02/2023, 7:33 PM
    Only the
    id.r2.cloudflarestorage.com
    URL implements the S3 API.
  • u

    uriel29

    05/02/2023, 7:36 PM
    proxy?
  • u

    uriel29

    05/02/2023, 7:36 PM
    dns cloudflare?
  • h

    HardAtWork

    05/02/2023, 7:42 PM
    I don't think you can proxy that URL
  • u

    uriel29

    05/02/2023, 7:45 PM
    ok, hugs
  • t

    Tielem

    05/03/2023, 7:55 AM
    It is not (yet) possible to subscribe to R2 events, similar to S3, right? I have a workflow where a user uploads a video to R2 bucket 1. When this is done a transcode job gets started which pull from bucket 1 and puts the result in R2 bucket 2. I'd like to know when the video is available in bucket 2.
  • s

    Skye

    05/03/2023, 8:06 AM
    It's not currently possible unfortunately
  • s

    Skye

    05/03/2023, 8:07 AM
    You could potentially use a worker between your bucket uploads to know when it's done, but that would require you to implement some of the multipart handling/etc. for larger uploads
  • t

    Tielem

    05/03/2023, 8:54 AM
    between my bucket uploads? I have a worker handling the multipart upload to bucket 1. I think it will also start the transcoding job (since bucket 1 can't trigger an event to start it), but that still leaves me blind as to when the transcoding job outputs in bucket 2
  • d

    david kezi

    05/03/2023, 12:15 PM
    No, its still in beta. You can sign up here https://dash.cloudflare.com/?to=/:account/r2/slurper
  • m

    miguelff

    05/03/2023, 12:49 PM
    Morning folks, What are the rate-limiting policies applied to
    r2.dev
    domains? I can't find details other than its used being discouraged in production
  • y

    ytsruh

    05/03/2023, 12:55 PM
    Legend! Thank you so much. Will sign up & hope I get access šŸ¤ž
  • y

    ytsruh

    05/03/2023, 1:38 PM
    Seems i could access right away. However, is it possible to migrate from S3 compliant buckets? (Eg Digital Ocean?) or is it ONLY S3 buckets?
  • k

    kian

    05/03/2023, 1:46 PM
    Currently just AWS S3
  • y

    ytsruh

    05/03/2023, 2:14 PM
    Damn, thanks
  • d

    dkfdkdodkms

    05/03/2023, 2:15 PM
    I'm actually attempting to implement multipart uploads, which is why I requested this: "Currently, I am only able to overwrite an entire value in your storage solutions. It would be very helpful if I could change individual digits or bits of a stored string value, without needing to know or care about the existing value. Ideally, this feature would support the modification of hexadecimal strings, and I could specify a bit position and value to set (1 or 0). Example usage: say I have the need to keep track of the completion of 5000 tasks (each number representing a particular task). I could store the completion of each task in a hex string 1250 characters in length, once a task completes, flip the bit at the appropriate index. this way i do not need to get the value in a transaction, and then set the value. it's a single blind operation for each." What do you think is the best way to keep track of which file parts have been successfully uploaded without this feature?
    s
    • 2
    • 15
1...100710081009...1050Latest