API - models
The API for Apiviz models :
DEFAULT MODELS
BASE URL
curl 'http:/localhost:8100/backend/api/get_default_models?<args>'
- methods :
GET
GET METHOD
arguments
only_default
: get only default models
examples
response
CONFIG MODELS
BASE URL
curl 'http:/localhost:8100/backend/api/get_config_model/<string:uuid>?<args>'
- methods :
GET
- variables :
<string:collection>
: the name of the collection in the database
GET METHOD
arguments
only_default
: get only default models
examples
response
CREATE A CONFIG MODEL
BASE URL
curl --header "Content-Type: application/json" \
--request POST \
--data '<payload>' \
'http:/localhost:8100/backend/api/create_new_config'
- methods :
POST
,DELETE