{"action":"opened","issue":{"url":"https://api.github.com/repos/YOURLS/YOURLS/issues/1873","labels_url":"https://api.github.com/repos/YOURLS/YOURLS/issues/1873/labels{/name}","comments_url":"https://api.github.com/repos/YOURLS/YOURLS/issues/1873/comments","events_url":"https://api.github.com/repos/YOURLS/YOURLS/issues/1873/events","html_url":"https://github.com/YOURLS/YOURLS/issues/1873","id":62928174,"number":1873,"title":"extending API","user":{"login":"freimanas","id":711031,"avatar_url":"https://avatars.githubusercontent.com/u/711031?v=3","gravatar_id":"","url":"https://api.github.com/users/freimanas","html_url":"https://github.com/freimanas","followers_url":"https://api.github.com/users/freimanas/followers","following_url":"https://api.github.com/users/freimanas/following{/other_user}","gists_url":"https://api.github.com/users/freimanas/gists{/gist_id}","starred_url":"https://api.github.com/users/freimanas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freimanas/subscriptions","organizations_url":"https://api.github.com/users/freimanas/orgs","repos_url":"https://api.github.com/users/freimanas/repos","events_url":"https://api.github.com/users/freimanas/events{/privacy}","received_events_url":"https://api.github.com/users/freimanas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-19T09:30:21Z","updated_at":"2015-03-19T09:30:21Z","closed_at":null,"body":"Hi,\r\n\r\nI was looking into making a plugin to extend functionality of the API.\r\nI would like to be able to pass additional variable \"prefix\" on creating short url, instead making of the same prefix for each link the YOURLS creates I would like it to be specific for that API call.\r\n\r\nexample:\r\n`/yourls-api.php?signature=xxxxxxx&action=shorturl&url=http://mydomain.com/content&prefix=abc_&format=json`\r\n\r\nwould create a short link: abc_[original_short_url]\r\n\r\nI just could not work out if I can add that, as cant see any possibility to check for that additional parameter in `function yourls_api_action_shorturl()`\r\n\r\nam I missing something here? any help would be much appreciated.\r\n\r\nthanks"}}