Skip to content

Add LastUpdated support for Tags API #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
6 changes: 6 additions & 0 deletions tag/nitag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1663,6 +1663,7 @@ definitions:
path: foo
type: DOUBLE
keywords: [fooKeyword, barKeyword]
last_updated: 1696579890
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be camelCase and ISO-formatted?

Suggested change
last_updated: 1696579890
lastUpdated: '2023-10-06T11:45:08Z'

current:
value:
type: DOUBLE
Expand Down Expand Up @@ -2015,6 +2016,10 @@ definitions:
type: boolean
workspace:
type: string
lastUpdated:
description: Timestamp associated with the value.
type: string
format: date-time
example:
type: DOUBLE
properties:
Expand All @@ -2024,6 +2029,7 @@ definitions:
keywords: [fooKeyword, barKeyword]
collectAggregates: true
workspace: "10e020d7-64df-45e9-b717-c537f374ca2f"
lastUpdated: '2023-10-06T11:45:08Z'
TagUpdate:
description: Object containing a tag's path, and one or more values to update the tag with at times you specify.
type: object
Expand Down