Skip to content

Aristotle Account Info

aboschke edited this page Jan 30, 2019 · 7 revisions

Format

An JSON array of users consists of

  1. User identity info from Globus,
    1. via https://auth.globus.org/v2/api/identities?ids=globus_sub or
    2. get_identities() call in globus_sdk.AuthClient class using Globus SDK.
  2. Array of Aristotle projects to which the user belongs:
[ 
    {
        "id": "<globus sub>",
        "username": "<globus user name>",
        "status": "<globus user status>",
        "name": "<name>",
        "email": "<email address>", 
        "identity_provider": <UUID of identity provider>",
        "organization": "<organization name>",
        "projects": ["<Aristotle Project 1>", "<Aristotle Project 2>",....]
    },
]

For example,

[ 
    {
        "id": "99aa6ac7-8345-4743-a535-a179778cc13c",
        "username": "jed123@cornell.edu",
        "status": "used", 
        "name": "John E. Doe", 
        "email": "jed123@cornell.edu", 
        "identity_provider": "41143743-f3c8-4d60-bbdb-eeecaba85bd9", 
        "organization": "Cornell University"
        "projects": ["aristotle0001", "aristotle0002"]
    },
]

Transport Mechanism

Access is locked down by IP address.