POST /api/v1/auth/enter
None
{
"fbAuthorizationCode": "FB_AUTHORIZATION_CODE"
}
set-cookie →ducomm.sid=s%3AMYzfK73DvimY-U7G4fDJqQQUCjLpjBL-.tRleHGnFImj28qXtCu9BKKFg0hzTj%2BJZuICbHpfnElA; Path=/; Expires=Sat, 20 Jul 2019 12:35:21 GMT; HttpOnly
Many API endpoints return the JSON representation of the resources created or edited. However, if an invalid request is submitted, or some other error occurs, Ducomm returns a JSON response in the following format:
{
"status": "200",
"data": {
"loggedIn": true,
"firstLogin": false,
"username": "USER_NAME"
}
}
The status
attribute contains a message commonly used to indicate errors or, in the case of deleting a resource, success that the resource was properly deleted.
The data
att