Want to issue a new token for your protected Vid.lys?
All that is required is to send a new GetSecurityToken request to the API and you will be provided with a new token:
http://api.vid.ly/#GetSecurityToken
<?xml version="1.0"?> <Query> <Action>GetSecurityToken</Action> <UserID>[User ID]</UserID> <UserKey>[User key]</UserKey> <MediaShortLink>[MediaShortLink]</MediaShortLink> <AllowedFromDate>2012-03-11 10:00:00</AllowedFromDate> <AllowedToDate>2012-03-12 10:00:00</AllowedToDate> <ExpirationTimeSeconds>86400</ExpirationTimeSeconds> <AllowedIP>192.168.1.1,192.168.1.50-100,192.168.2.*</AllowedIP> </Query>
Please note that when you specify values for AllowedFromDate, AllowedToDate, ExpirationTimeSeconds and AllowedIP, you are applying these to the Token. These do not apply to the life of the Vid.ly link.