Share Screens

Description

The share_update method is used to share screens with a user.

The access type defines whether the user can only view the screens or edit the screens:

  • "access_type": 1 = can view
  • "access_type": 2 = can edit
URL https://publish.broadsign.com/api/screen/share_update/
Method PUT
Header Content-Type: application/json

Sample Request

Copy
{
  "ids":[6],"group":[],"user":[{"id":5,"access_type":1}],
  "deleted":    [{"type":"user","value":4}]
}

Sample Response

Status: 200 (OK)

Copy
{
  "shared_groups": [],
  "sharable_groups": [
    {
      "id": 4,
      "name": "Local Administrators ",
      "access_type": 1
    },
    {
      "id": 2,
      "name": "Local Operators ",
      "access_type": 1
    },
    {
      "id": 1,
      "name": "Network Operators ",
      "access_type": 1
    },
    {
      "id": 3,
      "name": "Restricted Local Operators ",
      "access_type": 1
    }
  ],
  "shared_users": [
    {
      "id": 5,
      "email": "Clarice@broadsign.com",
      "last_name": "Singh",
      "first_name": "Clarice",
      "access_type": 1
    }
  ],
  "sharable_users": [
    {
      "id": 4,
      "email": "betty@broadsign.com",
      "last_name": null,
      "first_name": "Betty",
      "access_type": 1
    }
  ]
}

Error Response Status Code

Status: 400 (BAD REQUEST)