---
title: "Get a resource bundle in a specific project"
method: GET
path: "/project/{project_id}/resourcebundles/{resource_bundle_path}"
tags: ["Content Resource Bundle Operations"]
---

# Get a resource bundle in a specific project

`GET /project/{project_id}/resourcebundles/{resource_bundle_path}`

Get a resource bundle in a specific project.

Resource bundles are also documents which are collections of key message pairs. The locale specific messages can be defined in a single structure. The projects are supported on resource bundles. 

Resource bundles are mostly defined with the locale based value sets. The value sets are not restricted to use with locales only though. Any other grouping can also be defined with a resource bundle document. The design also supports custom value sets apart from locales.

A Resource bundle in core may be have changes that aren't yet published, these are stored in a separate variant of the bundle (the 'unpublished' variant). When requesting a bundle for core, the 'published' variant is retrieved, unless there is none (the bundle has never been published yet), in which case the unpublished variant is fetched.

## Path parameters

- `project_id` string, required
- `resource_bundle_path` string, required

## Response `200`

OK

- ResourceBundle — A resource bundle is a collection of key-message pairs organized by value sets which are mostly locales. It simplify the creation of internationalized applications by allowing you to conveniently store all locale-specific messages in a single place.
  - `name` string, required — identifying name of this resource bundle. Only valid characters are lowercase alphanumeric, dash, dot, and underscore. This value appears in URLs. The value must alsomatch the document name(last part of the path) in the document path.
  - `displayName` string, required — name of this resource bundle. Used in labels in the CMS UI
  - `id` string, required — id of the resource bundle which is expected to be unique in content application. The resource bundle is assigned with this unique id.
  - `path` string, required — absolute path of this resource bundle in the content repository
  - `keys` ResouceBundleKey[], required — keys of the resource bundle. The messages in a resource bundle are fetched by key values.
    - `name` string, required — identifying the key name that is used to retrieve a localized message from the resource bundle, unique within the resource bundle. Valid characters are only lower/uppercase letters, numbers, and '-' '.' '_'
    - `description` string — description of this resource bundle key
  - `valueSets` ResourceBundleValueSet[], required — value sets of the resource bundle. Typically, a value set represents all values for a specific locale inside the resource bundle.
    - `messages` ResouceBundleMessage[] — messages in the value set
      - `key` string, required — identifying key of the message. The keys that are defined as 'ResouceBundleKey' can be set here. Only valid characters are lower/uppercase letters, numbers, and '-' '.' '_'
      - `value` string — value of this resource bundle message
    - `name` string, required — name of the message value set. Expects a string value. Default messages are defined in a specific value set named 'DEFAULT'.For locale specicific messages, locale names are defined as value set name such as 'nl' (Dutch) or 'en_US' (American English
  - `system` System — System properties
    - `createdBy` string — the name of the user that created the webhook configuration
    - `createdAt` string, date-time — date of create
    - `updatedBy` string — the name of the user that updated the webhook configuration
    - `updatedAt` string, date-time — date of update

## Other responses

- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/bloomreach/apis/documents-delivery-api-2-0.md) · [All operations](https://skmtc.net/bloomreach/apis/documents-delivery-api-2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bloomreach/documents-delivery-api-2-0/revisions/87bfc06578c2/schema)
