AO3 currently supports urls beginning archiveofourown.org and ao3.org. We should support the shortlink version as well as the long. For example, the function which defines a workURL, should have a WorkShortURL alternative, that provides a URL starting with ao3.org. This will be useful for people who are using the API output in situations where they have character limitations (like tweets or discord uses).
AO3 currently supports urls beginning
archiveofourown.org
andao3.org
. We should support the shortlink version as well as the long. For example, the function which defines a workURL, should have a WorkShortURL alternative, that provides a URL starting withao3.org
. This will be useful for people who are using the API output in situations where they have character limitations (like tweets or discord uses).