Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rosano/yourls-api-action-list
YOURLS plugin: how to implement a custom API action
https://github.com/rosano/yourls-api-action-list
Last synced: 2 months ago
JSON representation
YOURLS plugin: how to implement a custom API action
- Host: GitHub
- URL: https://github.com/rosano/yourls-api-action-list
- Owner: rosano
- Fork: true (YOURLS/API-action)
- Created: 2021-08-25T16:20:47.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-08-25T17:11:44.000Z (over 3 years ago)
- Last Synced: 2024-10-29T16:05:23.599Z (2 months ago)
- Language: PHP
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome - API List All - Add a "list" action to the API to show all keywords. (Plugins / A)
README
# Plugin for YOURLS 1.6+: Custom API Action (list all keywords)
This plugin adds a custom API action at `list` to show all keywords used:
## Sample result
Using a URL such as `https://alfa.bravo/yourls-api.php?username=charlie&password=delta&action=list&format=json`:
```json
{
"statusCode": 200,
"message": "success",
"result": [
{
"keyword": "alfa"
},
{
"keyword": "bravo"
},
{
"keyword": "charlie"
}
]
}```
# Setup
1. Upload this folder to `/user/plugins`.
2. Activate this plugin from the Plugins administration page.