Mein toller Dummy-Name

Meine Beschreibung
X-Auth-Token
string required

API-Key to authenticate

Request list of all Dummys
GET /api/dummy

Authentication

Auth

Returns the current time as integer timestamp.

Request parameters

limit
integer optional

Limit the result list

Responses

200 OK
Body
Object
error
boolean
Example:
false
dummys
Array
Object
id
integer

id of the dummy

Example:
1
name
string

name of the dummy

Example:
My Dummy
time
integer

timestamp of created dummy

Example:
1625137073
401 Unauthorized
Body
Object
errror
boolean
Example:
true
message
string
Example:
Auth Header failed
Request dummy
GET /api/dummy/{id}

Authentication

Auth

Path variables

id
integer required

Unique id of the dummy

Remove a Dummy
DELETE /api/remove/{id}

Authentication

Auth

Path variables

id
integer required

The unique id of the dummy to be removed

Responses

200 OK
Body
Object
errror
boolean
deleted
boolean
Example:
true
403 Forbidden
Body
Object
error
boolean
Example:
true
message
string
Example:
Delete with X-Auth-Token not allowed.
my Documentation

Dummy of Content