# Call a plugin native API method

Canonical: https://docs.shumoku.dev/en/server/0.2.0/api/postDatasourcesByIdNative
Language: en
Server documentation version: 0.2.0
Product version: 0.2.0
Channel: stable

Shumoku Server API · 0.2.0 · Development

# Call a plugin native API method

[OpenAPI source](https://github.com/konoe-akitoshi/shumoku/blob/server-v0.2.0/apps/server/api/openapi.json)

```
POST /api/datasources/{id}/_native
```

## Authentication

sessionCookie / bearerAuth

## Request body

`NativeApiRequest` · application/json · required

## Responses

| Status | Description | Schema |
| --- | --- | --- |
| `200` | Raw upstream result | `NativeApiResult` |
| `400` | The request did not match the API contract | `Error` |
| `401` | Authentication is required | `Error` |
| `404` | Unavailable outside development or data source not found | `Error` |
| `500` | The upstream data source request failed | `Error` |

[`apps/server/api/openapi.json`](https://github.com/konoe-akitoshi/shumoku/blob/server-v0.2.0/apps/server/api/openapi.json)
