Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
009a374
Add BasicAuth to all without it
juno-jin-ni Apr 19, 2021
7a8e2b1
Merge pull request #91 from ni/allow-basic-auth
juno-jin-ni Apr 20, 2021
9373ed3
Update SystemMetadata
May 12, 2021
e8d5b33
Merge pull request #92 from ipopa144/users/ipopa/update-systemmetadata
Jul 1, 2021
76e0dac
Merge pull request #94 from ni/users/vladbaja/export-openapi-for-21-1
vladbaja Jul 1, 2021
a5005d1
Merged PR 143611: Added check for all system properties updated
vdeac Apr 2, 2021
50bcff9
Merged PR 143598: Pull OpenAPI docs from GitHub subrepo
Apr 2, 2021
176d380
Merged PR 147691: Extend FileIngestion Service to allow force delete …
Everest2020 Apr 16, 2021
2a7164c
Merged PR 145036: This is a proposed fix for the bug 1355793 allowing…
Apr 20, 2021
fabcd1f
Merged PR 147792: Add missing Swagger documentation for tag historian
Apr 20, 2021
7137392
Merged PR 153636: Add route to link files to an asset
vladbaja Apr 28, 2021
7e52cae
Merged PR 154444: Add fileIds property on yml
Apr 29, 2021
4716a54
Merged PR 154086: Updated the AssetUpdateModel in YML to include REMO…
tludusan Apr 29, 2021
40da1be
Merged PR 157149: Export notebooks as HTML or PDF
May 7, 2021
aa5fba0
Merged PR 158162: US 1449042: Support workspace filtering in Query Files
May 10, 2021
f8cfd7e
Merged PR 164847: Add `unlink file` route to swagger
May 26, 2021
826a95e
Merged PR 165886: Bug 1475922 - Updated swagger docs with recent work…
lnowotny May 27, 2021
1a89269
Merged PR 169224: Move values field under properties
brian-poteet-ni Jun 8, 2021
a6b5135
Merged PR 170365: Fix description in nifile.yml
Jun 9, 2021
ab7f895
Merged PR 172517: Increase delete-files operation version
Jun 15, 2021
a49541f
Add example on how to filter systems by DateTime values inside dictio…
ArinLucaNI Jun 22, 2021
8f9fa57
Merged PR 178881: Updated swagger doc for asset summary route
vdeac Jun 30, 2021
fbe0a1e
Merged PR 179041: [BuildingFinals] Pull systemlink-openapi-documents …
vladbaja Jun 30, 2021
39c82d6
Merged PR 179689: Use valid query-steps filter in swagger example
mollykreis Jul 12, 2021
14c1ea5
Merged PR 186899: Updated yml with SupportsSelfTest and SupportsReset
tludusan Jul 26, 2021
4afea20
Merged PR 186908: Update link for Dynamic LINQ
chotea Jul 26, 2021
ace1daa
Merged PR 188023: Fix build that auto-generates python clients from s…
andzn Jul 27, 2021
43a763e
Merged PR 188055: Fix YAML format
Jul 27, 2021
5348eac
Merged PR 194959: Make corrections to test monitor swagger documentation
siddhukrs Aug 16, 2021
d29f6c9
Merged PR 195386: Revert PR 194959: Changes I made to the swagger doc…
siddhukrs Aug 17, 2021
8423020
Merged PR 195476: Attempt #2: Make corrections to TestMonitor's swagg…
siddhukrs Aug 20, 2021
bd306a0
Merged PR 200198: Fix docs
haworthia Aug 30, 2021
792fe2c
Merged PR 207128: Add lastUpdatedTimestamp field to file model
codrutagherman Sep 17, 2021
08ab170
Merged PR 208425: Update TestMonitor API docs to add required tags fo…
adamarnesen Sep 17, 2021
a1373b3
Merged PR 216118: Pull systemlink-openapi-documents from GitHub
brian-poteet-ni Oct 5, 2021
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
8 changes: 8 additions & 0 deletions asset-managment/niapm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,14 @@ definitions:
items:
type: string
example: '608a5684800e325b48837c2a'
supportsSelfTest:
description: Whether the asset supports self-test.
type: boolean
example: true
supportsReset:
description: Whether the asset supports reset.
type: boolean
example: true
AssetCreateModel:
title: Asset Create Model
description: >-
Expand Down
3 changes: 3 additions & 0 deletions auth/niauth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ securityDefinitions:
type: apiKey
name: x-ni-api-key
in: header
BasicAuth:
type: basic
security:
- ApiKeyAuth: []
- BasicAuth: []
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we will no longer support basic auth

paths:
/auth:
get:
Expand Down
6 changes: 6 additions & 0 deletions file/nifile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ definitions:
description: The workspace the file belongs to
type: string
example: MyWorkspace
lastUpdatedTimestamp:
description: The date and time the file was last updated in the file service
type: string
format: date-time
example: '2018-05-15T18:54:27.519Z'
ServiceGroup:
type: object
properties:
Expand Down Expand Up @@ -571,6 +576,7 @@ paths:
- created
- id
- size
- lastUpdatedTimestamp
- in: query
name: orderByDescending
description: >-
Expand Down
11 changes: 9 additions & 2 deletions systems-management/nisysmgmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1122,6 +1122,13 @@ definitions:
type: string
description: The ID of the workspace.
example: '5bc5e9092a4fa4c71cfa7197'
properties:
type: object
description: The new properties (key-value pairs).
additionalProperties:
type: string
example:
owner: admin

