Обсуждение: Does an Automation CLI or REST API exist?

Поиск
Список
Период
Сортировка

Does an Automation CLI or REST API exist?

От
Alex Karasulu
Дата:
Hello, and happy new year to everyone,

Just as the subject states I'm looking to automate the creation of server nodes in the UI. I want them to be made available as they're brought online in an environment automatically.

Is there are REST or CLI based API for automating such operations?

Thanks much,
Alex 


OptDyn, Inc. | 257 Churchmans Road | New Castle DE 19720 | United States

PRIVILEGED AND CONFIDENTIAL

The content of this message is confidential. If you have received it by mistake, please inform us by an email reply to infra@optdyn.com then delete the message. It is forbidden to copy, forward, or in any way reveal the contents of this message to anyone.

Re: Does an Automation CLI or REST API exist?

От
Dave Page
Дата:
Hi

On Thu, Jan 3, 2019 at 11:16 AM Alex Karasulu <akarasulu@optdyn.com> wrote:
Hello, and happy new year to everyone,

Just as the subject states I'm looking to automate the creation of server nodes in the UI. I want them to be made available as they're brought online in an environment automatically.

Is there are REST or CLI based API for automating such operations?


Technically there is a REST API as that's how the UI talks to the backend, but it's not designed for public use, is undocumented, and may change significantly from release to release.
 
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Re: Does an Automation CLI or REST API exist?

От
Isaías Sánchez
Дата:
Can this request be fulfilled talking directly to sqlite db in the back end? 

Cheers,

Isaias S.

En 3 de enero de 2019 6:28:17 Dave Page <dpage@pgadmin.org> escribió:

Hi

On Thu, Jan 3, 2019 at 11:16 AM Alex Karasulu <akarasulu@optdyn.com> wrote:
Hello, and happy new year to everyone,

Just as the subject states I'm looking to automate the creation of server nodes in the UI. I want them to be made available as they're brought online in an environment automatically.

Is there are REST or CLI based API for automating such operations?


Technically there is a REST API as that's how the UI talks to the backend, but it's not designed for public use, is undocumented, and may change significantly from release to release.
 
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Re: Does an Automation CLI or REST API exist?

От
Dave Page
Дата:
On Thu, Jan 3, 2019 at 11:38 AM Isaías Sánchez
<isaias.sanchez.l@gmail.com> wrote:
>
> Can this request be fulfilled talking directly to sqlite db in the back end?
>

It could, but as with the REST API, we may whack around the format of
that between releases so I wouldn't recommend it.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company