Main page
Recent changes
Random page
Help about MediaWiki
NeoWiki
Manage subjects
Main Page
Discussion
View history
Data
Not logged in
Talk
Contributions
Create account
Log in
Editing
Main Page
(section)
From NeoWiki
Jump to:
navigation
,
search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== REST API Endpoints == We will have OpenAPI docs later. For now, you can find a complete and up-to-date list by looking at the [https://github.com/ProfessionalWiki/NeoWiki/blob/master/extension.json MediaWiki API route definitions]. Search for "RestRoutes". Example URL: https://neowiki.dev/w/rest.php/neowiki/v0/subject/s1demo4sssssss1 === Read Endpoints === * <code>GET /neowiki/v0/subject/{subjectId}</code> Gets the JSON definition of a subject * <code>GET /neowiki/v0/schema/{schemaName}</code> Gets the JSON definition of a schema === Write Endpoints === These require a CSRF token, first obtained via <code>api.php?action=query&format=json&meta=tokens&type=csrf</code> * <code>POST /neowiki/v0/page/{pageId}/mainSubject</code> Creates a new main subject * <code>POST /neowiki/v0/page/{pageId}/childSubjects</code> Creates a new child subject * <code>PATCH /neowiki/v0/subject/{subjectId}</code> Updates a subject * <code>DELETE /neowiki/v0/subject/{subjectId}</code> Deletes a subject These endpoints are designed for the NeoWiki frontend. They are not a complete general purpose API yet.
Summary:
Please note that all contributions to NeoWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
NeoWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Tools
What links here
Related changes
Special pages
Page information