Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We can manage the Administration Configuration resources below using this API:these endpoints -  http://host/en/omk/admin/api/v2/resource

Resource is our term for items in a configuration file or database.

...

Request Method

Operation

URL Example

id required

Notes

POSTcreate/resourcenInsert a new resource.
GETread list/resourcenReturns a list of resources.
GETread one/resource/idyReturns the details of a resource.
PUTupdate/resource/idyUpdate the details of a resource.
DELETEdelete/resource/idyDelete a resource.



...

Operation

Method

URL

Example

AuthenticatePOSThttp://host/en/omk/admin/login
Code Block
{"username":  "your username", "password":  "your password"}


We should receive a 200 response and a cookie, that we can reuse for next API calls. 

...