Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brookestevens/yourls-api-contract

Adds a contract API action. Opposite to the expand action, where one can see if a long url has been shortened without creating a new short link.
https://github.com/brookestevens/yourls-api-contract

yourls-api yourls-plugin

Last synced: about 2 months ago
JSON representation

Adds a contract API action. Opposite to the expand action, where one can see if a long url has been shortened without creating a new short link.

Awesome Lists containing this project

README

        

# yourls-api-contract [![Listed in Awesome YOURLS!](https://img.shields.io/badge/Awesome-YOURLS-C5A3BE)](https://github.com/YOURLS/awesome-yourls/)

Adds a contract API action. Opposite to the expand action, where one can see if a long url has been shortened without creating a new short link. Use action=contract and url=long_url_here to see if the URL has been shortened before. returns false if the URL hasn't been shortened bfore. Returns true and an array of sort links if it has been shortened before