Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ It also includes a small authenticated surface for the capabilities it advertise
- `GET /api/identity/orgs`
- `GET /api/environments`
- `GET /api/workspaces`
- `GET /api/connections`
- `POST /api/connections`
- `GET /api/connections/{id}`
- `PUT /api/connections/{id}`
- `DELETE /api/connections/{id}`

## What this scaffold is

Expand All @@ -25,6 +30,16 @@ This is a starter provider, not a full production identity platform. The login f
2. The provider issues a development token and provider session cookie.
3. The provider redirects back to Meshery at `/api/user/token` with `token` and `session_cookie` query parameters.

## Connections CRUD

The starter provider now exposes an authenticated in-memory Connections API for local development and remote-provider contract testing.

- `GET /api/connections` returns paginated connection data and supports `page`, `pageSize`, `pagesize`, `search`, and `q` query parameters.
- `POST /api/connections` creates a connection from JSON input.
- `GET`, `PUT`, and `DELETE /api/connections/{id}` fetch, update, and remove individual connections.

Connection payloads accept both Meshery-style snake_case fields like `sub_type` and `credential_id` and camelCase variants like `subType` and `credentialId`.

## Run locally

```bash
Expand Down
Loading