# GetManifests returns application manifests

`GET /api/v1/applications/{name}/manifests`

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)
  Type: string

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

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

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

- `sourcePositions` (query, array, optional)
  Type: array
  
  Items:
    Type: string, int64

- `revisions` (query, array, optional)
  Type: array
  
  Items:
    Type: string

- `noCache` (query, boolean, optional)
  Type: boolean

Responses:

- 200: A successful response.

Content type: application/json

Type: object

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

- `commands` (optional)
  Type: array
  
  Items:
    Type: string

- `manifests` (optional)
  Type: array
  
  Items:
    Type: string

- `namespace` (optional)
  Type: string

- `revision` (optional)
  Type: string

- `server` (optional)
  Type: string

- `sourceIntegrityResult` (optional)
  Reference: [v1alpha1SourceIntegrityCheckResult](https://sourcey-argocd.pages.dev/api/models/v1alpha1sourceintegritycheckresult/index.md); Type: object
  
  SourceIntegrityCheckResult represents a conclusion of the SourceIntegrity evaluation.
  Each check performed on a source(es), holds a check item representing all checks performed.

- `sourceType` (optional)
  Type: string

- `verifyResult` (optional)
  Type: string
  
  Deprecated: Use sourceIntegrityResult for more detailed information. verifyResult will be removed with the next major version.

- 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/manifests' \
  -H 'Authorization: YOUR_TOKEN'
```

### JavaScript

```javascript
const response = await fetch('https://argocd.example.com/api/v1/applications/string/manifests', {
  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/manifests',
    headers={
        'Authorization': 'YOUR_TOKEN',
    },
)
print(response.text)
```
