---
title: "Return the repository field value"
method: GET
path: "/repositories/property/{field}"
tags: ["Repositories"]
---

# Return the repository field value

`GET /repositories/property/{field}`

The repository path is relative to source root. Examples of field names:
- `working` (boolean): is the repository capable of running underlying SCM commands
- `type` (string): type of SCM
- `remote` (boolean): is the SCM source remote
- `parent` (string): origin/parent of the SCM
- `branch` (string): branch identification
- `currentVersion` (string): current revision ID
- `handleRenamedFiles` (boolean): whether to handle renamed files for history cache generation
- `historyEnabled` (boolean): is history enabled
- `annotationCacheEnabled` (boolean): is annotation cache enabled

## Path parameters

- `field` string, required

## Query parameters

- `repository` string, required

## Response `200`

Repository field value.

- unknown

---

[API](https://skmtc.net/oracle/apis/opengrok-restful-api.md) · [All operations](https://skmtc.net/oracle/apis/opengrok-restful-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oracle/opengrok-restful-api/revisions/4844bf710203/schema)
