ojs_request
Call any OJS REST API endpoint directly by providing a path, method, parameters, and body. Enables custom read/write operations or site-level endpoints beyond ready-made tools.
Instructions
Call any OJS REST API endpoint outside the ready-made tools.
path is relative to api/v1, e.g. 'submissions/12/files'. The
ojs://endpoints resource returns the list of endpoints.
journal="index" reaches site-level endpoints.
Without OJS_ALLOW_WRITES, only read requests (GET/HEAD) are
allowed. With the flag —
this tool does NOT enforce the field list from
edit_publication_metadata; the only write safeguard here is the
OJS_ALLOW_WRITES flag itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| path | Yes | ||
| method | No | GET | |
| params | No | ||
| journal | No |