Skip to content

smehtaAA/yourls-api-edit-url

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

yourls-api-edit-url

YOURLS plugin to add two additional commands to the YOURLS API.

  • update - a function to update the long URL associated with a short code
  • geturl - a function to get the current long URL associated with a short code

The geturl function does not create a new short code if the URL does not exist, it's purely designed to verify if the URL has been set up. Currently this has not been tested on a site using duplicate URLs.

The update function lets a site update the long URL associated with a short code. There is no security checking on this, as long as the API key is valid it will update, so make sure your key is secure if you plan to use this plugin!

About

A plugin for YOURLS designed to update the URL assigned to a short code, and retrieve the short code for a specific URL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%