-
Notifications
You must be signed in to change notification settings - Fork 1
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
Atnaujinta pagal LDES pakeitimus #24
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
type: object | ||
description: A tree:GreaterThanOrEqualToRelation element | ||
properties: | ||
path: | ||
type: string | ||
format: sosa:resultTime | ||
node: | ||
type: string | ||
description: A tree:node string that provides a query string to be used to retrieve this page (Node) | ||
value: | ||
type: string | ||
format: xsd:dateTime |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
type: string | ||
description: | | ||
A tree:view element represented as a string that provides a query string was used to retrieve this page (Node) in the result tree. <?page=1> is used for first (default) node of the tree | ||
properties: | ||
_node: | ||
type: object | ||
description: A tree:Node object representing this nodes relations to other nodes in the tree | ||
properties: | ||
relation: | ||
type: array | ||
description: A tree:relation element | ||
items: | ||
$ref: ./_relation.yaml |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,23 @@ | ||
type: object | ||
description: | | ||
A tree:member element that represents an immutable instance of an object | ||
|
||
This is usualy a version of an object within the data. Changes to the object result in new versions of this object to be created and added to the tree. | ||
|
||
Latest version of the object can be determined by _issued date | ||
properties: | ||
_cid: | ||
type: integer | ||
examples: | ||
- 11 | ||
_id: | ||
type: string | ||
description: UUID of the object instance | ||
format: uuidv4 | ||
examples: | ||
- abdd1245-bbf9-4085-9366-f11c0f737c1d | ||
_rev: | ||
type: string | ||
format: uuidv4 | ||
examples: | ||
- 16dabe62-61e9-4549-a6bd-07cecfbc3508 | ||
_txn: | ||
type: string | ||
examples: | ||
- 792a5029-63c9-4c07-995c-cbc063aaac2c | ||
_created: | ||
- "abdd1245-bbf9-4085-9366-f11c0f737c1d" | ||
_issued: | ||
type: string | ||
format: datetime | ||
format: xsd:dateTime | ||
examples: | ||
- '2021-07-30T14:03:14.645198' | ||
_op: | ||
type: string | ||
enum: | ||
- insert | ||
- patch | ||
- delete | ||
_objectType: | ||
- "2021-07-30T14:03:14.645198Z" | ||
_isVersionOf: | ||
type: string | ||
examples: | ||
- Continent | ||
_value: | ||
type: string | ||
examples: | ||
- Europe | ||
additionalProperties: false | ||
description: An element that this member is a version of | ||
additionalProperties: false |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
type: object | ||
description: | | ||
Changes are presented back as a [LDES](https://semiceu.github.io/LinkedDataEventStreams/) Event Stream. | ||
|
||
Changes is an ```ldes:EventStream``` object | ||
properties: | ||
_type: | ||
$ref: ./_type.yaml | ||
_data: | ||
_shape: | ||
type: string | ||
description: A tree:shape element represented as a string that provides a relative path to the corresponding {name}.schacl shape document. | ||
_member: | ||
type: array | ||
description: A collection of one or many tree:member elements | ||
items: | ||
$ref: ./change.yaml | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Klausimas ar mums tikrai reikia atskiro Nes dabar API gausis per daug fragmentuotas: event streem -> members -> change. Reika labai daug užklausų, kad gauti duomenis. |
||
_view: | ||
$ref: ./_view.yaml | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Siūlau palikti, dabartinį |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,7 +73,7 @@ paths: | |
$ref: paths/wipe.yaml | ||
/{group}/{form}/{org}/{catalog}/{dataset}/{version}/{model}/{id}/{property}: | ||
$ref: paths/property.yaml | ||
/{group}/{form}/{org}/{catalog}/{dataset}/{version}/{model}/:changes/{cid}: | ||
/{group}/{form}/{org}/{catalog}/{dataset}/{version}/{model}/:changes: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Jei panaikiname puslapiavimą, pagal keitimo id, klausimas, kaip gausime sekantį puslaptį? |
||
$ref: paths/changes.yaml | ||
/services/{form}/{org}/{catalog}/{dataset}/{version}/{service}: | ||
$ref: paths/service.yaml | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UDTS yra JSON REST API, klausimas iš kur gausime SHACL?