Composing a version URL

In OJS, would it be correct to compose a link to a (dependent) file of a (versioned) article like this?[article-id]/version/[publication-id]/[galley-id]/[file-id]

This would look like this:

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?


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: