Skip to content

Commit ab87f7e

Browse files
Update API Client
#### What's Changed --- ##### `POST` /core/tokens/{identifier}/set_key/ ###### Request: Changed content type : `application/json` ##### `GET` /endpoints/agents/connectors/agent_config/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` New required properties: - `device_id` * Added property `device_id` (string) ##### `GET` /policies/geoip/{policy_uuid}/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `countries` (array) ##### `PUT` /policies/geoip/{policy_uuid}/ ###### Request: Changed content type : `application/json` * Changed property `countries` (array) ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `countries` (array) ##### `PATCH` /policies/geoip/{policy_uuid}/ ###### Request: Changed content type : `application/json` * Changed property `countries` (array) ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `countries` (array) ##### `POST` /policies/geoip/ ###### Request: Changed content type : `application/json` * Changed property `countries` (array) ###### Return Type: Changed response : **201 Created** * Changed content type : `application/json` * Changed property `countries` (array) ##### `GET` /policies/geoip/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `results` (array) Changed items (object): > GeoIP Policy Serializer * Changed property `countries` (array)
1 parent 77b0e15 commit ab87f7e

File tree

5 files changed

+64
-3
lines changed

5 files changed

+64
-3
lines changed

api/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49536,11 +49536,15 @@ components:
4953649536
auth_terminate_session_on_expiry: true
4953749537
refresh_interval: 0
4953849538
authorization_flow: authorization_flow
49539+
device_id: device_id
4953949540
jwks:
4954049541
key: ""
4954149542
system_config: ""
4954249543
nss_gid_offset: 1
4954349544
properties:
49545+
device_id:
49546+
readOnly: true
49547+
type: string
4954449548
refresh_interval:
4954549549
readOnly: true
4954649550
type: integer
@@ -49563,6 +49567,7 @@ components:
4956349567
required:
4956449568
- auth_terminate_session_on_expiry
4956549569
- authorization_flow
49570+
- device_id
4956649571
- jwks
4956749572
- nss_gid_offset
4956849573
- nss_uid_offset
@@ -84843,6 +84848,7 @@ components:
8484384848
- identifier
8484484849
type: object
8484584850
TokenSetKeyRequest:
84851+
description: Set token's key
8484684852
example:
8484784853
key: key
8484884854
properties:

docs/AgentConfig.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**DeviceId** | **string** | | [readonly]
78
**RefreshInterval** | **int32** | | [readonly]
89
**AuthorizationFlow** | **string** | |
910
**Jwks** | **map[string]interface{}** | | [readonly]
@@ -16,7 +17,7 @@ Name | Type | Description | Notes
1617

1718
### NewAgentConfig
1819

19-
`func NewAgentConfig(refreshInterval int32, authorizationFlow string, jwks map[string]interface{}, nssUidOffset int32, nssGidOffset int32, authTerminateSessionOnExpiry bool, systemConfig Config, ) *AgentConfig`
20+
`func NewAgentConfig(deviceId string, refreshInterval int32, authorizationFlow string, jwks map[string]interface{}, nssUidOffset int32, nssGidOffset int32, authTerminateSessionOnExpiry bool, systemConfig Config, ) *AgentConfig`
2021

2122
NewAgentConfig instantiates a new AgentConfig object
2223
This constructor will assign default values to properties that have it defined,
@@ -31,6 +32,26 @@ NewAgentConfigWithDefaults instantiates a new AgentConfig object
3132
This constructor will only assign default values to properties that have it defined,
3233
but it doesn't guarantee that properties required by API are set
3334

35+
### GetDeviceId
36+
37+
`func (o *AgentConfig) GetDeviceId() string`
38+
39+
GetDeviceId returns the DeviceId field if non-nil, zero value otherwise.
40+
41+
### GetDeviceIdOk
42+
43+
`func (o *AgentConfig) GetDeviceIdOk() (*string, bool)`
44+
45+
GetDeviceIdOk returns a tuple with the DeviceId field if it's non-nil, zero value otherwise
46+
and a boolean to check if the value has been set.
47+
48+
### SetDeviceId
49+
50+
`func (o *AgentConfig) SetDeviceId(v string)`
51+
52+
SetDeviceId sets DeviceId field to given value.
53+
54+
3455
### GetRefreshInterval
3556

3657
`func (o *AgentConfig) GetRefreshInterval() int32`

model_agent_config.go

Lines changed: 30 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

model_token_set_key_request.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

schema.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32524,6 +32524,9 @@ components:
3252432524
type: object
3252532525
description: Base serializer class which doesn't implement create/update methods
3252632526
properties:
32527+
device_id:
32528+
type: string
32529+
readOnly: true
3252732530
refresh_interval:
3252832531
type: integer
3252932532
readOnly: true
@@ -32546,6 +32549,7 @@ components:
3254632549
required:
3254732550
- auth_terminate_session_on_expiry
3254832551
- authorization_flow
32552+
- device_id
3254932553
- jwks
3255032554
- nss_gid_offset
3255132555
- nss_uid_offset
@@ -53874,6 +53878,7 @@ components:
5387453878
- identifier
5387553879
TokenSetKeyRequest:
5387653880
type: object
53881+
description: Set token's key
5387753882
properties:
5387853883
key:
5387953884
type: string

0 commit comments

Comments
 (0)