How Do I Use The Cloud Api Docs?

Is the Cloud Api doc incomplete? I am missing function names and useful examples.

In the guides I see function calls like this:

coronaCloud.registerUser( firstName , lastName , username , email , password )

But in the API docs just says “Register User” and the example looks like
this.

“curl --user
bd62f3256a0ff879595e0aa7c0376e9d21b46590:078e95efd0686725b6b10bd8769bc6f767e0183b
-X POST -d
username=jbloggs&email=jbloggs@bloggsmail.com&password=secret”
https://api.coronacloud.com/users.json”

Am I missing something? Maybe they are not meant to be used like I expect? Or
if they are, do you have plans to update the APi docs in the near future?

Best regards /Bjorn

Hi Bjorn,

The example that is coronaCloud.registerUser() is using the Corona Cloud library that is provided to help you access the service easily in a “Coronafied” way.

You can download the corona-cloud-core.lua file from here https://github.com/coronalabs/corona-cloud-core and use it.

The WEB API docs that you saw that includes the example using cURL, explains how to use the Corona Cloud service in pure REST based calls.

Hope that clarifies things.

Thanks

-Mohamed

Ahh ok. :slight_smile:

Thanks

/Bjorn

Hi Bjorn,

The example that is coronaCloud.registerUser() is using the Corona Cloud library that is provided to help you access the service easily in a “Coronafied” way.

You can download the corona-cloud-core.lua file from here https://github.com/coronalabs/corona-cloud-core and use it.

The WEB API docs that you saw that includes the example using cURL, explains how to use the Corona Cloud service in pure REST based calls.

Hope that clarifies things.

Thanks

-Mohamed

Ahh ok. :slight_smile:

Thanks

/Bjorn