You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.
For feature proposals, please answer the following question:
What is the use case that should be solved? The more detail you describe this in the easier it is to understand for us.
Use cases
Possibly an admin would like to see what functions and subscriptions are present.
Currently we can fetch subscriptions and functions with the following API.
GET <Configuration API URL>/v1/spaces/<space>/subscriptions
GET <Configuration API URL>/v1/spaces/<space>/functions
But we need to know the <space> before hand. It'd be nice if there is an API like the following:
GET <Configuration API URL>/v1/spaces
which returns a list of spaces already in use. If we can retrieve this, it's possible to retrieve all the informations (spaces, functions, subscriptions) via the API.
Would like to know if this is by design or not or if I'm missing something.
Thanks!
The text was updated successfully, but these errors were encountered:
Also, a bit off topic but should the user be able to create and delete a space via an API?
POST <Configuration API URL>/v1/spaces
DELETE <Configuration API URL>/v1/spaces/<space>
This will probably lead to checking the existence of a space when creating functions and subscriptions which is a breaking change in the workflow.
One thing I though of is that, currently one can easily have a typo in the and accidentally create a space. Perhaps it'll be better to have a CREATE and DELETE workflow for spaces. WDYT?
(I think this should be a different issue but didn't want to pollute the tracker much)
@kenfdev IMHO until there is no properties/options that can be set on space level we shouldn't provide CRUD API for spaces and space should be created implicitly. Right now space without functions or subs doesn't provide any value.
This is a Feature Proposal
For feature proposals, please answer the following question:
Use cases
Possibly an admin would like to see what functions and subscriptions are present.
Currently we can fetch subscriptions and functions with the following API.
But we need to know the
<space>
before hand. It'd be nice if there is an API like the following:which returns a list of spaces already in use. If we can retrieve this, it's possible to retrieve all the informations (spaces, functions, subscriptions) via the API.
Would like to know if this is by design or not or if I'm missing something.
Thanks!
The text was updated successfully, but these errors were encountered: