4.5 KiB
\ConferenceAPI
All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
Conferences | Get /api/v1/conferences | View conference info |
Conferences1 | Get /api/v1/conferences/{conferenceId} | View conference info |
Conferences
Conferences(ctx, conferenceId).Season(season).IncludeInactive(includeInactive).Fields(fields).Execute()
View conference info
Example
package main
import (
"context"
"fmt"
"os"
openapiclient "//"
)
func main() {
conferenceId := TODO // interface{} |
season := TODO // interface{} | Season of play (optional)
includeInactive := TODO // interface{} | (optional)
fields := TODO // interface{} | Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ConferenceAPI.Conferences(context.Background(), conferenceId).Season(season).IncludeInactive(includeInactive).Fields(fields).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ConferenceAPI.Conferences``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
conferenceId | interface{} |
Other Parameters
Other parameters are passed through a pointer to a apiConferencesRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
season | interface{} | Season of play | includeInactive | interface{} | | fields | interface{} | Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute |
Return type
(empty response body)
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Conferences1
Conferences1(ctx, conferenceId).Season(season).IncludeInactive(includeInactive).Fields(fields).Execute()
View conference info
Example
package main
import (
"context"
"fmt"
"os"
openapiclient "//"
)
func main() {
conferenceId := TODO // interface{} |
season := TODO // interface{} | Season of play (optional)
includeInactive := TODO // interface{} | (optional)
fields := TODO // interface{} | Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ConferenceAPI.Conferences1(context.Background(), conferenceId).Season(season).IncludeInactive(includeInactive).Fields(fields).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ConferenceAPI.Conferences1``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
conferenceId | interface{} |
Other Parameters
Other parameters are passed through a pointer to a apiConferences1Request struct via the builder pattern
Name | Type | Description | Notes |
---|
season | interface{} | Season of play | includeInactive | interface{} | | fields | interface{} | Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute |
Return type
(empty response body)
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]