openblocks icon indicating copy to clipboard operation
openblocks copied to clipboard

Rest API Management Interface

Open tiagoaleixosoares opened this issue 3 years ago • 2 comments

Is it supported to access openblock funcionatilities via a REST API Admin Interface? For example to automate backups (export apps definition) or automate any other actions?

tiagoaleixosoares avatar Nov 16 '22 08:11 tiagoaleixosoares

Hi, that sounds cool, could you please provide your real case scenario?

neon-balcony avatar Nov 16 '22 12:11 neon-balcony

Hi.

By having an admin interface via an API, we can automate several tasks.

  • For example: if we want to automate the backup of the code (by doing an export regularly).
  • Another use case for a real use case, often companies have segregated environments, such as development, testing and production (in different network landscapes). If we want to automate a CI/CD pipeline between environments, this REST API could be an option.
  • Other use case is simply extract metrics from the system: if we want to monitor time taken to answer requests to a backend ou external system (example) this also could be an option

tiagoaleixosoares avatar Nov 22 '22 09:11 tiagoaleixosoares

👍

agaitan026 avatar Nov 25 '22 00:11 agaitan026

Hi @tiagoaleixosoares,

Thanks for your reply! I see that you've mentioned some functionalities that are missing in Openblocks: code backup and syncing, system monitoring. Currently I'd prefer to provide Git integration and monitoring page instead of providing raw APIs because that's more "hard-core" and users have to orchestrate those up to make it work, what do you think?

Btw we've added "Git integration" and "System monitoring" in our roadmap, check it out: https://github.com/orgs/openblocks-dev/projects/1/views/1.

neon-balcony avatar Nov 25 '22 03:11 neon-balcony