docs: update API endpoint documentation from /v0/ to /v0.1/ (#802)
Update all documentation to reference the stable `/v0.1/` API version instead of the development `/v0/` version. Didn't update internal references (e.g. in admin-only docs) as that probably make sense to keep pointed at v0 as the "dev" option. Authored by Claude Code, reviewed by me. --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
d092dd6390
commit
65b96b03ce
2 changed files with 21 additions and 21 deletions
|
|
@ -14,11 +14,11 @@ The official registry has some more endpoints and restrictions on top of this. S
|
|||
## Quick Reference
|
||||
|
||||
### Core Endpoints
|
||||
- **`GET /v0/servers`** - List all servers with pagination
|
||||
- **`GET /v0/servers/{serverName}/versions`** - List all versions of a server
|
||||
- **`GET /v0/servers/{serverName}/versions/{version}`** - Get specific version of server. Use the special version `latest` to get the latest version.
|
||||
- **`POST /v0/publish`** - Publish new server (optional, registry-specific authentication)
|
||||
- **`DELETE /v0/servers/{serverName}/versions/{version}`** - Delete specific server version (optional, not implemented by official registry)
|
||||
- **`GET /v0.1/servers`** - List all servers with pagination
|
||||
- **`GET /v0.1/servers/{serverName}/versions`** - List all versions of a server
|
||||
- **`GET /v0.1/servers/{serverName}/versions/{version}`** - Get specific version of server. Use the special version `latest` to get the latest version.
|
||||
- **`POST /v0.1/publish`** - Publish new server (optional, registry-specific authentication)
|
||||
- **`DELETE /v0.1/servers/{serverName}/versions/{version}`** - Delete specific server version (optional, not implemented by official registry)
|
||||
|
||||
Server names and version strings should be URL-encoded in paths.
|
||||
|
||||
|
|
@ -42,7 +42,7 @@ List endpoints use cursor-based pagination for efficient, stable results.
|
|||
### Basic Example: List Servers
|
||||
|
||||
```bash
|
||||
curl https://registry.example.com/v0/servers?limit=10
|
||||
curl https://registry.example.com/v0.1/servers?limit=10
|
||||
```
|
||||
|
||||
```json
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ The official registry enforces additional [package validation requirements](../s
|
|||
|
||||
### Server List Filtering
|
||||
|
||||
The official registry extends the `GET /v0/servers` endpoint with additional query parameters for improved discovery and synchronization:
|
||||
The official registry extends the `GET /v0.1/servers` endpoint with additional query parameters for improved discovery and synchronization:
|
||||
|
||||
- `updated_since` - Filter servers updated after RFC3339 timestamp (e.g., `2025-08-07T13:15:04.280Z`)
|
||||
- `search` - Case-insensitive substring search on server names (e.g., `filesystem`)
|
||||
|
|
@ -44,18 +44,18 @@ The official registry extends the `GET /v0/servers` endpoint with additional que
|
|||
|
||||
These extensions enable efficient incremental synchronization for downstream registries and improved server discovery. Parameters can be combined and work with standard cursor-based pagination.
|
||||
|
||||
Example: `GET /v0/servers?search=filesystem&updated_since=2025-08-01T00:00:00Z&version=latest`
|
||||
Example: `GET /v0.1/servers?search=filesystem&updated_since=2025-08-01T00:00:00Z&version=latest`
|
||||
|
||||
### Additional endpoints
|
||||
|
||||
#### Auth endpoints
|
||||
- POST `/v0/auth/dns` - Exchange signed DNS challenge for auth token
|
||||
- POST `/v0/auth/http` - Exchange signed HTTP challenge for auth token
|
||||
- POST `/v0/auth/github-at` - Exchange GitHub access token for auth token
|
||||
- POST `/v0/auth/github-oidc` - Exchange GitHub OIDC token for auth token
|
||||
- POST `/v0/auth/oidc` - Exchange Google OIDC token for auth token (for admins)
|
||||
- POST `/v0.1/auth/dns` - Exchange signed DNS challenge for auth token
|
||||
- POST `/v0.1/auth/http` - Exchange signed HTTP challenge for auth token
|
||||
- POST `/v0.1/auth/github-at` - Exchange GitHub access token for auth token
|
||||
- POST `/v0.1/auth/github-oidc` - Exchange GitHub OIDC token for auth token
|
||||
- POST `/v0.1/auth/oidc` - Exchange Google OIDC token for auth token (for admins)
|
||||
|
||||
#### Admin endpoints
|
||||
- GET `/metrics` - Prometheus metrics endpoint
|
||||
- GET `/v0/health` - Basic health check endpoint
|
||||
- PUT `/v0/servers/{serverName}/versions/{version}` - Edit specific server version
|
||||
- GET `/v0.1/health` - Basic health check endpoint
|
||||
- PUT `/v0.1/servers/{serverName}/versions/{version}` - Edit specific server version
|
||||
|
|
|
|||
Loading…
Reference in a new issue