Skip to content

digital-scouts/nami-mockserver

Repository files navigation

Mockserver für Nami

Access the mockserver at http://localhost:3000 with the sessionStartup endpoint and use 'test' as password and "1234" as username.

The mockserver will return a session token. Use this token in the header of all other requests.

When accessing the mockserver with different credentials, the request will be forwarded to the real nami server. Please do not use real credentials. The mockserver is not secure.

Demo

A demo is available at http://vps-zap443284-1.zap-srv.com:3000/

Requests

Path: /ica/rest/api/1/1/service/nami

  1. POST [Url][Path]/auth/manual/sessionStartup

Body (x-www-form-urlencoded):

{
  "Login": "API",
  "username": "1234",
  "password": "test"
}
  1. GET [Url][Path]/mitglied/filtered-for-navigation/gruppierung/gruppierung/:gruppierungId
  2. GET [Url][Path]/mitglied/filtered-for-navigation/gruppierung/gruppierung/:gruppierungId/:memberId
  3. GET [Url][Path]/zugeordnete-taetigkeiten/filtered-for-navigation/gruppierung-mitglied/mitglied/:memberId/flist
  4. GET [Url][Path]/gruppierungen/filtered-for-navigation/gruppierung/node/1
  5. GET [Url]/ica/rest/dashboard/stats/stats

Data

All member data is stored in the memberData.json. Feel free to contribute and add more data via merge request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages