# Get the chart metadata (description, maintainers, home) for a specific revision of the application

`GET /api/v1/applications/{name}/revisions/{revision}/ocimetadata`

Authentication (security requirement alternatives):

```json
[
  {
    "bearer": []
  }
]
```

- bearer: apiKey, header Authorization. A token sent as `Authorization: Bearer <token>`. [API Docs](https://sourcey-argocd.pages.dev/developer-guide/api-docs/index.md#authorization) shows how to get one.

Parameters:

- `name` (path, string, required) - the application's name
  Type: string

- `revision` (path, string, required) - the revision of the app
  Type: string

- `appNamespace` (query, string, optional) - the application's namespace.
  Type: string

- `project` (query, string, optional)
  Type: string

- `sourceIndex` (query, integer, int32, optional) - source index (for multi source apps).
  Type: integer, int32

- `versionId` (query, integer, int32, optional) - versionId from historical data (for multi source apps).
  Type: integer, int32

Responses:

- 200: A successful response.

Content type: application/json

Type: object

Schema: [v1alpha1OCIMetadata](https://sourcey-argocd.pages.dev/api/models/v1alpha1ocimetadata/index.md)

- `authors` (optional)
  Type: string

- `createdAt` (optional)
  Type: string

- `description` (optional)
  Type: string

- `docsUrl` (optional)
  Type: string

- `imageUrl` (optional)
  Type: string

- `sourceUrl` (optional)
  Type: string

- `version` (optional)
  Type: string

- default: An unexpected error response.

Content type: application/json

Type: object

Schema: [runtimeError](https://sourcey-argocd.pages.dev/api/models/runtimeerror/index.md)

- `code` (optional)
  Type: integer, int32

- `details` (optional)
  Type: array
  
  Items:
    Reference: [protobufAny](https://sourcey-argocd.pages.dev/api/models/protobufany/index.md); Type: object

- `error` (optional)
  Type: string

- `message` (optional)
  Type: string

## Examples

### cURL

```bash
curl -X GET 'https://argocd.example.com/api/v1/applications/string/revisions/string/ocimetadata' \
  -H 'Authorization: YOUR_TOKEN'
```

### JavaScript

```javascript
const response = await fetch('https://argocd.example.com/api/v1/applications/string/revisions/string/ocimetadata', {
  method: 'GET',
  headers: {
    'Authorization': 'YOUR_TOKEN',
  },
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.get(
    'https://argocd.example.com/api/v1/applications/string/revisions/string/ocimetadata',
    headers={
        'Authorization': 'YOUR_TOKEN',
    },
)
print(response.text)
```
