Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/windesheim-ai/windesheim.ai-prompt-libary-plugin/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
PromptLibrary WordPress Plugin
Description
PromptLibrary is a WordPress plugin that provides a REST API for managing prompts. It allows users to create, retrieve, and manage prompts.
Installation
1. Download the plugin files.
2. Upload the plugin files to the /wp-content/plugins/PromptLibrary directory, or install the plugin through the WordPress plugins screen directly.
3. Activate the plugin through the 'Plugins' screen in WordPress.
Usage
The plugin registers several endpoints under the winpl/v1 namespace:
- GET /prompts: Retrieves all prompts.
- GET /prompts/{id}: Retrieves a specific prompt by its ID.
- POST /prompts: Creates a new prompt.
- GET /prompt-patterns: Retrieves all prompt patterns.
- GET /sectors: Retrieves all sectors.
All endpoints require the user to be logged in. The POST /prompts endpoint additionally requires the user to have the editposts capability.
Versioning
The plugin version is added to the headers of every API response as X-Windesheim-Prompts-version.
License
This project is licensed under the GPLv2 or later.
Releases
1 release.
Tag
Published
1.0.3
latest
Dec 12, 2023 2 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.