Skip to content

Commit 0076a02

Browse files
lewismcrenato2099
andauthored
ISSUE-238 Scenarios for the acquisition of data files and file versioning (#265)
* ISSUE-238 Scenarios for the acquisition of data files and file versioning --------- Co-authored-by: Renato Marroquin <marenato@inf.ethz.ch>
1 parent 2fd85f6 commit 0076a02

File tree

9 files changed

+546
-2033
lines changed

9 files changed

+546
-2033
lines changed

openapi.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,10 @@ components:
373373
description: Information for a given tag
374374
example:
375375
tag:
376-
- date_time: '2022-04-01T04:58:21.319061+00:00'
376+
- dataset_id: 1
377+
date_time: '2022-04-01T04:58:21.319061+00:00'
377378
filename: 'eTUFF-sailfish-117259_2.txt'
379+
hash_sha256: 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b977'
378380
metadata:
379381
person_owner: John Do
380382
owner_contect: john@do.net
@@ -385,8 +387,10 @@ components:
385387
submission_id: 5
386388
tag_id: 3
387389
version: '1'
388-
- date_time: '2022-06-01T05:39:46.896088+00:00'
390+
- dataset_id: 1
391+
date_time: '2022-06-01T05:39:46.896088+00:00'
389392
filename: 'eTUFF-sailfish-117259_2.txt'
393+
hash_sha256: 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
390394
metadata:
391395
person_owner: Jane Do
392396
owner_contect: jane@do.net
@@ -437,6 +441,10 @@ components:
437441
TagSubmission:
438442
type: object
439443
properties:
444+
dataset_id:
445+
description: The primary key from the Dataset relation
446+
example: 1
447+
type: integer
440448
date_time:
441449
description: Local datetime stamp at the time of eTUFF tag data file ingestion
442450
example: '2022-04-01T04:58:21.319061+00:00'
@@ -445,6 +453,10 @@ components:
445453
type: string
446454
filename:
447455
$ref: '#/components/schemas/filename'
456+
hash_sha256:
457+
description: SHA256 hash representing the contents of the submission eTUFF file
458+
example: 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
459+
type: string
448460
metadata:
449461
$ref: '#/components/schemas/Metadata'
450462
notes:

0 commit comments

Comments
 (0)