Skip to content

YOURLS plugin: how to implement a custom API action

Notifications You must be signed in to change notification settings

rosano/yourls-api-action-list

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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:

{
  "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.

About

YOURLS plugin: how to implement a custom API action

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

  • PHP 100.0%