# Get camshot by ID

`GET /api/plugins/camshots/{id}`

Authentication: no security requirement declared for this operation.

Parameters:

- `id` (path, string, required)
  Type: string

- `select` (query, object, optional)
  Type: object
  
  Schema: [Object](https://sourcey-gauzy.pages.dev/api-reference/models/object/index.md)

- `relations` (query, object, optional)
  Type: object
  
  Schema: [Object](https://sourcey-gauzy.pages.dev/api-reference/models/object/index.md)

- `where` (query, object, required)
  Type: object
  
  Schema: [Object](https://sourcey-gauzy.pages.dev/api-reference/models/object/index.md)

- `order` (query, object, optional)
  Type: object
  
  Schema: [Object](https://sourcey-gauzy.pages.dev/api-reference/models/object/index.md)

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

- `options` (query, object, optional)
  Type: object
  
  Schema: [FindOptionsQueryDTO](https://sourcey-gauzy.pages.dev/api-reference/models/findoptionsquerydto/index.md)
  
  - `select` (optional)
    Type: object
  
  - `relations` (optional)
    Type: object
  
  - `where` (required)
    Type: object
  
  - `order` (optional)
    Type: object
  
  - `withDeleted` (optional)
    Type: boolean

Responses:

- 200: Camshot successfully fetched by ID.

- 400: Invalid input, The response body may contain clues as to what went wrong

- 404: Camshot with the given ID not found.

- 500: An error occurred while retrieving the camshot.

## Examples

### cURL

```bash
curl -X GET 'http://localhost:3000/api/plugins/camshots/string'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/plugins/camshots/string', {
  method: 'GET',
});

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

### Python

```python
import requests

response = requests.get('http://localhost:3000/api/plugins/camshots/string')
print(response.text)
```
