Skip to content

Commit

Permalink
Generate v4.7.0 code.
Browse files Browse the repository at this point in the history
  • Loading branch information
brocaar committed Mar 13, 2024
1 parent 0e69103 commit c660a96
Show file tree
Hide file tree
Showing 6 changed files with 398 additions and 346 deletions.
704 changes: 361 additions & 343 deletions api/device.pb.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chirpstack
Submodule chirpstack updated 269 files
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/chirpstack/chirpstack-rest-api
go 1.18

require (
github.com/chirpstack/chirpstack/api/go/v4 v4.6.0
github.com/chirpstack/chirpstack/api/go/v4 v4.7.0
github.com/goreleaser/goreleaser v1.10.2
github.com/goreleaser/nfpm/v2 v2.16.0
github.com/gorilla/handlers v1.5.1
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ github.com/chirpstack/chirpstack/api/go/v4 v4.6.0-test.4 h1:m8deHrKeSgBI3HRB4UVH
github.com/chirpstack/chirpstack/api/go/v4 v4.6.0-test.4/go.mod h1:6+68s1PGHq2QWZ216RTwXhp7h1vCiMc6kX3f4s74ZzQ=
github.com/chirpstack/chirpstack/api/go/v4 v4.6.0 h1:l+nr/QhFab1y9E8LVOJq/lDG+o0+mShcZOCNBvFYXUA=
github.com/chirpstack/chirpstack/api/go/v4 v4.6.0/go.mod h1:6+68s1PGHq2QWZ216RTwXhp7h1vCiMc6kX3f4s74ZzQ=
github.com/chirpstack/chirpstack/api/go/v4 v4.7.0 h1:LgtwvUm/pDvmBYgVc62khybuFdXnx0Hyj9MfKGkXufI=
github.com/chirpstack/chirpstack/api/go/v4 v4.7.0/go.mod h1:6+68s1PGHq2QWZ216RTwXhp7h1vCiMc6kX3f4s74ZzQ=
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
Expand Down
32 changes: 32 additions & 0 deletions openapiv2/api/device.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1227,6 +1227,10 @@
"deviceActivation": {
"$ref": "#/definitions/apiDeviceActivation",
"description": "Device activation object."
},
"joinServerContext": {
"$ref": "#/definitions/commonJoinServerContext",
"description": "Join-Server context.\nA non-empty value indicatest that ChirpStack does not have access to\nthe AppSKey and that the encryption / decryption of the payloads is\nthe responsibility of the end-application."
}
}
},
Expand Down Expand Up @@ -1400,6 +1404,34 @@
"default": "CLASS_A",
"description": " - CLASS_A: Class-A.\n - CLASS_B: Class-B.\n - CLASS_C: Class-C."
},
"commonJoinServerContext": {
"type": "object",
"properties": {
"sessionKeyId": {
"type": "string",
"description": "Session-key ID."
},
"appSKey": {
"$ref": "#/definitions/commonKeyEnvelope",
"description": "AppSKey envelope."
}
},
"description": "Join-Server context."
},
"commonKeyEnvelope": {
"type": "object",
"properties": {
"kekLabel": {
"type": "string",
"description": "KEK label."
},
"aesKey": {
"type": "string",
"format": "byte",
"description": "AES key (when the kek_label is set, this value must first be decrypted)."
}
}
},
"commonMetric": {
"type": "object",
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion ui/api.json

Large diffs are not rendered by default.

0 comments on commit c660a96

Please sign in to comment.