Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Expiry in the API #44

@bpmartin20

Description

@bpmartin20

Allegedly there's documentation on the API, but I haven't been able to find it. Please direct me if this has been answered somewhere, and accept my apologies.

Otherwise, if I'm using a programmatic interface to shorten URLs instead of the web interface, can I specify the expiration there?

In my case, I'm using Perl's WWW::Shorten::Yourls. The call there is:
$ShortURL = $YourLS->shorten(longurl=>"https:/...");
Can I do something like:
$ShortURL = $YourLS->shorten(longurl=>"https:/...", age=>35, agemod=>'days');
If so, what are the keys for the various parameters.

Again, my apologies if I missed this somewhere. I read through the code, but nothing stood out to me as a hook into the API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions