List All Components
GET
Endpoint: /api/meshmodels/components
Query Parameters
Page number for pagination
Number of components per page. Use
all to return all results.Search term for component name
Field to order by
Sort direction:
asc or descFilter by annotation components:
true- Only return annotation componentsfalse- Exclude annotation components- Any other value - Return all components
Response
Current page number
Number of items per page
Total number of components
Array of component objects
Get Components by Name
GET
Endpoint: /api/meshmodels/components/{name}
Path Parameters
Component name (e.g.,
Deployment, Service, VirtualService)Query Parameters
Same as List All Components endpoint.Response
Returns all versions and variants of components matching the name.Get Components by Category
GET
Endpoint: /api/meshmodels/categories/{category}/components
Path Parameters
Category name (e.g.,
orchestration-and-management, observability)Query Parameters
Same as List All Components endpoint.Get Components by Model
GET
Endpoint: /api/meshmodels/models/{model}/components
Path Parameters
Model name (e.g.,
kubernetes, istio, nginx-ingress)Query Parameters
Filter by model version
Page number
Page size
Filter annotation components
Get Components by Category and Model
GET
Endpoint: /api/meshmodels/categories/{category}/models/{model}/components
Path Parameters
Category name
Model name
Get Specific Component by Name, Model, and Category
GET
Endpoint: /api/meshmodels/categories/{category}/models/{model}/components/{name}
Path Parameters
Category name
Model name
Component name
Register Components
POST
Endpoint: /api/meshmodels/components
Request Body
Model name for the components
Array of component definitions to register
Response
Status:200 OK
Returns the registered components.
Update Component Status
POST
Endpoint: /api/meshmodels/{entityType}/status
Path Parameters
Entity type (e.g.,
component, model, relationship)Request Body
Component ID
New status:
enabled or disabledValidate Component
POST
Endpoint: /api/meshmodels/validate
Request Body
Component definition to validate
Model name
Response
Returns validation results including errors and warnings.Generate Components
POST
Endpoint: /api/meshmodels/generate
Request Body
Source to generate components from (e.g.,
kubernetes, helm, openapi)Configuration for component generation
Component Schema
Get the JSON schema for a specific component:GET
Endpoint: /api/schema/resource/{resourceName}
Path Parameters
Resource/component name
Response
Returns the JSON schema definition for the component.Error Codes
Invalid request parameters or malformed JSON
Component not found
Server error occurred