QueryAvailablePackagesRequest:
title: Get Available Packages Request
Expand Down Expand Up @@ -1435,7 +1442,7 @@ definitions:
$ref: '#/definitions/Operation'

QuerySystemsRequest:
description: Request for querying resources. More info here -> https://github.com/StefH/System.Linq.Dynamic.Core/wiki/Dynamic-Expressions and https://stefh.github.io/System.Linq.Dynamic.Core/html/144078bd-d1ad-bece-4daa-7fdd3a7ed7dc.htm
description: Request for querying systems resources. Dynamic LINQ is used for query syntax. More info can be found at https://dynamic-linq.net
title: Query Systems Request
properties:
skip:
Expand Down Expand Up @@ -1551,7 +1558,7 @@ definitions:
description: The order in which data returns.

QueryJobsRequest:
description: Request for querying jobs resources. More info here -> https://github.com/StefH/System.Linq.Dynamic.Core/wiki/Dynamic-Expressions and https://stefh.github.io/System.Linq.Dynamic.Core/html/144078bd-d1ad-bece-4daa-7fdd3a7ed7dc.htm
description: Request for querying jobs resources. Dynamic LINQ is used for query syntax. More info can be found at https://dynamic-linq.net
title: Query Jobs Request
properties:
skip:
Expand Down
25 changes: 21 additions & 4 deletions test-monitor/nitestmonitor-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ definitions:
TestResultRequestObject:
title: Test Result Request
type: object
required: [programName, status]
properties:
programName:
description: Program name
Expand Down Expand Up @@ -738,6 +739,9 @@ definitions:
myMeasurement: {}
ProductsAdvancedQuery:
title: Advanced Query Object for Products
description: >-
Product fields that the response can be ordered by are
`ID`, `PART_NUMBER`, `NAME`, `FAMILY`, and `UPDATED_AT`.
type: object
properties:
filter:
Expand Down Expand Up @@ -798,6 +802,9 @@ definitions:
example: false
PathsAdvancedQuery:
title: Advanced Query Object for Paths
description: >-
Path fields that the response can be ordered by are
`ID`, `PROGRAM_NAME`, `PART_NUMBER`, and `PATH`.
type: object
properties:
filter:
Expand Down Expand Up @@ -858,6 +865,11 @@ definitions:
example: false
ResultsAdvancedQuery:
title: Advanced Query Object for Test Results
description: >-
Test Result fields that the response can be ordered by are
`ID`, `STARTED_AT`, `UPDATED_AT`, `PROGRAM_NAME`, `SYSTEM_ID`,
`HOST_NAME`, `OPERATOR`, `SERIAL_NUMBER`, `PART_NUMBER`,
and `TOTAL_TIME_IN_SECONDS`.
type: object
properties:
filter:
Expand Down Expand Up @@ -936,12 +948,17 @@ definitions:
$ref: '#/definitions/ResponseFormat'
StepsAdvancedQuery:
title: Advanced Query Object for Test Steps
description: >-
Test Step fields that the response can be ordered by are
`NAME`, `STEP_TYPE`, `STEP_ID`, `PARENT_ID`, `RESULT_ID`,
`PATH`, `TOTAL_TIME_IN_SECONDS`, `STARTED_AT`, `UPDATED_AT`,
and `DATA_MODEL`.
type: object
properties:
filter:
description: The step query filter in Dynamic Linq
type: string
example: (operator == "user1") || ((programName != "MyProgram") && (totalTimeInSeconds < @0))
example: (stepType == "NumericLimitTest") && (totalTimeInSeconds > @0)
substitutions:
description: >-
Makes substitutions in the query filter expression. Substitutions for the query expression
Expand Down Expand Up @@ -2077,7 +2094,7 @@ paths:
Queries known values for an indexed, scalar result field. Supported
fields are `ID`, `STARTED_AT`, `UPDATED_AT`, `PROGRAM_NAME`,
`SYSTEM_ID`, `HOST_NAME`, `OPERATOR`, `SERIAL_NUMBER`, `PART_NUMBER`,
`TOTAL_TIME_IN_SECONDS`, and `WORKSPACE`.
and `TOTAL_TIME_IN_SECONDS`.
operationId: query-result-values-v2
x-ni-operation: queryResults
x-ni-auth: true
Expand Down Expand Up @@ -2311,8 +2328,8 @@ paths:
description: >-
Queries known values for an indexed, scalar step field. Supported
fields are `NAME`, `STEP_TYPE`, `STEP_ID`, `PARENT_ID`, `RESULT_ID`,
`PATH`, `TOTAL_TIME_IN_SECONDS`, `STARTED_AT`, `UPDATED_AT`,
`DATA_MODEL`, and `WORKSPACE`.
`PATH`, `TOTAL_TIME_IN_SECONDS`, `STARTED_AT`, `UPDATED_AT`, and
`DATA_MODEL`.
operationId: query-step-values-v2
x-ni-operation: querySteps
x-ni-auth: true
Expand Down
3 changes: 3 additions & 0 deletions user/niuser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ securityDefinitions:
type: apiKey
name: x-ni-api-key
in: header
BasicAuth:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here: BasicAuth is not supported

type: basic
security:
- ApiKeyAuth: []
- BasicAuth: []
paths:
'/users/query':
post:
Expand Down
3 changes: 3 additions & 0 deletions webapp/niapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ securityDefinitions:
type: apiKey
name: x-ni-api-key
in: header
BasicAuth:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't look right. no new APIs support BasicAuth

type: basic
security:
- ApiKeyAuth: []
- BasicAuth: []
paths:
'/webapps/{id}':
get:
Expand Down