User Service

Service which operates on user data needed for games

User

GET https://dtml.org/api/UserService/User/?isTest=true

This endpoint allows you to get user data

Query Parameters

Name
Type
Description

isTest

string

Optional parameter to retrieve test data

Headers

Name
Type
Description

Authentication

string

Authentication token

{
"avatar":"https:\/\/dtml.org\/images\/noavatar.png",
"userName":"Test User",
"words":null
}

Record user activity

POST https://dtml.org/Activity/Record

Query Parameters

Name
Type
Description

envelop

string

JSON object of optional data to log

eventData

string

Additional data about activity

eventType

string

Type of the activity

time

string

Time spent on the activity

page

string

Activity to record

Headers

Name
Type
Description

Authentication

string

Token representing user

User Trouble Words

GET https://dtml.org/api/UserService/User/TroubleWords

Gets words which are challenging for specific user.

Headers

Name
Type
Description

Authentication

string

API will work only for authenticated users

Last updated