All URIs are relative to http://localhost:8080/api/v1
Method | HTTP request | Description |
---|---|---|
AddPersonInterest | Post /persons/{personId}/interests/skills/{skillId} | Add an Interest to a Person |
AddPersonSkillExperience | Post /persons/{personId}/experiences/skills/{skillId} | Add an Skill experience to a Person |
AddPersonSkillExperiences | Post /persons/{personId}/experiences | Add an Skill experience to a Person (bulk) |
AddSkillConfirmation | Post /project-participations/{projectParticipationId}/skills/{skillId}/confirmation/{confirmingPersonId} | Confirm Skill |
AddSkillToCertification | Post /certifications/{certificationId}/skills/{skillId} | |
AddSkillToParentSkill | Post /skills/{skillId}/parents/{parentSkillId} | Attach a Skill to a parent Skill, returns the parent Skill |
CreateSkill | Post /skills | Create a Skill |
DeletePersonInterest | Delete /persons/{personId}/interests/skills/{skillId} | Remove an Interest to a Person |
DeletePersonSkillExperience | Delete /persons/{personId}/experiences/skills/{skillId} | Remove an Skill Experience to a Person |
DeletePersonSkillExperiences | Delete /persons/{personId}/experiences | Remove an Skill Experience to a Person |
DeleteSkill | Delete /skills/{skillId} | Delete a Skill |
DeleteSkillFromCertification | Delete /certifications/{certificationId}/skills/{skillId} | |
GetSkill | Get /skills/{skillId} | Get details for a single skill |
GetSkillParents | Get /skills/{skillId}/parents | Get ghe list of parents for a skill |
GetSkills | Get /skills | Get a list of all skills, optionally only root |
MergeSkills | Put /skills/{skillId}/merge/{otherSkillId} | Merge two skills |
RemoveSkillConfirmation | Delete /project-participations/{projectParticipationId}/skills/{skillId}/confirmation/{confirmingPersonId} | Remove a confirmation |
RemoveSkillFromParentSkill | Delete /skills/{skillId}/parents/{parentSkillId} | Detaches a Skill from parent Skill, return the parent Skill |
UpdatePersonSkillExperience | Put /persons/{personId}/experiences/skills/{skillId} | Edit an Skill experience to a Person |
UpdatePersonSkillExperiences | Put /persons/{personId}/experiences | Edit an Skill experience to a Person |
UpdateSkill | Put /skills/{skillId} | Update a Skill |
UpdateSkillInCertification | Put /certifications/{certificationId}/skills/{skillId} |
PersonDetails AddPersonInterest(ctx, personId, skillId).Execute()
Add an Interest to a Person
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.AddPersonInterest(context.Background(), personId, skillId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.AddPersonInterest``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddPersonInterest`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.AddPersonInterest`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiAddPersonInterestRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PersonDetails AddPersonSkillExperience(ctx, personId, skillId).Level(level).Execute()
Add an Skill experience to a Person
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
level := *openapiclient.NewLevel() // Level |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.AddPersonSkillExperience(context.Background(), personId, skillId).Level(level).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.AddPersonSkillExperience``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddPersonSkillExperience`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.AddPersonSkillExperience`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiAddPersonSkillExperienceRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
level | Level | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PersonDetails AddPersonSkillExperiences(ctx, personId).SkillLevelUpdate(skillLevelUpdate).Execute()
Add an Skill experience to a Person (bulk)
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillLevelUpdate := []openapiclient.SkillLevelUpdate{*openapiclient.NewSkillLevelUpdate()} // []SkillLevelUpdate |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.AddPersonSkillExperiences(context.Background(), personId).SkillLevelUpdate(skillLevelUpdate).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.AddPersonSkillExperiences``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddPersonSkillExperiences`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.AddPersonSkillExperiences`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string |
Other parameters are passed through a pointer to a apiAddPersonSkillExperiencesRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
skillLevelUpdate | []SkillLevelUpdate | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProjectParticipationDetails AddSkillConfirmation(ctx, projectParticipationId, skillId, confirmingPersonId).Execute()
Confirm Skill
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
projectParticipationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
confirmingPersonId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.AddSkillConfirmation(context.Background(), projectParticipationId, skillId, confirmingPersonId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.AddSkillConfirmation``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddSkillConfirmation`: ProjectParticipationDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.AddSkillConfirmation`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectParticipationId | string | ||
skillId | string | ||
confirmingPersonId | string |
Other parameters are passed through a pointer to a apiAddSkillConfirmationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CertificationDetails AddSkillToCertification(ctx, certificationId, skillId).Level(level).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
certificationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
level := *openapiclient.NewLevel() // Level |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.AddSkillToCertification(context.Background(), certificationId, skillId).Level(level).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.AddSkillToCertification``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddSkillToCertification`: CertificationDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.AddSkillToCertification`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
certificationId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiAddSkillToCertificationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
level | Level | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SkillDetails AddSkillToParentSkill(ctx, skillId, parentSkillId).SkillLinkUpdate(skillLinkUpdate).Execute()
Attach a Skill to a parent Skill, returns the parent Skill
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
parentSkillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillLinkUpdate := *openapiclient.NewSkillLinkUpdate() // SkillLinkUpdate | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.AddSkillToParentSkill(context.Background(), skillId, parentSkillId).SkillLinkUpdate(skillLinkUpdate).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.AddSkillToParentSkill``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddSkillToParentSkill`: SkillDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.AddSkillToParentSkill`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
skillId | string | ||
parentSkillId | string |
Other parameters are passed through a pointer to a apiAddSkillToParentSkillRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
skillLinkUpdate | SkillLinkUpdate | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SkillDetails CreateSkill(ctx).Skill(skill).Execute()
Create a Skill
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
skill := *openapiclient.NewSkill(false, "Id_example", "Name_example") // Skill |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.CreateSkill(context.Background()).Skill(skill).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.CreateSkill``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateSkill`: SkillDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.CreateSkill`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateSkillRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
skill | Skill |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PersonDetails DeletePersonInterest(ctx, personId, skillId).Execute()
Remove an Interest to a Person
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.DeletePersonInterest(context.Background(), personId, skillId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.DeletePersonInterest``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeletePersonInterest`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.DeletePersonInterest`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiDeletePersonInterestRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PersonDetails DeletePersonSkillExperience(ctx, personId, skillId).Execute()
Remove an Skill Experience to a Person
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.DeletePersonSkillExperience(context.Background(), personId, skillId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.DeletePersonSkillExperience``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeletePersonSkillExperience`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.DeletePersonSkillExperience`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiDeletePersonSkillExperienceRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PersonDetails DeletePersonSkillExperiences(ctx, personId).RequestBody(requestBody).Execute()
Remove an Skill Experience to a Person
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
requestBody := []string{"Property_example"} // []string | A list of skillIds
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.DeletePersonSkillExperiences(context.Background(), personId).RequestBody(requestBody).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.DeletePersonSkillExperiences``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeletePersonSkillExperiences`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.DeletePersonSkillExperiences`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string |
Other parameters are passed through a pointer to a apiDeletePersonSkillExperiencesRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
requestBody | []string | A list of skillIds |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Status DeleteSkill(ctx, skillId).Execute()
Delete a Skill
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.DeleteSkill(context.Background(), skillId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.DeleteSkill``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeleteSkill`: Status
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.DeleteSkill`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
skillId | string |
Other parameters are passed through a pointer to a apiDeleteSkillRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CertificationDetails DeleteSkillFromCertification(ctx, certificationId, skillId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
certificationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.DeleteSkillFromCertification(context.Background(), certificationId, skillId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.DeleteSkillFromCertification``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeleteSkillFromCertification`: CertificationDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.DeleteSkillFromCertification`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
certificationId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiDeleteSkillFromCertificationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SkillDetails GetSkill(ctx, skillId).Execute()
Get details for a single skill
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.GetSkill(context.Background(), skillId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.GetSkill``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetSkill`: SkillDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.GetSkill`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
skillId | string |
Other parameters are passed through a pointer to a apiGetSkillRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PagedSkills GetSkillParents(ctx, skillId).Skip(skip).Limit(limit).Execute()
Get ghe list of parents for a skill
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skip := int32(0) // int32 | (optional) (default to 0)
limit := int32(20) // int32 | (optional) (default to 20)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.GetSkillParents(context.Background(), skillId).Skip(skip).Limit(limit).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.GetSkillParents``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetSkillParents`: PagedSkills
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.GetSkillParents`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
skillId | string |
Other parameters are passed through a pointer to a apiGetSkillParentsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
skip | int32 | | [default to 0] limit | int32 | | [default to 20]
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PagedSkills GetSkills(ctx).Skip(skip).Limit(limit).Term(term).Types(types).Suggestions(suggestions).Linkable(linkable).Execute()
Get a list of all skills, optionally only root
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
skip := int32(0) // int32 | (optional) (default to 0)
limit := int32(20) // int32 | (optional) (default to 20)
term := "term_example" // string | Optionally search via search term (optional) (default to "")
types := "all" // string | Gives you either all skills, only the root kills (optional) (default to "all")
suggestions := "all" // string | Optionally filter skills based on suggestion (optional) (default to "all")
linkable := true // bool | Optionally filter skills based on linkable (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.GetSkills(context.Background()).Skip(skip).Limit(limit).Term(term).Types(types).Suggestions(suggestions).Linkable(linkable).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.GetSkills``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetSkills`: PagedSkills
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.GetSkills`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetSkillsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
skip | int32 | [default to 0] | |
limit | int32 | [default to 20] | |
term | string | Optionally search via search term | [default to ""] |
types | string | Gives you either all skills, only the root kills | [default to "all"] |
suggestions | string | Optionally filter skills based on suggestion | [default to "all"] |
linkable | bool | Optionally filter skills based on linkable |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SkillDetails MergeSkills(ctx, skillId, otherSkillId).Execute()
Merge two skills
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
otherSkillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.MergeSkills(context.Background(), skillId, otherSkillId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.MergeSkills``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `MergeSkills`: SkillDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.MergeSkills`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
skillId | string | ||
otherSkillId | string |
Other parameters are passed through a pointer to a apiMergeSkillsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProjectParticipationDetails RemoveSkillConfirmation(ctx, projectParticipationId, skillId, confirmingPersonId).Execute()
Remove a confirmation
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
projectParticipationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
confirmingPersonId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.RemoveSkillConfirmation(context.Background(), projectParticipationId, skillId, confirmingPersonId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.RemoveSkillConfirmation``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RemoveSkillConfirmation`: ProjectParticipationDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.RemoveSkillConfirmation`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectParticipationId | string | ||
skillId | string | ||
confirmingPersonId | string |
Other parameters are passed through a pointer to a apiRemoveSkillConfirmationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SkillDetails RemoveSkillFromParentSkill(ctx, skillId, parentSkillId).Execute()
Detaches a Skill from parent Skill, return the parent Skill
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
parentSkillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.RemoveSkillFromParentSkill(context.Background(), skillId, parentSkillId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.RemoveSkillFromParentSkill``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RemoveSkillFromParentSkill`: SkillDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.RemoveSkillFromParentSkill`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
skillId | string | ||
parentSkillId | string |
Other parameters are passed through a pointer to a apiRemoveSkillFromParentSkillRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PersonDetails UpdatePersonSkillExperience(ctx, personId, skillId).Level(level).Execute()
Edit an Skill experience to a Person
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
level := *openapiclient.NewLevel() // Level |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.UpdatePersonSkillExperience(context.Background(), personId, skillId).Level(level).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.UpdatePersonSkillExperience``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdatePersonSkillExperience`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.UpdatePersonSkillExperience`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiUpdatePersonSkillExperienceRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
level | Level | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PersonDetails UpdatePersonSkillExperiences(ctx, personId).SkillLevelUpdate(skillLevelUpdate).Execute()
Edit an Skill experience to a Person
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillLevelUpdate := []openapiclient.SkillLevelUpdate{*openapiclient.NewSkillLevelUpdate()} // []SkillLevelUpdate |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.UpdatePersonSkillExperiences(context.Background(), personId).SkillLevelUpdate(skillLevelUpdate).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.UpdatePersonSkillExperiences``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdatePersonSkillExperiences`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.UpdatePersonSkillExperiences`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string |
Other parameters are passed through a pointer to a apiUpdatePersonSkillExperiencesRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
skillLevelUpdate | []SkillLevelUpdate | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SkillDetails UpdateSkill(ctx, skillId).Skill(skill).Execute()
Update a Skill
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skill := *openapiclient.NewSkill(false, "Id_example", "Name_example") // Skill |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.UpdateSkill(context.Background(), skillId).Skill(skill).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.UpdateSkill``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateSkill`: SkillDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.UpdateSkill`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
skillId | string |
Other parameters are passed through a pointer to a apiUpdateSkillRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
skill | Skill | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CertificationDetails UpdateSkillInCertification(ctx, certificationId, skillId).Level(level).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
certificationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
level := *openapiclient.NewLevel() // Level |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SkillAPI.UpdateSkillInCertification(context.Background(), certificationId, skillId).Level(level).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SkillAPI.UpdateSkillInCertification``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateSkillInCertification`: CertificationDetails
fmt.Fprintf(os.Stdout, "Response from `SkillAPI.UpdateSkillInCertification`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
certificationId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiUpdateSkillInCertificationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
level | Level | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]