Composing a version URL

In OJS 3.2.1.4, would it be correct to compose a link to a (dependent) file of a (versioned) article like this?

https://www.base-url.de/index.php/journal-name/article/download/[article-id]/version/[publication-id]/[galley-id]/[file-id]

This would look like this:

https://www.base-url.de/index.php/journal-name/article/download/21/version/54/83/1825

So, would this URL be correct always (so, even when the article has no version)? Or are there exceptions?
Would you kindly also explain the difference between the article ID and the publication ID?

Hello,

Regarding your question about article ID vs. publication ID, one of our team wrote an explanation on publication IDs vs. article IDs/submission IDs ( submission_id and article_id are the same) that might help (in short, publication_id is used for versions):

I hope this is of some use!

1 Like

Not perfectly the answer I hoped for, but as close as one could get! Thank you @EmmaU :slight_smile: