Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 924 Bytes

list_submission_users.md

File metadata and controls

39 lines (31 loc) · 924 Bytes

GET "/v1/list_submission_users/"

This endpoint lists all users with submissions that the requesting user can view, sorted by user name.

Sample Request

/v1/list_submission_users/?is_fabs=False

Request Params

  • is_fabs: (boolean) if the submissions checked should be FABS or DABS (True for FABS). Defaults to False if not provided.

Response (JSON)

{
    "users": [
        {
            "user_id": 4,
            "name": "Another User",
            "email": "[email protected]"
        },
        {
            "user_id": 1,
            "name": "User One",
            "email": "[email protected]"
        }
    ]
}

Response Attributes

  • users: ([dict]) contain the user's ID, name, and email:
    • user_id: (integer) ID of the user
    • name: (string) name of the user
    • email: (string) email of the user

Errors

Possible HTTP Status Codes:

  • 401: Login required