https://discord.cloudflare.com logo
Join Discord
Powered by
# cloudflare-go
  • b

    Bioremedy

    05/09/2023, 8:31 PM
    Hi ! I have a question about reaching the number of requests. I bought the pro plan but I have reached the number of requests, can I buy additional requests?😩
  • c

    Cyb3r-Jok3

    05/09/2023, 9:03 PM
    Do you mean rate limit? If so then the only way to have a higher rate limit is with enterprise. Everything else has the 1200/requests per 5 minutes cap Nevermind see #789155108529111069
  • s

    solar

    05/10/2023, 10:25 PM
    It does not seem possible to pass parameters with cf-go for ListPageRules(ctx, zoneID) https://developers.cloudflare.com/api/operations/page-rules-list-page-rules by default if you were to copy/transform rules from one site to another the priority gets all messed up because the default API returns them in DESC order. It would be good if one could optionally pass FilterOptions like you can for example with AccessAuditLogs(ctx, domain, options...)
  • j

    jb

    05/10/2023, 10:32 PM
    that's partially expected here. page rules is pretty old and the SDK matches that.
  • s

    solar

    05/13/2023, 3:43 AM
    yeah but no.. I would hope an actual SDK would allow us to pass the options that the API allows.
  • s

    solar

    05/13/2023, 3:45 AM
    The SDK is what you define in cf-go. So no reason to not give end users the option to use the actual API interface vs limiting them
  • c

    Cyb3r-Jok3

    05/14/2023, 7:48 PM
    I believe what he is saying is that it is expected that it doesn't have the ability to filter as the base of the page rule code was done in 2019
  • s

    solar

    05/15/2023, 12:21 AM
    lol. Thanks for translating