https://github.com/plasmicapp/strapi-plugin-model-schema
https://github.com/plasmicapp/strapi-plugin-model-schema
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/plasmicapp/strapi-plugin-model-schema
- Owner: plasmicapp
- License: mit
- Created: 2022-05-20T21:41:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-02T21:12:42.000Z (over 3 years ago)
- Last Synced: 2025-01-07T09:41:24.481Z (about 1 year ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Strapi plugin model-schema
Simple Strapi plugin that reflects out schema.json for different models. Works for Strapi v4.
Creates a new url for querying the model schema:
```
/api/model-schema?model=product
```
The `model` query parameter should have the singular name of the model.
You must include at least a read token to gain access to the endpoint, specified as an authorization header:
```
Authorization: Bearer TOKEN
```