API Documentation
ucla.in attempts to be fully compatible with bit.ly’s REST API with three exceptions:
- Only links "in" UCLA can be shortened. View the list of allowed domains.
- You do not need to authenticate to the api and provide the
loginorapiKeyvariables (though you can specify them if you do not want to change a software library). - The endpoint for the rest API is:
http://www.ucla.edu/uclain/api(This means that you use this location in lieu ofhttp://api.bit.lyin the bit.ly API documentation).
Examples
/v3/shorten
http://www.ucla.edu/uclain/api/v3/shorten?uri=http://www.ucla.edu/&format=txt
/v3/expand
http://www.ucla.edu/uclain/api/v3/expand?shortUrl=http://ucla.in/c1FZRB&format=txt
Rate Limiting
It is important to note that this API is rate limited on a per-minute, per-hour and per-ip basis. If you abuse this service you may be blocked.
