Skip to content

Latest commit

 

History

History
81 lines (51 loc) · 2.27 KB

OrganizationAPI.md

File metadata and controls

81 lines (51 loc) · 2.27 KB

\OrganizationAPI

All URIs are relative to https://api.qovery.com

Method HTTP request Description
TrackSkillCall Post /organization/{organizationId}/skill-tracking Track a skill call

TrackSkillCall

TrackSkillCall(ctx, organizationId).SkillTrackingRequest(skillTrackingRequest).UserAgent(userAgent).Execute()

Track a skill call

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {
	organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Organization ID
	skillTrackingRequest := *openapiclient.NewSkillTrackingRequest("SkillName_example") // SkillTrackingRequest | 
	userAgent := "userAgent_example" // string |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.OrganizationAPI.TrackSkillCall(context.Background(), organizationId).SkillTrackingRequest(skillTrackingRequest).UserAgent(userAgent).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `OrganizationAPI.TrackSkillCall``: %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.
organizationId string Organization ID

Other Parameters

Other parameters are passed through a pointer to a apiTrackSkillCallRequest struct via the builder pattern

Name Type Description Notes

skillTrackingRequest | SkillTrackingRequest | | userAgent | string | |

Return type

(empty response body)

Authorization

ApiKeyAuth, bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]