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: 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.
- Host: GitHub
- URL: https://github.com/brookestevens/yourls-api-contract
- Owner: brookestevens
- Created: 2020-08-12T19:50:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-07T22:28:04.000Z (over 2 years ago)
- Last Synced: 2024-08-02T06:14:12.643Z (5 months ago)
- Topics: yourls-api, yourls-plugin
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - API Contract - API action opposite to "expand": check if a URL has been shortened before (Plugins / A)
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