Skip to content

Commit

Permalink
Merge pull request #3 from corellium/update-bindings-2023-11-22T15-01…
Browse files Browse the repository at this point in the history
…-33+00-00

Update Go API bindings
  • Loading branch information
Manouchehri authored Nov 22, 2023
2 parents 3507f71 + 67bd5d4 commit 06f8665
Show file tree
Hide file tree
Showing 139 changed files with 550 additions and 135 deletions.
2 changes: 2 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ docs/AgentInstallBody.md
docs/AgentProfilesReturn.md
docs/AgentSystemAdbAuth.md
docs/AgentSystemGetPropBody.md
docs/AgentSystemSetHostnameBody.md
docs/AgentValueReturn.md
docs/AgreedAck.md
docs/ApiConflictError.md
Expand Down Expand Up @@ -166,6 +167,7 @@ model_agent_install_body.go
model_agent_profiles_return.go
model_agent_system_adb_auth.go
model_agent_system_get_prop_body.go
model_agent_system_set_hostname_body.go
model_agent_value_return.go
model_agreed_ack.go
model_api_conflict_error.go
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ REST API to manage your virtual devices.
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 5.5.0-18750
- API version: 5.6.0-19122
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen

Expand Down Expand Up @@ -96,6 +96,7 @@ Class | Method | HTTP request | Description
*AgentApi* | [**V1AgentSystemInstallOpenGApps**](docs/AgentApi.md#v1agentsysteminstallopengapps) | **Post** /v1/instances/{instanceId}/agent/v1/system/install-opengapps | Install OpenGApps (AOSP only)
*AgentApi* | [**V1AgentSystemLock**](docs/AgentApi.md#v1agentsystemlock) | **Post** /v1/instances/{instanceId}/agent/v1/system/lock | Lock Device (iOS Only)
*AgentApi* | [**V1AgentSystemSetAdbAuth**](docs/AgentApi.md#v1agentsystemsetadbauth) | **Put** /v1/instances/{instanceId}/agent/v1/system/adbauth | Set ADB Auth Setting (AOSP only)
*AgentApi* | [**V1AgentSystemSetHostname**](docs/AgentApi.md#v1agentsystemsethostname) | **Post** /v1/instances/{instanceId}/agent/v1/system/setHostname | Set Hostname of instance
*AgentApi* | [**V1AgentSystemShutdown**](docs/AgentApi.md#v1agentsystemshutdown) | **Post** /v1/instances/{instanceId}/agent/v1/system/shutdown | Instruct VM to halt
*AgentApi* | [**V1AgentSystemUnlock**](docs/AgentApi.md#v1agentsystemunlock) | **Post** /v1/instances/{instanceId}/agent/v1/system/unlock | Unlock Device (iOS Only)
*AgentApi* | [**V1AgentUninstallApp**](docs/AgentApi.md#v1agentuninstallapp) | **Post** /v1/instances/{instanceId}/agent/v1/app/apps/{bundleId}/uninstall | Uninstall an App
Expand Down Expand Up @@ -247,6 +248,7 @@ Class | Method | HTTP request | Description
- [AgentProfilesReturn](docs/AgentProfilesReturn.md)
- [AgentSystemAdbAuth](docs/AgentSystemAdbAuth.md)
- [AgentSystemGetPropBody](docs/AgentSystemGetPropBody.md)
- [AgentSystemSetHostnameBody](docs/AgentSystemSetHostnameBody.md)
- [AgentValueReturn](docs/AgentValueReturn.md)
- [AgreedAck](docs/AgreedAck.md)
- [ApiConflictError](docs/ApiConflictError.md)
Expand Down
50 changes: 49 additions & 1 deletion api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ info:
description: REST API to manage your virtual devices.
termsOfService: https://www.corellium.com/legal/terms
title: Corellium API
version: 5.5.0-18750
version: 5.6.0-19122
servers:
- description: ""
url: "https://{serverName}/api"
Expand Down Expand Up @@ -51,6 +51,8 @@ tags:
name: Projects
- description: ""
name: Roles
- description: ""
name: Services
- description: ""
name: Snapshots
- description: ""
Expand Down Expand Up @@ -2024,6 +2026,41 @@ paths:
summary: Uninstall a Profile from VM
tags:
- Agent
/v1/instances/{instanceId}/agent/v1/system/setHostname:
post:
deprecated: false
operationId: v1AgentSystemSetHostname
parameters:
- deprecated: false
description: Instance ID - uuid
explode: false
in: path
name: instanceId
required: true
schema:
type: string
style: simple
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AgentSystemSetHostnameBody'
description: New hostname
required: true
responses:
"204":
description: Accepted
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/AgentError'
description: Agent Error
security:
- BearerAuth: []
summary: Set Hostname of instance
tags:
- Agent
/v1/instances/{instanceId}/agent/v1/system/shutdown:
post:
deprecated: false
Expand Down Expand Up @@ -8904,6 +8941,17 @@ components:
required:
- profiles
type: object
AgentSystemSetHostnameBody:
description: ""
example:
hostname: hostname
properties:
hostname:
description: ""
type: string
required:
- hostname
type: object
AgentValueReturn:
description: ""
example:
Expand Down
114 changes: 113 additions & 1 deletion api_agent.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_authentication.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_config.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_core_trace.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_domain_auth_provider.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_hyper_trace.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_hypervisor_hooks.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_images.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_instances.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_licensing.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_netdump.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_projects.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_roles.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_snapshots.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_status.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_teams.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_trial_requests.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 06f8665

Please sign in to comment.