# brookestevens/yourls-api-contract

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/brookestevens-yourls-api-contract).**

0 stars · 0 forks · PHP

## Links

- GitHub: https://github.com/brookestevens/yourls-api-contract
- awesome-repositories: https://awesome-repositories.com/repository/brookestevens-yourls-api-contract.md

## Description

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=longurlhere to see if the URL has been shortened before. returns false if the URL hasn't been shortened bfore. Returns true…

## Tags

### Part of an Awesome List

- [API Extensions](https://awesome-repositories.com/f/awesome-lists/devtools/api-extensions.md) — Adds an endpoint to verify if a URL has been shortened.
