Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel

Table of Contents

Tip

The following URI prefixes are interchangeable:

  • /data
  • /data/archive
  • /REST
Note

These URIs are all still valid in XNAT 1.7, but are generally deprecated in favor of the XAPI-based User Management API


Panel

Table of Contents


Get All Users

Return a listing of all users in XNAT

...

Code Block
PUT - /data/users/favorites/Project/{project_id}

Parameters

{project_id}Required path parameter. Must be a valid XNAT project ID that the user has access to

Response: Returns an updated list of all favorite projects for this user

...

Code Block
DELETE - /data/users/favorites/Project/{project_id}

Parameters

{project_id}Required path parameter. Must be a valid XNAT project ID that the user has access to

Response

Code Block
{
  "ResultSet": {
    "Result": [
      {
        "datatype": "Project",
        "id": "Project_ID_1"
      }
    ],
    "title": "User Favorites"
  }
}

...