In OJS 22.214.171.124, would it be correct to compose a link to a (dependent) file of a (versioned) article like this?
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 (
article_id are the same) that might help (in short,
publication_id is used for versions):
Starting with version 3.2.0, PKP applications (including OJS) support the concept of versioning, whereby multiple versions of a submission can be created with metadata changes preserved. A submission (article) might have several revisions. These are called publications. So it’s not safe to rely on submission IDs being the same as publication IDs, and a single submission may have several publications (if it has been revised).
Public Knowledge Project Team
I hope this is of some use!
Not perfectly the answer I hoped for, but as close as one could get! Thank you