Recognition

Posts

7 Posts
  • Published Question

    API returning wrong public certificate?

    Using Digital Ocean's API, I've created database cluster 'B' from the restore point of database 'A', but have not been able to connect due to a self-signed certificate error. I have pulled the certificate from the end...
    0 By ShuStudios API Databases
  • Published Answer

    Restore MongoDB via API

    Found the solution (have not tried it yet). There is no ‘restore’ endpoint - instead you create a new db cluster with a 'backup_res…
    By ShuStudios
  • Published Question

    Restore MongoDB via API

    Hi, how can I restore my mongodb cluster using Digital Ocean's API? I am using a managed database but I can't seem to find the endpoint for restoring in the API docs. Thanks!
    1 By ShuStudios API MongoDB Backups
  • Published Question

    App Platform Clear Cache

    I'm currently using the API to create an app on the App Platform. However, when I teardown the app and visit its domain, a cached version of it is still being served from Cloudflare. How do I go about clearing the cac...
    Accepted Answer: Hi @ShuStudios, After the app is destroyed, you shouldn’t be able to access the app using the domain. Have you tried in Incognito or after clearing the browser cache ? Could you please try hitting the domain in Incogn...
    1 By ShuStudios DigitalOcean App Platform Caching
  • Published Question

    How do I create a Space using the Digital Ocean API?

    In the Digital Ocean API reference I see information on creating a CDN endpoint, but not for actually creating a Space (Object Storage Solution). Is this the same thing? If not, can someone point me to the correct doc...
    Accepted Answer: I think you are better of using the Amazon S3 SDK https://docs.digitalocean.com/products/spaces/resources/s3-sdk-examples/ . They do show at https://docs.digitalocean.com/reference/api/spaces-api/ how a bucket using a...
    1 By ShuStudios Object Storage
  • Published Answer

    Some App Platform Environment Variables Are Undefined

    This thread helped me resolve the issue: https://www.digitalocean.com/community/questions/env-variables-which-work-locally-with-…
    Accepted Answer: This thread helped me resolve the issue: https://www.digitalocean.com/community/questions/env-variables-which-work-locally-with-…
    By ShuStudios
  • Published Question

    Some App Platform Environment Variables Are Undefined

    I've successfully managed to get environment variables for my NodeJS app working, however the last couple of variables added are returning as undefined. Is there a limit to how many variables an app can have? The firs...
    Accepted Answer: This thread helped me resolve the issue: https://www.digitalocean.com/community/questions/env-variables-which-work-locally-with-a-env-file-do-not-work-on-app-platform-at-runtime Turns out I was inadvertently deploying...
    2 By ShuStudios DigitalOcean App Platform