Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/digital-scouts/nami-mockserver


https://github.com/digital-scouts/nami-mockserver

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

# discontinued & soon deprecated

# Mockserver für Nami

Access the mockserver at 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

## Requests

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

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

Body (x-www-form-urlencoded):

``` json
{
"Login": "API",
"username": "1234",
"password": "test"
}
```

2. GET [Url][Path]/mitglied/filtered-for-navigation/gruppierung/gruppierung/:gruppierungId
2. GET [Url][Path]/mitglied/filtered-for-navigation/gruppierung/gruppierung/:gruppierungId/:memberId
2. GET [Url][Path]/zugeordnete-taetigkeiten/filtered-for-navigation/gruppierung-mitglied/mitglied/:memberId/flist
2. GET [Url][Path]/gruppierungen/filtered-for-navigation/gruppierung/node/1
2. 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.