---
title: "Service: /members/{member}/groups/{group}/uris/documentconfig [GET]"
source: https://dev.pageseeder.com/api/services/get-uris-document-config_get.html
description: "Retrieves configuration files for a document or media type within a group, including xref-config, document templates, and editor configs, prioritizing project and global templates."
last_updated: 2026-09-08T11:52:34+10:00
document_type: api_endpoint
operation_id: psml-GET
resource_id: psml
path_template: /members/{member}/groups/{group}/uris/documentconfig
http_method: GET
api_category: psml
implementation_version: 6.2005
api_since: 5.9500
deprecated_since: null
obsolete_since: null
api_support: experimental
cache_control: null
generated_at: 2026-09-02
tokens: ~812
---

# /members/\{member\}/groups/\{group\}/uris/documentconfig \[GET\]

## Description

This services returns the configuration files for a document type or media type related to a [group](../../reference/glossary/group.md).

It collects all the relevant files by prioritizing:

1. [Project template](../../reference/glossary/project_template.md) files in `/template/[project]`
2. [Global template](../../reference/glossary/global_template.md) files in`/template/[global]` (skipped if the project is the global template)
3. Default template in `/template/default`

## Xref configuration

The [xref-config.xml](../../guide/configuration/psml/psml_xref_config.md) is returned if found, in the following order:

1. `/template/[project]/config/xref-config.xml`
2. `/template/[global]/config/xref-config.xml`
3. `/template/default/config/xref-config.xml`

## PSML document types

For PSML, the other configs are:

- [document-config.xml](../../guide/configuration/psml/psml_document_config.md)
- [document-template.psml](../../guide/configuration/psml/psml_document_template.md)
- [editor-config.xml](../../guide/configuration/psml/psml_editor_config.md)

This service first tries to locate where the document is defined by looking for the corresponding folder based on document type, in the following defined order:

1. `/template/[project]/psml/[type]`
2. `/template/[global]/psml/[type]`
3. `/template/default/psml/[type]`
4. `/template/default/psml/default`

## Media types

For non PSML they are:

- `media-template.xml` 
- `editor-config.xml` 
- document labels from project configuration

This service first tries to locate where the document is defined by looking for the corresponding folder based on file extension, in the following defined order:

1. `/template/[project]/document/[extension]`
2. `/template/[global]/document/[extension]`
3. `/template/default/document/[extension]`

## Parameters

| Name | Description | Required | Type | Default |
| --- | --- | --- | --- | --- |
| documenttype | The document type for the config | no | string | `default` |
| extension | The file extension for the config (overrides documenttype) | no | string |  |

## Permission

This service requires guest or higher unless the group is public.

## Response

### For PSML

```xml

<document-type definedby="myproject"
               name="mytype"
               icon="/weborganic/psml/default/fallback-icon.png"
               css="/woconfig/myproject/psml/mytype/document.css">
 [<xref-configs>
    ...
  </xref-configs>]
 [<document-config>
    ...
  </document-config>]
 [<document-template type="psml">
    ...
  </document-template>]
 [<editor-configs>
    ...
  </editor-configs>]
</document-type>
```

### For non PSML

```xml

<document-extension definedby="default,myproject"
                    name="jpg">
 [<xref-configs>
    ...
  </xref-configs>]
 [<media-template type="psml">
    ...
  </media-template>]
 [<editor-configs>
    ...
  </editor-configs>]
 [<label-config scope="project"
                template="myproject"
                updated="2017-04-24T13:31:24+10:00">
    <labels type="document">
      ...
    </labels>
  </label-config>]
</document-extension>
```

## Error Handling

No specific errors expected for this service.

