All URIs are relative to /api
Method | HTTP request | Description |
---|---|---|
V1JamfConnectConfigProfilesGet | Get /v1/jamf-connect/config-profiles | Search for config profiles linked to Jamf Connect |
V1JamfConnectConfigProfilesIdPut | Put /v1/jamf-connect/config-profiles/{id} | Update the way the Jamf Connect app gets updated on computers within scope of the associated configuration profile. |
V1JamfConnectDeploymentsIdTasksGet | Get /v1/jamf-connect/deployments/{id}/tasks | Search for deployment tasks for a config profile linked to Jamf Connect |
V1JamfConnectDeploymentsIdTasksRetryPost | Post /v1/jamf-connect/deployments/{id}/tasks/retry | Request a retry of Connect install tasks |
V1JamfConnectGet | Get /v1/jamf-connect | Get the Jamf Connect settings that you have access to see |
V1JamfConnectHistoryGet | Get /v1/jamf-connect/history | Get Jamf Connect history |
V1JamfConnectHistoryPost | Post /v1/jamf-connect/history | Add Jamf Connect history notes |
LinkedConnectProfileSearchResults V1JamfConnectConfigProfilesGet(ctx).Page(page).PageSize(pageSize).Sort(sort).Filter(filter).Execute()
Search for config profiles linked to Jamf Connect
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
page := int32(56) // int32 | (optional) (default to 0)
pageSize := int32(56) // int32 | (optional) (default to 100)
sort := []string{"Inner_example"} // []string | Sorting criteria in the format: property:asc/desc. Default sort order is descending. Multiple sort criteria are supported and must be entered on separate lines in Swagger UI. In the URI the 'sort' query param is not duplicated for each sort criterion, e.g., ...&sort=name:asc,date:desc. Fields that can be sorted: status, updated (optional) (default to [])
filter := "filter_example" // string | Query in the RSQL format, allowing to filter results. Default filter is empty query - returning all results for the requested page. Fields allowed in the query: status, updated, version This param can be combined with paging and sorting. Example: filter=username!=admin and details==*disabled* and date<2019-12-15 (optional) (default to "")
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.JamfConnectApi.V1JamfConnectConfigProfilesGet(context.Background()).Page(page).PageSize(pageSize).Sort(sort).Filter(filter).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `JamfConnectApi.V1JamfConnectConfigProfilesGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `V1JamfConnectConfigProfilesGet`: LinkedConnectProfileSearchResults
fmt.Fprintf(os.Stdout, "Response from `JamfConnectApi.V1JamfConnectConfigProfilesGet`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiV1JamfConnectConfigProfilesGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
page | int32 | [default to 0] | |
pageSize | int32 | [default to 100] | |
sort | []string | Sorting criteria in the format: property:asc/desc. Default sort order is descending. Multiple sort criteria are supported and must be entered on separate lines in Swagger UI. In the URI the 'sort' query param is not duplicated for each sort criterion, e.g., ...&sort=name:asc,date:desc. Fields that can be sorted: status, updated | [default to []] |
filter | string | Query in the RSQL format, allowing to filter results. Default filter is empty query - returning all results for the requested page. Fields allowed in the query: status, updated, version This param can be combined with paging and sorting. Example: filter=username!=admin and details==disabled and date<2019-12-15 | [default to ""] |
LinkedConnectProfileSearchResults
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LinkedConnectProfile V1JamfConnectConfigProfilesIdPut(ctx, id).LinkedConnectProfile(linkedConnectProfile).Execute()
Update the way the Jamf Connect app gets updated on computers within scope of the associated configuration profile.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "24a7bb2a-9871-4895-9009-d1be07ed31b1" // string | the UUID of the profile to update
linkedConnectProfile := *openapiclient.NewLinkedConnectProfile() // LinkedConnectProfile | Updatable Jamf Connect Settings (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.JamfConnectApi.V1JamfConnectConfigProfilesIdPut(context.Background(), id).LinkedConnectProfile(linkedConnectProfile).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `JamfConnectApi.V1JamfConnectConfigProfilesIdPut``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `V1JamfConnectConfigProfilesIdPut`: LinkedConnectProfile
fmt.Fprintf(os.Stdout, "Response from `JamfConnectApi.V1JamfConnectConfigProfilesIdPut`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | the UUID of the profile to update |
Other parameters are passed through a pointer to a apiV1JamfConnectConfigProfilesIdPutRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
linkedConnectProfile | LinkedConnectProfile | Updatable Jamf Connect Settings |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeploymentTaskSearchResults V1JamfConnectDeploymentsIdTasksGet(ctx, id).Page(page).PageSize(pageSize).Sort(sort).Filter(filter).Execute()
Search for deployment tasks for a config profile linked to Jamf Connect
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "24a7bb2a-9871-4895-9009-d1be07ed31b1" // string | the UUID of the Jamf Connect deployment
page := int32(56) // int32 | (optional) (default to 0)
pageSize := int32(56) // int32 | (optional) (default to 100)
sort := []string{"Inner_example"} // []string | Sorting criteria in the format: property:asc/desc. Default sort order is descending. Multiple sort criteria are supported and must be entered on separate lines in Swagger UI. In the URI the 'sort' query param is not duplicated for each sort criterion, e.g., ...&sort=name:asc,date:desc. Fields that can be sorted: status, updated (optional) (default to [])
filter := "filter_example" // string | Query in the RSQL format, allowing to filter results. Default filter is empty query - returning all results for the requested page. Fields allowed in the query: status, updated, version This param can be combined with paging and sorting. Example: filter=username!=admin and details==*disabled* and date<2019-12-15 (optional) (default to "")
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.JamfConnectApi.V1JamfConnectDeploymentsIdTasksGet(context.Background(), id).Page(page).PageSize(pageSize).Sort(sort).Filter(filter).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `JamfConnectApi.V1JamfConnectDeploymentsIdTasksGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `V1JamfConnectDeploymentsIdTasksGet`: DeploymentTaskSearchResults
fmt.Fprintf(os.Stdout, "Response from `JamfConnectApi.V1JamfConnectDeploymentsIdTasksGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | the UUID of the Jamf Connect deployment |
Other parameters are passed through a pointer to a apiV1JamfConnectDeploymentsIdTasksGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
page | int32 | | [default to 0] pageSize | int32 | | [default to 100] sort | []string | Sorting criteria in the format: property:asc/desc. Default sort order is descending. Multiple sort criteria are supported and must be entered on separate lines in Swagger UI. In the URI the 'sort' query param is not duplicated for each sort criterion, e.g., ...&sort=name:asc,date:desc. Fields that can be sorted: status, updated | [default to []] filter | string | Query in the RSQL format, allowing to filter results. Default filter is empty query - returning all results for the requested page. Fields allowed in the query: status, updated, version This param can be combined with paging and sorting. Example: filter=username!=admin and details==disabled and date<2019-12-15 | [default to ""]
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
V1JamfConnectDeploymentsIdTasksRetryPost(ctx, id).Ids(ids).Execute()
Request a retry of Connect install tasks
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "24a7bb2a-9871-4895-9009-d1be07ed31b1" // string | the UUID of the deployment associated with the retry
ids := *openapiclient.NewIds() // Ids | task IDs to retry
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.JamfConnectApi.V1JamfConnectDeploymentsIdTasksRetryPost(context.Background(), id).Ids(ids).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `JamfConnectApi.V1JamfConnectDeploymentsIdTasksRetryPost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | the UUID of the deployment associated with the retry |
Other parameters are passed through a pointer to a apiV1JamfConnectDeploymentsIdTasksRetryPostRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
ids | Ids | task IDs to retry |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
V1JamfConnectGet(ctx).Execute()
Get the Jamf Connect settings that you have access to see
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.JamfConnectApi.V1JamfConnectGet(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `JamfConnectApi.V1JamfConnectGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiV1JamfConnectGetRequest struct via the builder pattern
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HistorySearchResults V1JamfConnectHistoryGet(ctx).Page(page).PageSize(pageSize).Sort(sort).Filter(filter).Execute()
Get Jamf Connect history
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
page := int32(56) // int32 | (optional) (default to 0)
pageSize := int32(56) // int32 | (optional) (default to 100)
sort := []string{"Inner_example"} // []string | Sorting criteria in the format: property:asc/desc. Default sort order is descending. Multiple sort criteria are supported and must be entered on separate lines in Swagger UI. In the URI the 'sort' query param is not duplicated for each sort criterion, e.g., ...&sort=name:asc,date:desc. Fields that can be sorted: status, updated (optional) (default to [])
filter := "filter_example" // string | Query in the RSQL format, allowing to filter results. Default filter is empty query - returning all results for the requested page. Fields allowed in the query: status, updated, version This param can be combined with paging and sorting. Example: filter=username!=admin and details==*disabled* and date<2019-12-15 (optional) (default to "")
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.JamfConnectApi.V1JamfConnectHistoryGet(context.Background()).Page(page).PageSize(pageSize).Sort(sort).Filter(filter).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `JamfConnectApi.V1JamfConnectHistoryGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `V1JamfConnectHistoryGet`: HistorySearchResults
fmt.Fprintf(os.Stdout, "Response from `JamfConnectApi.V1JamfConnectHistoryGet`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiV1JamfConnectHistoryGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
page | int32 | [default to 0] | |
pageSize | int32 | [default to 100] | |
sort | []string | Sorting criteria in the format: property:asc/desc. Default sort order is descending. Multiple sort criteria are supported and must be entered on separate lines in Swagger UI. In the URI the 'sort' query param is not duplicated for each sort criterion, e.g., ...&sort=name:asc,date:desc. Fields that can be sorted: status, updated | [default to []] |
filter | string | Query in the RSQL format, allowing to filter results. Default filter is empty query - returning all results for the requested page. Fields allowed in the query: status, updated, version This param can be combined with paging and sorting. Example: filter=username!=admin and details==disabled and date<2019-12-15 | [default to ""] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HrefResponse V1JamfConnectHistoryPost(ctx).ObjectHistoryNote(objectHistoryNote).Execute()
Add Jamf Connect history notes
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
objectHistoryNote := *openapiclient.NewObjectHistoryNote("A generic note can sometimes be useful, but generally not.") // ObjectHistoryNote | history notes to create
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.JamfConnectApi.V1JamfConnectHistoryPost(context.Background()).ObjectHistoryNote(objectHistoryNote).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `JamfConnectApi.V1JamfConnectHistoryPost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `V1JamfConnectHistoryPost`: HrefResponse
fmt.Fprintf(os.Stdout, "Response from `JamfConnectApi.V1JamfConnectHistoryPost`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiV1JamfConnectHistoryPostRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
objectHistoryNote | ObjectHistoryNote | history notes to create |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]