Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions NOTICE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2606,42 +2606,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


---

## Azure/azure-sdk-for-go

This product contains 'Azure/azure-sdk-for-go' by Microsoft Azure.

This repository is for active development of the Azure SDK for Go. For consumers of the SDK we recommend visiting our public developer docs at:

* HOMEPAGE:
* https://docs.microsoft.com/azure/developer/go/

* LICENSE: MIT License

The MIT License (MIT)

Copyright (c) Microsoft Corporation.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


---

## Go
Expand Down
86 changes: 86 additions & 0 deletions api/v4/source/system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,92 @@
$ref: "#/components/responses/Unauthorized"
"403":
$ref: "#/components/responses/Forbidden"
/api/v4/license/preview:
post:
tags:
- system
summary: Preview license file
description: |
Validate and parse a license file without saving it. This allows administrators
to preview the license details before applying it.

__Minimum server version__: 10.9

##### Permissions
Must have `manage_license_information` permission.
operationId: PreviewLicenseFile
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
license:
description: The license to be previewed
type: string
format: binary
required:
- license
responses:
"200":
description: License preview successful
content:
application/json:
schema:
type: object
properties:
id:
type: string
description: The unique identifier of the license
issued_at:
type: integer
format: int64
description: The timestamp when the license was issued
starts_at:
type: integer
format: int64
description: The timestamp when the license becomes active
expires_at:
type: integer
format: int64
description: The timestamp when the license expires
sku_name:
type: string
description: The display name of the license SKU (e.g., "Enterprise", "Professional")
sku_short_name:
type: string
description: The short name of the license SKU (e.g., "enterprise", "professional")
is_trial:
type: boolean
description: Whether this is a trial license
is_gov_sku:
type: boolean
description: Whether this is a government SKU license
customer:
type: object
properties:
id:
type: string
name:
type: string
email:
type: string
company:
type: string
features:
type: object
properties:
users:
type: integer
description: The number of users allowed by the license
"400":
$ref: "#/components/responses/BadRequest"
"401":
$ref: "#/components/responses/Unauthorized"
"403":
$ref: "#/components/responses/Forbidden"
"413":
$ref: "#/components/responses/TooLarge"
/api/v4/license/client:
get:
tags:
Expand Down
Loading
Loading