# Public links on one report

The public links published from one report — live ones AND revoked or expired ones — so the workspace can see what has been put on a URL a stranger can open, including links a colleague published. Never a token: that exists in the publish response once and only its hash is kept.

Access class: `workspace`.

## Endpoint

`GET /v1/reports/views/{id}/shares`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| id | path | string | Yes |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "shares": [
      {
        "created_at": "string",
        "expires_at": "string",
        "id": 1,
        "label": "string",
        "last_viewed_at": "string",
        "revoked_at": "string",
        "view_count": 1,
        "view_id": 1
      }
    ]
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
