just/mocks_
mockzilla.org →
Catalog /data /Meshery API

Meshery API

PROVIDER · Meshery SPEC v0.4.27 · OpenAPI 3.0.0 MOCK · LIVE
▸ TRY IT
https://api.justmocks.com/meshery
Open mock →

Mock the Meshery API with 75 endpoints without keys, sandboxes, or a live account.

[01]

About

overview

Mock the Meshery API as a turnkey Mockzilla sim with 75 OpenAPI endpoints, realistic JSON payloads, no upstream signup or sandbox keys. the purpose of this application is to provide an application that is using plain go code to define an API This should demonstrate all the possible comment annotations that are available to turn go code into a fully compliant swagger 2.0 spec Methods: 43x GET, 20x POST, 12x DELETE. Top resource groups: SystemAPI, UserAPI, PatternsAPI, PrometheusAPI. Hit https://api.justmocks.com/meshery for the Mockzilla API Explorer landing and per-endpoint sample requests.

Endpoints
75 across 11 resource groups
Methods
GET 43 · POST 20 · DEL 12 none deprecated
OpenAPI
3.0.0 spec version 0.4.27
Source spec
148 KB · YAML
[02]

Endpoints

75 operations · 11 resource groups
GET /api/application/
ApplicationsAPI
Handle GET request for Application Files
Returns requests for all Meshery Applications. Mocked via Mockzilla.
POST /api/application/
ApplicationsAPI
Handle POST request for Application Files
Save attached Meshery Application File
DEL /api/application/deploy
ApplicationsAPI
Handle DELETE request for Application File Deploy
Delete a deployed application file with the request
POST /api/application/deploy
ApplicationsAPI
Handle POST request for Application File Deploy
Deploy an attached application file with the request
DEL /api/application/{id}
ApplicationsAPI
Handle Delete for a Meshery Application File
Deletes a meshery application file with ID: id
GET /api/application/{id}
ApplicationsAPI
Handle GET request for Meshery Application with the given id
Fetches the list of all applications saved by the current user. Available as a Mockzilla mock endpoint.
GET /api/filter
FiltersAPI
Handle GET request for all filters
Returns all the Meshery Filters saved by the current user
POST /api/filter
FiltersAPI
Handle POST requests for Meshery Filters
Used to save/update a Meshery Filter
GET /api/filter/file/{id}
FiltersAPI
Handle GET request for filter file with given id
Returns the Meshery Filter file saved by the current user with the given id
DEL /api/filter/{id}
FiltersAPI
Handle Delete for a Meshery Filter
Deletes a meshery filter with ID: id
GET /api/filter/{id}
FiltersAPI
Handle GET request for a Meshery Filter
Fetches the Meshery Filter with the given id. Mockzilla mock: no signup, no API key.
GET /api/oam/{type}
PatternsAPI
Handles the get requests for the OAM objects
Getting list of workloads/traits/scopes {type} being of either trait, scope, workload; registration of adapter capabilities.
POST /api/oam/{type}
PatternsAPI
Handles registering OMA objects
Adding a workload/trait/scope {type} being of either trait, scope, workload; registration of adapter capabilities.
GET /api/pattern
PatternsAPI
Handle GET request for patterns
Returns the list of all the patterns saved by the current user This will return all the patterns with their details
POST /api/pattern
PatternsAPI
Handle POST requests for patterns
Edit/update a meshery pattern
DEL /api/pattern/deploy
PatternsAPI
Handle DELETE request for Pattern Deploy
Delete a deployed pattern with the request. Served by the Mockzilla mock runtime.
POST /api/pattern/deploy
PatternsAPI
Handle POST request for Pattern Deploy
Deploy an attached pattern with the request
DEL /api/pattern/{id}
PatternsAPI
Handle Delete for a Meshery Pattern
Deletes a meshery pattern with ID: id
GET /api/pattern/{id}
PatternsAPI
Handle GET for a Meshery Pattern
Fetches the pattern with the given id
GET /api/perf/profile
PerfAPI
Handle GET request to run a test
Runs the load test with the given parameters
GET /api/perf/profile/result
PerfAPI
Handles GET requests for perf results
Returns pages of all the perf results from Remote Provider. Mocked via Mockzilla.
GET /api/perf/profile/result/{id}
PerfAPI
Handles GET requests for perf result
Returns an individual result from provider
GET /api/provider
ProvidersAPI
Handle GET request for the choice of provider
Update the choice of provider in system
GET /api/provider/capabilities
ProvidersAPI
Handle GET requests for Provider
Returns the capabilities.json for the provider
GET /api/provider/extension
ProvidersAPI
Handle GET request for React Components
handles the requests to serve react components from the provider package
GET /api/providers
ProvidersAPI
Handle GET request for list of providers
Returns the available list of providers. Available as a Mockzilla mock endpoint.
DEL /api/system/adapter/manage
SystemAPI
Handle DELETE requests to delete adapter config
Used to delete adapter configuration
POST /api/system/adapter/manage
SystemAPI
Handle POST requests to persist adapter config
Used to persist adapter config
POST /api/system/adapter/operation
SystemAPI
Handle POST requests for Adapter Operations
Used to send operations to the adapters
GET /api/system/adapters
SystemAPI
Handle GET request for adapters
Fetches and returns all the adapters and ping adapters
DEL /api/system/kubernetes
SystemAPI
Handle DELETE request for Kubernetes Config
Used to delete kubernetes config to System. Mockzilla mock: no signup, no API key.
POST /api/system/kubernetes
SystemAPI
Handle POST request for Kubernetes Config
Used to add kubernetes config to System
POST /api/system/kubernetes/contexts
SystemAPI
Handle POST requests for Kubernetes Context list
Returns the context list for a given k8s config
GET /api/system/kubernetes/ping
SystemAPI
Handle GET request for Kubernetes ping
Fetches server version to simulate ping
GET /api/system/meshsync/grafana
SystemAPI
Handle GET request for mesh-sync grafana
Fetches Prometheus and Grafana
GET /api/system/meshsync/prometheus
SystemAPI
Handle GET request for fetching prometheus
Fetches Prometheus. Served by the Mockzilla mock runtime.
GET /api/system/sync
SystemAPI
Handle GET request for config sync
Used to send session data to the UI for initial sync
GET /api/system/version
SystemAPI
Handle GET request for system/server version
Returns the running Meshery version
POST /api/telemetry/metrics/board_import
PrometheusAPI
Handle POST request for Prometheus board import
Used for importing Grafana board for Prometheus
POST /api/telemetry/metrics/boards
PrometheusAPI
Handle POST request for Prometheus board
Used to persist selected board and panels
DEL /api/telemetry/metrics/config
PrometheusAPI
Handle DELETE for Prometheus configuration
Used for deleting Prometheus configuration. Mocked via Mockzilla.
GET /api/telemetry/metrics/config
PrometheusAPI
Handle GET for Prometheus configuration
Used for fetching Prometheus configuration
POST /api/telemetry/metrics/config
PrometheusAPI
Handle POST for Prometheus configuration
Used for persisting Prometheus configuration
GET /api/telemetry/metrics/grafana/boards
GrafanaAPI
Handle GET request for Grafana boards
Used for fetching Grafana boards and panels
POST /api/telemetry/metrics/grafana/boards
GrafanaAPI
Handle POST request for Grafana boards
Used for persist Grafana boards and panel selections
DEL /api/telemetry/metrics/grafana/config
GrafanaAPI
Handle DELETE request for Grafana configuration
Used for Delete Grafana configuration. Available as a Mockzilla mock endpoint.
GET /api/telemetry/metrics/grafana/config
GrafanaAPI
Handle GET request for Grafana configuration
Used for fetching Grafana configuration
POST /api/telemetry/metrics/grafana/config
GrafanaAPI
Handle POST request for Grafana configuration
Used for persisting Grafana configuration
GET /api/telemetry/metrics/grafana/ping
GrafanaAPI
Handle GET request for Grafana ping
Used to initiate a Grafana ping
GET /api/telemetry/metrics/grafana/query
GrafanaAPI
Handle GET request for Grafana queries
Used for handling Grafana queries
GET /api/telemetry/metrics/grafana/scan
GrafanaAPI
Handle GET request for Grafana
Fetches and returns Grafana. Mockzilla mock: no signup, no API key.
GET /api/telemetry/metrics/ping
PrometheusAPI
Handle GET request for Prometheus Ping
Used to ping prometheus
GET /api/telemetry/metrics/query
PrometheusAPI
Handle GET request for Prometheus Query
Used to prometheus queries
GET /api/telemetry/metrics/static-board
PrometheusAPI
Handle GET request for Prometheus static board
Used to fetch the static board
GET /api/user/login
UserAPI
Handlers GET request for User login
Redirects user for auth or issues session
GET /api/user/logout
UserAPI
Handlers GET request for User logout
Redirects user for auth or issues session. Served by the Mockzilla mock runtime.
GET /api/user/performance/profiles
PerformanceAPI
Handle GET requests for performance profiles
Returns the list of all the performance profiles saved by the current user
POST /api/user/performance/profiles
PerformanceAPI
Handle POST requests for saving performance profile
Save performance profile using the current provider's persistence mechanism
GET /api/user/performance/profiles/results
PerformanceAPI
Handles GET requests for performance results
Returns pages of all the performance results from Remote Provider
DEL /api/user/performance/profiles/{id}
PerformanceAPI
Handle Delete requests for performance profiles
Deletes a performance profile with the given id
GET /api/user/performance/profiles/{id}
PerformanceAPI
Handle GET requests for performance results of a profile
Returns single performance profile with the given id. Mocked via Mockzilla.
GET /api/user/performance/profiles/{id}/results
PerformanceAPI
Handle GET request for results of a profile
Fetchs pages of results from Remote Provider for the given id
GET /api/user/performance/profiles/{id}/run
PerformanceAPI
Handle GET request to run a performance test
Runs the load test with the given parameters
GET /api/user/prefs
UserAPI
Handle GET for User Load Test Preferences
Returns User Load Test Preferences
POST /api/user/prefs
UserAPI
Handle GET for User Load Test Preferences
Updates User Load Test Preferences
DEL /api/user/prefs/perf
UserAPI
Handle DELETE request for load test preferences
Used for deleting load test preferences. Available as a Mockzilla mock endpoint.
GET /api/user/prefs/perf
UserAPI
Handle GET request for load test preferences
Used for fetching load test preferences
POST /api/user/prefs/perf
UserAPI
Handle POST request for load test preferences
Used for persisting load test preferences
GET /api/user/schedules
SchedulesAPI
Handle GET reqeuest for Schedules
Returns the list of all the schedules saved by the current user
POST /api/user/schedules
SchedulesAPI
Handle POST reqeuest for Schedules
Save schedule using the current provider's persistence mechanism
DEL /api/user/schedules/{id}
SchedulesAPI
Handle DELETE reqeuest for Schedules
Deletes a schedule with the given id. Mockzilla mock: no signup, no API key.
GET /api/user/schedules/{id}
SchedulesAPI
Handle GET reqeuest for Schedules
Fetches and returns the schedule with the given id
GET /api/user/token
UserAPI
Handle GET request for tokens
Returns token from the actual provider in a file resposese: 200:
POST /api/user/token
UserAPI
Handle POST request for tokens
Receives token from the actual provider resposese: 200:
GET /provider
ProvidersAPI
Handle GET request to provider UI
Servers providers UI