Page tree

Release 6.4.2


Contents:

   

For the latest updates on available API endpoints and documentation, see api.trifacta.com.

Contents:


Get the specified session information.

Version: all

Required Permissions

NOTE: Each request to the Designer Cloud Powered by Trifacta® platform must include authentication credentials. See https://api.trifacta.com/ee/6.4/index.html#section/Authentication.

Request

Request Type: GET

Endpoint:

/v2/session


Request Body:

Empty.

Response

Response Status Code - Success: 200 - OK

Response Body Example:

{
    "outputHomeDir": "/trifacta/queryResults/admin@example.com",
    "id": 1,
    "email": "me@example.com",
    "name": "My Account",
    "ssoPrincipal": null,
    "hadoopPrincipal": null,
    "cpPrincipal": null,
    "isAdmin": true,
    "isDisabled": false,
    "forcePasswordChange": false,
    "lastLoginTime": "2018-01-24T21:03:54.813Z",
    "deleted_at": null,
    "createdAt": "2018-01-24T08:29:11.248Z",
    "updatedAt": "2018-01-24T21:03:54.813Z",
    "awsconfigId": null,
    "roles": [
        {
            "id": 1,
            "role": "dataAdmin",
            "createdAt": "2018-01-24T08:28:34.369Z",
            "updatedAt": "2018-01-24T08:28:34.369Z",
            "peopleworkspaces": {
                "workspaceId": 1,
                "personId": 1,
                "roleId": 1,
                "createdAt": "2018-01-24T08:29:11.360Z",
                "updatedAt": "2018-01-24T08:29:11.360Z"
            }
        },
        {
            "id": 2,
            "role": "wrangler",
            "createdAt": "2018-01-24T08:28:34.369Z",
            "updatedAt": "2018-01-24T08:28:34.369Z",
            "peopleworkspaces": {
                "workspaceId": 1,
                "personId": 1,
                "roleId": 2,
                "createdAt": "2018-01-24T08:29:11.362Z",
                "updatedAt": "2018-01-24T08:29:11.362Z"
            }
        },
        {
            "id": 4,
            "role": "admin",
            "createdAt": "2018-01-24T08:28:39.321Z",
            "updatedAt": "2018-01-24T08:28:39.321Z",
            "peopleworkspaces": {
                "workspaceId": 1,
                "personId": 1,
                "roleId": 4,
                "createdAt": "2018-01-24T08:29:11.362Z",
                "updatedAt": "2018-01-24T08:29:11.362Z"
            }
        }
    ]
}

Reference

User information:

For more information on user properties, see API People Get v4.

Roles:

PropertyDescription
idInternal identifier for the role
role

User-friendly name of the role. Values:

  • dataAdmin
  • Wrangler

    NOTE: All valid user accounts must have the Wrangler role.

createdAtTimestamp for when the role was added to the user account.
updatedAtTimestamp for when the role was last updated to the user account.
peopleworkspaces.workspaceIdInternal identifier of the workspace to which the role applies.
peopleworkspaces.personIdInternal identifier for the user within the workspace.
peopleworkspaces.roleIdInternal identifier for this role within the workspace.
peopleworkspaces.createdAtTimestamp for when the workspace was created.
peopleworkspaces..updatedAtTimestamp for when the workspace was last updated.



This page has no comments.