mocks-server / plugin-admin-api Goto Github PK
View Code? Open in Web Editor NEWMocks Server plugin that provides an administration REST API
Home Page: https://www.mocks-server.org
Mocks Server plugin that provides an administration REST API
Home Page: https://www.mocks-server.org
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: Cannot find preset's package (github>mocks-server/ci-cd)
Currently the "administration" rest api is served under the "/mocks" api path.
It is desirable to add a new option for let the user decide in which path wants to start the administration api, just in case of conflict with any other api path.
This issue provides visibility into Renovate updates and their statuses. Learn more
These updates are awaiting their schedule. Click on a checkbox to get an update now.
These updates are currently rate limited. Click on a checkbox below to force their creation now.
Design and implement a better administration api, RESTful based.
It should expose "behaviors" and "fixtures" resources for managing both collections. Relationships between collections and models should be defined by unique identifiers of both concepts, based on their unique exportation "names".
Old api should be kept for the moment due to maintaining compatibility. To achieve this, the new api methods could be exposed under a new api path, which should be the one configurable mentioned at the mocks-server/main#15 issue. Maybe the default path for the new administration api could be "/mocks-server-admin", a clearly "namespaced" path in order to avoid conflicts with the mocks paths.
It is desirable that administration api paths are defined in a new repository and published as an independent npm package in order to reuse them in the "admin-api-client" package.
A new feature has been added to the core: Alerts (mocks-server/core#102). A new API path should be added to return a collection of current alerts.
displayName
getter should be added to the plugin to improve traces.
Currently, when the mock server is started, logs refer to this plugin as "2":
npm run mocks -- --cli=false --log=debug
...
07:36:28:72 [Mocks debug] Starting plugin "2"
...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.