> For the complete documentation index, see [llms.txt](https://docs.decentraland.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decentraland.org/contributor/contributor-es/contenido/collections.md).

# Colecciones

Las collections son grupos de [wearables](/contributor/contributor-es/contenido/tipos-de-entidad/wearables.md) y [emotes](/contributor/contributor-es/contenido/tipos-de-entidad/emotes.md) definidos en el mismo namespace off-chain o contrato on-chain.

No son [entities](https://github.com/decentraland/docs/tree/main/contributor/entities.md) por sí mismos, pero sus elementos individuales pueden obtenerse de los content servers normalmente usando [pointers](https://github.com/decentraland/docs/tree/main/contributor/pointers.md).

### URNs y Pointers <a href="#pointers" id="pointers"></a>

Las collections se identifican usando URNs, que son prefijos de sus URNs de elementos. Hay 4 tipos generales de URNs:

* `v1` collections con contenido aprobado por Foundation (obsoleto).
* `v2` collections con contenido aprobado por la comunidad.
* `thirdparty` collections con elementos asociados a NFTs fuera de Decentraland.
* `off-chain` collections, que contienen principalmente elementos predeterminados para nuevos avatares.

{% hint style="info" %}
A pesar de que `v1` las collections están obsoletas y ya no se crearán ni actualizarán más, siguen siendo válidas y sus elementos pueden usarse.
{% endhint %}

#### Collections de versión 1 y 2

Tanto el antiguo `v1` como el actual `v2` espacios de nombres de collection tienen URNs de la misma forma:

```
urn:decentraland:<blockchain>:<collections-version>:<contract-address>
```

Por ejemplo:

```
# Una collection en el espacio v1 obsoleto:
urn:decentraland:mainnet:collections-v1:DCL Test Masks

# Una collection en el espacio v2 aprobado por la comunidad:
urn:decentraland:matic:collections-v2:0x25a1d66891d44cdf7b8c45802489c1dea7aadf8b
```

Si el `:<id>` segmento se añade al final, la URN se convierte en una [pointer](https://github.com/decentraland/docs/tree/main/contributor/pointers.md) a un elemento dentro de la collection. Consulta [punteros de wearables](/contributor/contributor-es/contenido/tipos-de-entidad/wearables.md#pointers) y [punteros de emotes](/contributor/contributor-es/contenido/tipos-de-entidad/emotes.md#pointers) para obtener información sobre estos.

#### Collections de terceros

Las collections de terceros, también conocidas como [wearables vinculados](https://github.com/decentraland/docs/tree/main/contributor/wearables-and-emotes/wearables/linked-wearables.md), son diferentes de los wearables normales en que están vinculadas a NFTs existentes fuera de Decentraland. Permiten a los jugadores mostrar NFTs de su conjunto personal en sus avatares dentro del mundo.

Sus URNs se ven así:

```
urn:decentraland:<blockchain>:collections-thirdparty:<third-party-id>:<collection-id>
```

Puedes encontrar abundante información sobre estas en la [wearables vinculados](https://github.com/decentraland/docs/tree/main/contributor/wearables-and-emotes/wearables/linked-wearables.md) documentación para creadores.

### Descubriendo Collections

Los content servers pueden darte una lista de todas las collections conocidas, usando el [`/lambdas/collections`](https://decentraland.github.io/catalyst-api-specs/#tag/Lambdas/operation/getCollections) endpoint.

La respuesta será un objeto con una `collections` propiedad, que contiene un array de URNs y nombres. Por ejemplo:

```json
{
  "collections": [
    {
      "id": "urn:decentraland:amoy:collections-v2:0xff5d4ebc6bc1ff7262cab42d3c693d953f4614d2",
      "name": "Colección de ropa de invierno"
    },
    // ... muchas más
  ]
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.decentraland.org/contributor/contributor-es/contenido/collections.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
