PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Web API

  1. pandang
    Member

    Hello,

    I am a developer and want to ask if Gravity Forms provide any web API (e.g XMLRPC) to allow adding forms to (or read from) the database? I no such, will i have the datbase schema info in the Developer Edition so that I can manually manipulate the datbase?

    Thanks!

    Regards,
    Panda

    Posted 12 years ago on Wednesday August 1, 2012 | Permalink
  2. There is no API. There is no published schema for the database that I am aware of.

    You do not need a developer license to access the database. As long as you can access the WordPress database now, you will have access to the forms and entries, which are stored in their own tables in your WordPress database.

    Posted 12 years ago on Wednesday August 1, 2012 | Permalink
  3. pandang
    Member

    Hello Chris,

    Thanks for the response.

    Yes I can access to the MySQL database and I am aware of the tables Gravity Forms used. Does it mean that if I can remotely connect to the database and insert some data to the database in exactly the same way Gravity Forms does, it would appear as a new form is submitted in the system?

    Since there is no published schema of the database, can I find the form uploading mechanism within the PHP script?

    Thanks!

    Panda

    Posted 12 years ago on Wednesday August 1, 2012 | Permalink
  4. Does it mean that if I can remotely connect to the database and insert some data to the database in exactly the same way Gravity Forms does, it would appear as a new form is submitted in the system?

    Yes. I have not seen it done yet, but theoretically this is possible. If you insert all the same data that the plugin inserts when creating a form, I don't see why it would not work.

    can I find the form uploading mechanism within the PHP script?

    Of course. It's all unobfuscated PHP.

    Posted 12 years ago on Wednesday August 1, 2012 | Permalink