Ecosyste.ms: Awesome

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

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: 23 days 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.

Lists

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