Get shares

This API returns an array of shared resources (e.g. devices, groups).

The response data has the following basic format:

[
  {
    "share": {},
  {
    "share": {}
  }
]
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

User who shared the resources. Leave blank to indicate yourself.

string

User with whom the resources were shared. Leave blank for all users.

string

Name of resource class (e.g. device, group). Leave blank for all resources. Mandatory if resource_id parameter is included in the query.

string

dsn if resource_name is device.

boolean
Defaults to false

true means include expired shares, too.

string

true=accepted shares; false=pending shares; both=accepted & pending shares.

Responses

401

Unauthorized

403

Forbidden

404

Not Found

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json