Difference between revisions of "Mediawiki API"

From PKC
Jump to navigation Jump to search
Line 5: Line 5:
This process flow is to documenting on how the front-end application can communicate with instance of Mediawiki, in this context is PKC.
This process flow is to documenting on how the front-end application can communicate with instance of Mediawiki, in this context is PKC.
==Login Process==
==Login Process==
Mediawiki API have two different scenarios for handling login process.
===1. Using Robot Account===
===1. Using Robot Account===
This scenario is to acommodate automation process on behalf of specified user.
===2. Using Your Account===
===2. Using Your Account===
This scenario is to acommodate fully interactive process to Mediawiki, and positioning Mediawiki as the backend.


==Page Parse Process==
==Page Parse Process==
===1. Retrieving Page===
===1. Retrieving Page===
===2. Updating Page===
===2. Updating Page===

Revision as of 14:18, 3 August 2022

Introduction to Mediawiki API

API stands for Application Programmer Interface, is one way of communicating through a system using a standard way of communication between applications. API Services of this mediawiki can be found in | API Documentation.

Process Flow

This process flow is to documenting on how the front-end application can communicate with instance of Mediawiki, in this context is PKC.

Login Process

Mediawiki API have two different scenarios for handling login process.

1. Using Robot Account

This scenario is to acommodate automation process on behalf of specified user.

2. Using Your Account

This scenario is to acommodate fully interactive process to Mediawiki, and positioning Mediawiki as the backend.

Page Parse Process

1. Retrieving Page

2. Updating Page