All URIs are relative to https://api.gitbook.com/v1
Method | HTTP request | Description |
---|---|---|
GetApiInformation | Get / | Get information about the state of the GitBook API |
ApiInformation GetApiInformation(ctx).Execute()
Get information about the state of the GitBook API
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GitbookIO/go-gitbook"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ApiApi.GetApiInformation(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApiApi.GetApiInformation``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetApiInformation`: ApiInformation
fmt.Fprintf(os.Stdout, "Response from `ApiApi.GetApiInformation`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetApiInformationRequest struct via the builder pattern
integration, integration-installation, user-internal, user, user-staff
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]