---
title: "Get annotation for a file"
method: GET
path: "/annotation"
tags: ["Annotation"]
---

# Get annotation for a file

`GET /annotation`

## Query parameters

- `path` string, required

## Response `200`

Annotation entries for the requested file.

- AnnotationEntry[]
  - `revision` string
  - `author` string
  - `description` string
  - `version` string

---

[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)
