diff --git a/common/pkg/util/converter_test.go b/common/pkg/util/converter_test.go index f7c05b5d4..c5dd1ef78 100644 --- a/common/pkg/util/converter_test.go +++ b/common/pkg/util/converter_test.go @@ -1,19 +1,5 @@ -/* - * SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. - * SPDX-License-Identifier: Apache-2.0 - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 package util diff --git a/docs/index.html b/docs/index.html index 5b0758c2b..a8025bddf 100644 --- a/docs/index.html +++ b/docs/index.html @@ -9622,12 +9622,12 @@
Unique identifier
API endpoint
-Query parameters
-Query parameters from the request URL, keyed by parameter name. Each value is the list of values supplied for that parameter.
+| property name* additional property | Array of strings |
HTTP method
-HTTP body in JSON format
+Request body parsed as a JSON object. Empty when the request had no body. Sensitive fields (e.g. passwords) are obfuscated.
HTTP response status code
Error response when user is not authorized to call an endpoint or retrieve/modify objects
[- {
- "id": "e313b3ca-c47a-4ec1-a79b-a147fad51a50",
- "endpoint": "/v2/org/test-org-1/nico/ep",
- "queryParams": "{\"test\":[\"1234\"]}",
- "method": "POST",
- "body": "{\"key1\":\"value1\"}",
- "statusCode": 200,
- "clientIP": "12.123.43.112",
- "userID": "5d9fe319-14d4-40e3-8e5a-7d79e680d55b",
- "user": {
- "id": "5d9fe319-14d4-40e3-8e5a-7d79e680d55b",
- "firstName": "John",
- "lastName": "Doe",
- "email": "jdoe@test.com"
}, - "orgName": "test-org-1",
- "timestamp": "2024-12-04T21:06:33.849293-08:00",
- "durationMs": 250,
- "apiVersion": "0.1.91"
}, - {
- "id": "e313b3ca-c47a-4ec1-a79b-a147fad51a50",
- "endpoint": "/v2/org/test-org-1/nico/ep",
- "queryParams": "{\"test\":[\"1234\"]}",
- "method": "POST",
- "body": "{\"key1\":\"value1\"}",
- "statusCode": 403,
- "statusMessage": "User does not have permissions",
- "clientIP": "12.123.43.112",
- "userID": "5d9fe319-14d4-40e3-8e5a-7d79e680d55b",
- "user": {
- "id": "5d9fe319-14d4-40e3-8e5a-7d79e680d55b",
- "firstName": "John",
- "lastName": "Doe",
- "email": "jdoe@test.com"
}, - "orgName": "test-org-1",
- "timestamp": "2024-12-04T21:06:33.849293-08:00",
- "durationMs": 50,
- "apiVersion": "0.1.91"
}
][- {
- "id": "e313b3ca-c47a-4ec1-a79b-a147fad51a50",
- "endpoint": "/v2/org/test-org-1/nico/ep",
- "queryParams": {
- "test": [
- "1234"
]
}, - "method": "POST",
- "body": {
- "key1": "value1"
}, - "statusCode": 200,
- "clientIP": "12.123.43.112",
- "userID": "5d9fe319-14d4-40e3-8e5a-7d79e680d55b",
- "user": {
- "id": "5d9fe319-14d4-40e3-8e5a-7d79e680d55b",
- "firstName": "John",
- "lastName": "Doe",
- "email": "jdoe@test.com"
}, - "orgName": "test-org-1",
- "timestamp": "2024-12-04T21:06:33.849293-08:00",
- "durationMs": 250,
- "apiVersion": "0.1.91"
}, - {
- "id": "e313b3ca-c47a-4ec1-a79b-a147fad51a50",
- "endpoint": "/v2/org/test-org-1/nico/ep",
- "queryParams": {
- "test": [
- "1234"
]
}, - "method": "POST",
- "body": {
- "key1": "value1"
}, - "statusCode": 403,
- "statusMessage": "User does not have permissions",
- "clientIP": "12.123.43.112",
- "userID": "5d9fe319-14d4-40e3-8e5a-7d79e680d55b",
- "user": {
- "id": "5d9fe319-14d4-40e3-8e5a-7d79e680d55b",
- "firstName": "John",
- "lastName": "Doe",
- "email": "jdoe@test.com"
}, - "orgName": "test-org-1",
- "timestamp": "2024-12-04T21:06:33.849293-08:00",
- "durationMs": 50,
- "apiVersion": "0.1.91"
}
]API endpoint
-Query parameters
-Query parameters from the request URL, keyed by parameter name. Each value is the list of values supplied for that parameter.
+| property name* additional property | Array of strings |
HTTP method
-HTTP body in JSON format
+Request body parsed as a JSON object. Empty when the request had no body. Sensitive fields (e.g. passwords) are obfuscated.
HTTP response status code
Error response when user is not authorized to call an endpoint or retrieve/modify objects
{- "id": "e313b3ca-c47a-4ec1-a79b-a147fad51a50",
- "endpoint": "/v2/org/test-org-1/nico/ep",
- "queryParams": "{\"test\":[\"1234\"]}",
- "method": "POST",
- "body": "{\"key1\":\"value1\"}",
- "statusCode": 200,
- "clientIP": "12.123.43.112",
- "userID": "5d9fe319-14d4-40e3-8e5a-7d79e680d55b",
- "user": {
- "id": "5d9fe319-14d4-40e3-8e5a-7d79e680d55b",
- "firstName": "John",
- "lastName": "Doe",
- "email": "jdoe@test.com"
}, - "orgName": "test-org-1",
- "timestamp": "2024-12-04T21:06:33.849293-08:00",
- "durationMs": 250,
- "apiVersion": "0.1.91"
}{- "id": "e313b3ca-c47a-4ec1-a79b-a147fad51a50",
- "endpoint": "/v2/org/test-org-1/nico/ep",
- "queryParams": {
- "test": [
- "1234"
]
}, - "method": "POST",
- "body": {
- "key1": "value1"
}, - "statusCode": 200,
- "clientIP": "12.123.43.112",
- "userID": "5d9fe319-14d4-40e3-8e5a-7d79e680d55b",
- "user": {
- "id": "5d9fe319-14d4-40e3-8e5a-7d79e680d55b",
- "firstName": "John",
- "lastName": "Doe",
- "email": "jdoe@test.com"
}, - "orgName": "test-org-1",
- "timestamp": "2024-12-04T21:06:33.849293-08:00",
- "durationMs": 250,
- "apiVersion": "0.1.91"
}