diff --git a/dev/api/ojs/3.4.html b/dev/api/ojs/3.4.html index 8bd59ec9a877..bb6b741c4f9c 100644 --- a/dev/api/ojs/3.4.html +++ b/dev/api/ojs/3.4.html @@ -2254,7 +2254,7 @@
https://example.com/index.php/journalpath/api/v1/submissions
Administrators can access some endpoints, such as /contexts
, at a site-wide endpoint that spans all journals.
https://example.com/_/api/v1/contexts
+https://example.com/index/api/v1/contexts
Only authenticated users can access the REST API endpoints. Authentication can be done with cookies or by using the API token.
Cookie-based authentication can be used when you are making a request from the same domain name as the application. When a request is made from the user's browser, the browser will send the cookies to the server.
@@ -3386,7 +3386,7 @@
Request samples
- Payload
Content typeapplication/json{- "enabledRegistrationAgency": "string",
- "automaticDeposit": true
}
Response samples
- 200
- 400
- 403
- 404
Content typeapplication/json{- "enabledRegistrationAgency": "string",
- "automaticDeposit": true
}