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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (

func check(ctx context.Context) error {
cfg := metalhost.Config{
Endpoint: "https://api.metalhost.net",
Endpoint: "https://api.metalhost.com",
APIKey: "aes_...",
UserAgent: "my-integration/1.0",
}
Expand Down
2 changes: 1 addition & 1 deletion docs/API_SURFACE.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Use the generated constructor for the service you need:

```go
cfg := metalhost.Config{
Endpoint: "https://api.metalhost.net",
Endpoint: "https://api.metalhost.com",
APIKey: os.Getenv("METALHOST_API_KEY"),
UserAgent: "example/1.0",
}
Expand Down
2 changes: 1 addition & 1 deletion docs/OBSERVABILITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ issuer. Pull-request events are not permitted. The exchanged token lasts 15
minutes, has no refresh token, and can only use its configured project/grants.
The September CLI branch implements `auth github` and `monitoring`; older
CLI releases do not. Alternatively, use the
[complete HTTP workflow example](https://metalhost.net/docs/developers/guides/github-actions)
[complete HTTP workflow example](https://metalhost.com/docs/developers/guides/github-actions)
from the coordinated docs release. Exchange through
`AutomationService.ExchangeGitHubToken` with `trust_name` and `assertion`; use
the returned `access_token` as Bearer, scoped to the returned `project_name`.
Expand Down
6 changes: 3 additions & 3 deletions gen/openapi/metalhost.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ info:
Every RPC is POST application/json with a Bearer header. Field names use snake_case (proto JSON).
contact:
name: Metalhost support
email: support@metalhost.net
url: https://metalhost.net/docs
email: support@metalhost.com
url: https://metalhost.com/docs
paths:
/aes.audit.v1.AuditService/SearchEvents:
post:
Expand Down Expand Up @@ -24109,5 +24109,5 @@ tags:
billing.invoice.finalized
Customers subscribe to specific types or use a wildcard prefix (e.g. "compute.vm.*").
servers:
- url: https://api.metalhost.net
- url: https://api.metalhost.com
description: Production
4 changes: 2 additions & 2 deletions scripts/sync-api-snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ finalize_openapi() {
"title": "Metalhost API",
"version": "v1",
"description": "Customer-facing HTTP API for Metalhost. Every dashboard action maps to one of the RPCs below. Authenticate with a Bearer API key on every request — mint one in the dashboard under Developers → API keys.\n\nEvery RPC is POST application/json with a Bearer header. Field names use snake_case (proto JSON).",
"contact": {"name": "Metalhost support", "email": "support@metalhost.net", "url": "https://metalhost.net/docs"}
"contact": {"name": "Metalhost support", "email": "support@metalhost.com", "url": "https://metalhost.com/docs"}
}
| .servers = [{"url": "https://api.metalhost.net", "description": "Production"}]
| .servers = [{"url": "https://api.metalhost.com", "description": "Production"}]
| (.paths |= with_entries(select(.key | test("Admin[A-Z]") | not)))
| (.tags |= map(select(.name | test("Admin[A-Z]") | not)))
' "$spec" > "$tmp"
Expand Down
Loading