Universe.sh kourou API
This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.
- API version: 0.0.1
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen
Install the following dependencies:
go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optionalPut the package under your project folder and add the following in import:
import "./openapi"All URIs are relative to https://api-kourou-0-0-1.endpoints.labs-console-universe-sh.cloud.goog
| Class | Method | HTTP request | Description |
|---|---|---|---|
| EventsApi | AddEvents | Post /v1/events | |
| SatellitesApi | CreateMetrics | Post /v1/satellites/{cloud}/{satellite}/{pool}/metrics | |
| SatellitesApi | ListPools | Get /v1/satellites/{cloud}/{satellite}/pools | |
| SatellitesApi | ReadSatellite | Get /v1/satellites/{cloud}/{satellite} |
- Account
- AccountDefaultTeam
- Event
- Generic
- Invitation
- InvitationInvitedBy
- InvitationTeam
- InvitationUser
- Invoice
- Metric
- MetricData
- Pool
- PoolAutoscaling
- PoolLaunchSpecification
- PoolLaunchSpecificationConfig
- PoolLaunchSpecificationRootDisk
- Preferences
- Satellite
- Team
- TeamUsers
- Type: API key
Example
auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
Key: "APIKEY",
Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)