Hi @asmecher ,
Please make additional corrections regarding the following issue.
Dear all,
We are using the API in OPS 3.3.0.8.
Looking at the JSON returned via the OPS API, it seems that the “urlPublished” is still in the OJS specification.
Specifically, the place where the URL of the paper should be “/preprint/” is “/article/” as shown below.
In case of OJS: https://my-ops-site/ops/index.php/test/ article/view/62/102
In case of OPS: https://my-ops-site/ops/index.php/test/ preprint/view/62/102
*These are dummy URLs.
Are there any plans to fix this by PKP project teams? …
I posted a correction request on Github.
opened 07:34AM - 29 Dec 21 UTC
closed 10:24PM - 30 Dec 21 UTC
**Describe the bug**
Looking at the JSON returned via the OPS API, it seems tha… t the “urlPublished” is still in the OJS specification.
Specifically, the place where the URL of the paper should be “/preprint/” is “/article/” as shown below.
In case of OJS: https://my-ops-site/ops/index.php/test/**article**/view/62/102
In case of OPS: https://my-ops-site/ops/index.php/test/**preprint**/view/62/102
*These are dummy URLs.
**To Reproduce**
1. Click on such as the following URL from your browser.
https://my-ops-site/ops/index.php/test/api/v1/submissions/62?apiToken=XXXXXXXXXX
2. See such as the following Json returned from API.
"urlPublished":"https:\/\/my-ops-site\/ops\/index.php\/test\/**article**\/view\/62\/version\/85\/102"
**What application are you using?**
OPS version 3.3.0.7
**Additional information**
See also my post in PKP Cummunication Forum.
https://forum.pkp.sfu.ca/t/error-of-urlpublished-in-json-data-via-api/71305
Thanks in advance.
Hi @Minoru_Tanabe ,
See Bug of “urlPublished” in JSON data via API of OPS · Issue #7583 · pkp/pkp-lib · GitHub .
(It’ll generally take us a few days to turn around a solution for a situation like this; please give us at least a week before following up if you don’t see activity.)
Thanks,
Alec Smecher
Public Knowledge Project Team
1 Like
Hi @asmecher ,
I confirmed that it was fixed.
Thank you for your quick support.
Best,
Minoru Tanabe
1 Like