Where is the documentation?

I’m trying to build an app using Functions. I’m unable to find the documentation for how to use this platform. Could you please point me in the right direction?

Here are a few basic questions I’ve been unable to find an answer to thus far. I’m working with the python runtime environment. Do I have to name my function main inside of my .py file? Where is it documented? I noticed that in the examples a dictionary is returned. This dictionary sometimes has the keys statusCode and body. What other keys are possible? Where is it documented? Am I supposed to guess how to return headers? By default doctl creates a prject.yaml with lots of fields in it. What does each field do? What are the possible values for each field?

Overall did I miss a crucial peace of documentation or is it just undocumented? Is the GUI the main way it supposed to be used? I really find the current situation of this feature puzzling

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
January 18, 2023

Hi there,

You can find the documentation here:

The documentation includes the following:

  • Creating Functions
  • Developing Functions
  • Configuring Functions
  • Deploying Functions

In addition to that I could also suggest the DigitalOcean GitHub profile where there are multiple samle functions which you could use as a reference:

Hope that this helps! Let me know if you have any other questions!



Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel