---
title: "Service: /members/{member}/uris/{uri}/discussions [GET]"
source: https://dev.pageseeder.com/api/services/list-uri-discussions-GET.html
description: "Retrieves a list of discussions for a specified URI, including all discussions attached to its fragments. Supports filtering by comment status, archival state, and group membership with configurable result limits."
last_updated: 2026-09-02T11:36:07+10:00
document_type: api_endpoint
operation_id: comment-GET
resource_id: comment
path_template: /members/{member}/uris/{uri}/discussions
http_method: GET
api_category: comment
implementation_version: 6.2005
api_since: 5.2101
deprecated_since: null
obsolete_since: null
api_support: supported
cache_control: null
generated_at: 2026-09-02
tokens: ~729
---

# /members/\{member\}/uris/\{uri\}/discussions \[GET\]

## Description

Load a list of [discussions](../../reference/glossary/discussion.md) for a [URI](../../reference/glossary/uri.md), including all discussions attached to fragments in that URI.

## Parameters

| Name | Description | Required | Type | Default |
| --- | --- | --- | --- | --- |
| attachedto | The comments to return that are attached to this URI | no | enum | `all` |
| comments | Which comments to include | no | enum | `all`  |
| archived | Whether to include discussions/attachedtos where all comments are archived (`true` if `comments=archive`) | no | boolean | `false` |
| results | The number of discussions/attachedtos to return | no | long | `1000` |
| returngroups | The groups to return in the output | no | enum | `none` |
| discussionsize | The maximum number of comments to return per discussion | no | long | `100` |

### Comments parameter

The comment display should be one of:

- `all` – all comments in the discussion (default)
- `archive` – all comments including archived comments
- `first` – only the first comment
- `last` – only the last comment
- `none` – no comments

### Returngroups parameter

Must be one of:

- `all` (Only administrators can use this option)``
- `none` – do not include the group (default)
- `user` – only include the group that the user belongs to

### Attachedto parameter

Must be one of:

- `all` (default)
- `none` 

## Permission

The member on the request needs to be a guest or higher unless the URI is in a public group.

## Response

The output has the following format (`<count>` is only returned on external URIs for users with edit all URLs permission):

```xml

<uri id="23"
     type="..."
     scheme="..."
     host="..."
     port="..."
     path="..."
     decodedpath="..."
     mediatype="...">
  <displaytitle> ... </displaytitle>
  <labels> ... </labels>
 [<count discussions-all-groups="12" attachedtos-all-groups="23" />]
  <locator fragment="12">
    <discussion id="123"
                title="My thread"
                replycount="3"
                lastcommentid="234"
                lastcommentdate="2012-08-20T14:27:48+10:00">
      <comment id="234"
               contentrole="File Attachment"
               created="2012-03-08T12:34:00+10:00">
        <title>My thread</title>
        <content type="text/plain">Some text</content>
        <attachment>
          <uri id="189"> ... </uri>
        </attachment>
        <attachment fragment="5">
          <uri id="289"> ... </uri>
        </attachment>
       [<group .../> ...]
      </comment>
    </discussion>
    <discussion id="100"> ... </discussion>
    <attachedto>
      <comment ...> ... </comment>
    </attachedto>
    ...
  </locator>
  ...
</uri>
```

## Error Handling

| Code | Cause / Description |
| --- | --- |
| 0x6303 | Both URI and URL have been specified |
| 0x6304 | The URL is invalid |

