Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitce7db3e

Browse files
authored
Update dashboard_api_v1.md
1 parent4e283bf commitce7db3e

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

‎dashboard_api_v1.md‎

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,46 +20,45 @@ The dashboard needed to use this API can be created on the web platform (start.b
2020
_**/api/alarm/v1/dashboard/login**_
2121

2222
To log in you need to send an HTTP POST request with header`Content-Type: application/json` to the above URL.
23-
The login dataare the same as for[https://dashboard.blaulichtsms.net](https://dashboard.blaulichtsms.net/#/).
23+
The login datais the same as for[https://dashboard.blaulichtsms.net](https://dashboard.blaulichtsms.net/#/).
2424

2525
{
2626
"username" : "myUser",
2727
"password" : "mySuperSecretPwd",
2828
"customerId" : "123456"
2929
}
3030

31-
Nach einem erfolgreichen Login erhält man die Session ID:
31+
After a successful login you receive a session ID:
3232

3333
{
3434
"success" : true,
3535
"sessionId" : "lafjdfajdslfja89324u983u2894u89jlassdfj",
3636
"error" : null
3737
}
3838

39-
Die Session IDmussineinem Cookie / LocalStorage / SessionStorage gespeichertwerden und für die nächsten Requests verwendet werden.
39+
THis session IDmust be savedina cookie / LocalStorage / SessionStorage gespeichertand will be used for all further requests.
4040

41-
Im Fehlerfall erhält man folgende Antwort:
41+
In case of an error you receive the following reply
4242

4343
{
4444
"success" : false,
4545
"sessionId" : null,
46-
"error" : "MISSING_INPUT_DATA" //für Error codes, siehe unten
46+
"error" : "MISSING_INPUT_DATA" // error codes see below
4747
}
4848

49-
####ErrorCodes
49+
####Errorcodes
5050
- MISSING_INPUT_DATA
5151
- MISSING_PASSWORD
5252
- MISSING_CUSTOMERID
5353
- MISSING_USERNAME
5454
- INVALID_CREDENTIALS
5555

56-
Es wird immer nur eine paralelle Session unterstützt.
56+
Only one session at a time is possible.
5757

58-
###DasboardInformationen
58+
###Dasboardinformation
5959
_**/api/alarm/v1/dashboard/{{sessionId}}**_
6060

61-
Um Dashboard Informationen zu erhalten muss man einen HTTP GET Request auf die oben angebene URL absenden.
62-
61+
In order to receive information from a dashboard you must send an HTTP GET request to the above URL.
6362

6463
Wenn die Session abgelaufen ist, erhält man eine**HTTP 401 Unauthorized** Antwort.
6564

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp