Hi,
I’m confused by choices in the System APIs section:
createURL(api_dev_key, original_url, custom_alias=None, user_name=None, expire_date=None)
Returns: (string)
A successful insertion returns the shortened URL; otherwise, it returns an error code.
deleteURL(api_dev_key, url_key)
Where “url_key” is a string representing the shortened URL to be retrieved; a successful deletion returns ‘URL Removed’.
If createURL returns the shortened URL, how does the caller get the url_key for deleteURL? presumably GET :shortened-url causes the redirect rather than returning the new resource, so there would be no way to find the url_key based on the shortened url. Should createURL return the url key instead? Or do you mean url_key to be the shortened url itself? If so, wouldn’t that block other options for e.g. edit