From 831d505062c9ceed00cb4c9f356f98ec681b03ba Mon Sep 17 00:00:00 2001 From: Abby Gavin <146940380+AbbyGavin@users.noreply.github.com> Date: Tue, 25 Aug 2026 13:21:52 +0100 Subject: [PATCH 1/9] Added activity metrics to json --- app/serializers/contributed_resource_serializer.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/serializers/contributed_resource_serializer.rb b/app/serializers/contributed_resource_serializer.rb index 55665ffd96..c3d96fbbb8 100644 --- a/app/serializers/contributed_resource_serializer.rb +++ b/app/serializers/contributed_resource_serializer.rb @@ -104,10 +104,17 @@ def get_version end end + def _meta + meta = super + meta[:view_count] = object.view_count + meta[:run_count] = object.run_count if object.respond_to?(:can_run?) && object.can_run? + meta[:download_count] = object.download_count if object.respond_to?(:contains_downloadable_items?) && object.contains_downloadable_items? + meta + end + private def version_number (@scope.try(:[], :requested_version) || object)&.version end - end From fb6913a4bfadf6a8fabf09e242a674d83fe7f045 Mon Sep 17 00:00:00 2001 From: Abby Gavin <146940380+AbbyGavin@users.noreply.github.com> Date: Tue, 25 Aug 2026 14:22:06 +0100 Subject: [PATCH 2/9] Added test for workflows including relevant activity data --- test/functional/workflows_controller_test.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/functional/workflows_controller_test.rb b/test/functional/workflows_controller_test.rb index 6b4173b51f..7cb66b3ca7 100644 --- a/test/functional/workflows_controller_test.rb +++ b/test/functional/workflows_controller_test.rb @@ -1411,6 +1411,18 @@ def bad_generator.write_graph(struct) assert_equal Seek::BioSchema::Serializer.new(workflow.latest_version).json_representation, json end + test 'json of workflow contains activity data' do + workflow = FactoryBot.create(:public_workflow) + + get :show, params: { id: workflow.id, format: :json } + json = JSON.parse(response.body) + refute_nil json['data'] + refute_nil json['data']['meta'] + assert_equal 0, json['data']['meta']['view_count'] + assert_equal 0, json['data']['meta']['download_count'] + assert_nil json['data']['meta']['run_count'] + end + test 'license should be overwritable by project default if not present' do post :create_from_ro_crate, params: { ro_crate: { data: fixture_file_upload('workflows/1-PreProcessing.crate.zip', 'application/zip') } From 6fe9c5d514d623ea3fc61376e3dea82323a2cb71 Mon Sep 17 00:00:00 2001 From: Abby Gavin <146940380+AbbyGavin@users.noreply.github.com> Date: Wed, 26 Aug 2026 10:16:33 +0100 Subject: [PATCH 3/9] Grouping into metrics --- app/serializers/contributed_resource_serializer.rb | 7 ++++--- test/functional/workflows_controller_test.rb | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/serializers/contributed_resource_serializer.rb b/app/serializers/contributed_resource_serializer.rb index c3d96fbbb8..7a971caeb4 100644 --- a/app/serializers/contributed_resource_serializer.rb +++ b/app/serializers/contributed_resource_serializer.rb @@ -106,9 +106,10 @@ def get_version def _meta meta = super - meta[:view_count] = object.view_count - meta[:run_count] = object.run_count if object.respond_to?(:can_run?) && object.can_run? - meta[:download_count] = object.download_count if object.respond_to?(:contains_downloadable_items?) && object.contains_downloadable_items? + meta[:metrics] ||= {} + meta[:metrics][:view_count] = object.view_count + meta[:metrics][:run_count] = object.run_count if object.respond_to?(:can_run?) && object.can_run? + meta[:metrics][:download_count] = object.download_count if object.respond_to?(:contains_downloadable_items?) && object.contains_downloadable_items? meta end diff --git a/test/functional/workflows_controller_test.rb b/test/functional/workflows_controller_test.rb index 7cb66b3ca7..087bc96247 100644 --- a/test/functional/workflows_controller_test.rb +++ b/test/functional/workflows_controller_test.rb @@ -1418,9 +1418,10 @@ def bad_generator.write_graph(struct) json = JSON.parse(response.body) refute_nil json['data'] refute_nil json['data']['meta'] - assert_equal 0, json['data']['meta']['view_count'] - assert_equal 0, json['data']['meta']['download_count'] - assert_nil json['data']['meta']['run_count'] + refute_nil json['data']['meta']['metrics'] + assert_equal 0, json['data']['meta']['metrics']['view_count'] + assert_equal 0, json['data']['meta']['metrics']['download_count'] + assert_nil json['data']['meta']['metrics']['run_count'] end test 'license should be overwritable by project default if not present' do From d10b03a22a3a5fe4c61a913bc799d144c04577f2 Mon Sep 17 00:00:00 2001 From: Abby Gavin <146940380+AbbyGavin@users.noreply.github.com> Date: Wed, 26 Aug 2026 10:18:41 +0100 Subject: [PATCH 4/9] Added test for runnable workflow --- test/functional/workflows_controller_test.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test/functional/workflows_controller_test.rb b/test/functional/workflows_controller_test.rb index 087bc96247..d64ebff62c 100644 --- a/test/functional/workflows_controller_test.rb +++ b/test/functional/workflows_controller_test.rb @@ -1424,6 +1424,19 @@ def bad_generator.write_graph(struct) assert_nil json['data']['meta']['metrics']['run_count'] end + test 'json of workflow contains activity data of runnable workflow' do + workflow = FactoryBot.create(:existing_galaxy_ro_crate_workflow, policy: FactoryBot.create(:public_policy)) + + get :show, params: { id: workflow.id, format: :json } + json = JSON.parse(response.body) + refute_nil json['data'] + refute_nil json['data']['meta'] + refute_nil json['data']['meta']['metrics'] + assert_equal 0, json['data']['meta']['metrics']['view_count'] + assert_equal 0, json['data']['meta']['metrics']['download_count'] + assert_equal 0, json['data']['meta']['metrics']['run_count'] + end + test 'license should be overwritable by project default if not present' do post :create_from_ro_crate, params: { ro_crate: { data: fixture_file_upload('workflows/1-PreProcessing.crate.zip', 'application/zip') } From d8768fa4933b641990969355487ad26b12b49897 Mon Sep 17 00:00:00 2001 From: Abby Gavin <146940380+AbbyGavin@users.noreply.github.com> Date: Wed, 26 Aug 2026 10:37:55 +0100 Subject: [PATCH 5/9] Added metrics object to schema --- public/api/definitions/_schemas.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/public/api/definitions/_schemas.yml b/public/api/definitions/_schemas.yml index b1d4380c8f..50922ff9f0 100644 --- a/public/api/definitions/_schemas.yml +++ b/public/api/definitions/_schemas.yml @@ -335,6 +335,8 @@ meta: $ref: "#/components/schemas/dateTimeString" uuid: $ref: "#/components/schemas/nonEmptyString" + metrics: + $ref: '#/components/schemas/metrics' required: - created - modified @@ -342,6 +344,15 @@ meta: - base_url - api_version additionalProperties: false +metrics: + type: object + properties: + view_count: + $ref: "#/components/schemas/nullableInteger" + download_count: + $ref: "#/components/schemas/nullableInteger" + run_count: + $ref: "#/components/schemas/nullableInteger" collectionItemMeta: type: object properties: From 67a56905de202c320cd41be7229ba7f8dc9b6cf8 Mon Sep 17 00:00:00 2001 From: Abby Gavin <146940380+AbbyGavin@users.noreply.github.com> Date: Thu, 27 Aug 2026 11:10:20 +0100 Subject: [PATCH 6/9] Updating examples --- public/api/examples/assayPatch.json | 22 +- public/api/examples/assayPatchResponse.json | 68 +++--- public/api/examples/assayPost.json | 18 +- public/api/examples/assayPostResponse.json | 62 +++--- public/api/examples/assayResponse.json | 62 +++--- public/api/examples/assaysResponse.json | 4 +- public/api/examples/collectionItemPatch.json | 4 +- .../examples/collectionItemPatchResponse.json | 12 +- public/api/examples/collectionItemPost.json | 2 +- .../examples/collectionItemPostResponse.json | 12 +- .../api/examples/collectionItemResponse.json | 12 +- .../api/examples/collectionItemsResponse.json | 6 +- public/api/examples/collectionPatch.json | 8 +- .../api/examples/collectionPatchResponse.json | 49 ++--- public/api/examples/collectionPost.json | 6 +- .../api/examples/collectionPostResponse.json | 49 ++--- public/api/examples/collectionResponse.json | 119 +++++------ public/api/examples/collectionsResponse.json | 8 +- public/api/examples/contentBlobResponse.json | 14 +- public/api/examples/dataFilePatch.json | 16 +- .../api/examples/dataFilePatchResponse.json | 56 ++--- public/api/examples/dataFilePost.json | 14 +- public/api/examples/dataFilePostResponse.json | 56 ++--- public/api/examples/dataFileResponse.json | 52 ++--- public/api/examples/dataFilesResponse.json | 4 +- public/api/examples/documentPatch.json | 14 +- .../api/examples/documentPatchResponse.json | 64 +++--- public/api/examples/documentPost.json | 12 +- public/api/examples/documentPostResponse.json | 58 ++--- public/api/examples/documentResponse.json | 52 ++--- public/api/examples/documentsResponse.json | 8 +- public/api/examples/eventPatch.json | 12 +- public/api/examples/eventPatchResponse.json | 22 +- public/api/examples/eventPost.json | 10 +- public/api/examples/eventPostResponse.json | 22 +- public/api/examples/eventResponse.json | 24 +-- public/api/examples/eventsResponse.json | 4 +- .../extendedMetadataTypeResponse.json | 30 +-- .../extendedMetadataTypesResponse.json | 8 +- public/api/examples/fileTemplatePatch.json | 8 +- .../examples/fileTemplatePatchResponse.json | 58 +++-- public/api/examples/fileTemplatePost.json | 6 +- .../examples/fileTemplatePostResponse.json | 52 +++-- public/api/examples/fileTemplateResponse.json | 48 ++--- .../api/examples/fileTemplatesResponse.json | 8 +- public/api/examples/humanDiseaseResponse.json | 24 +-- public/api/examples/institutionPatch.json | 2 +- .../examples/institutionPatchResponse.json | 22 +- .../api/examples/institutionPostResponse.json | 22 +- public/api/examples/institutionResponse.json | 20 +- public/api/examples/institutionsResponse.json | 14 +- public/api/examples/investigationPatch.json | 14 +- .../examples/investigationPatchResponse.json | 64 +++--- public/api/examples/investigationPost.json | 12 +- .../examples/investigationPostResponse.json | 64 +++--- .../api/examples/investigationResponse.json | 46 ++-- .../api/examples/investigationsResponse.json | 10 +- public/api/examples/isaTagResponse.json | 4 +- public/api/examples/modelPatch.json | 16 +- public/api/examples/modelPatchResponse.json | 55 ++--- public/api/examples/modelPost.json | 12 +- public/api/examples/modelPostResponse.json | 54 ++--- public/api/examples/modelResponse.json | 53 ++--- public/api/examples/modelsResponse.json | 4 +- public/api/examples/observationUnitPatch.json | 14 +- .../observationUnitPatchResponse.json | 45 ++-- public/api/examples/observationUnitPost.json | 12 +- .../examples/observationUnitPostResponse.json | 45 ++-- .../api/examples/observationUnitResponse.json | 55 +++-- .../examples/observationUnitsResponse.json | 8 +- public/api/examples/organismResponse.json | 16 +- public/api/examples/organismsResponse.json | 8 +- public/api/examples/peopleResponse.json | 36 ++-- public/api/examples/personPatch.json | 2 +- public/api/examples/personPatchResponse.json | 64 ++---- public/api/examples/personPost.json | 4 +- public/api/examples/personPostResponse.json | 72 ++----- public/api/examples/personResponse.json | 40 ++-- public/api/examples/presentationPatch.json | 14 +- .../examples/presentationPatchResponse.json | 66 +++--- public/api/examples/presentationPost.json | 12 +- .../examples/presentationPostResponse.json | 62 +++--- public/api/examples/presentationResponse.json | 52 ++--- .../api/examples/presentationsResponse.json | 4 +- public/api/examples/programmePatch.json | 8 +- .../api/examples/programmePatchResponse.json | 72 ++----- public/api/examples/programmePost.json | 6 +- .../api/examples/programmePostResponse.json | 76 +++---- public/api/examples/programmeResponse.json | 46 ++-- public/api/examples/programmesResponse.json | 14 +- public/api/examples/projectPatch.json | 14 +- public/api/examples/projectPatchResponse.json | 114 +++------- public/api/examples/projectPost.json | 12 +- public/api/examples/projectPostResponse.json | 114 +++------- public/api/examples/projectResponse.json | 86 +++----- public/api/examples/projectsResponse.json | 200 +++++++++--------- public/api/examples/publicationResponse.json | 66 +++--- public/api/examples/publicationsResponse.json | 8 +- .../examples/sampleControlledVocabPatch.json | 4 +- .../sampleControlledVocabPatchResponse.json | 12 +- .../sampleControlledVocabPostResponse.json | 12 +- public/api/examples/samplePatch.json | 8 +- public/api/examples/samplePatchResponse.json | 67 +++--- public/api/examples/samplePost.json | 8 +- public/api/examples/samplePostResponse.json | 51 +++-- public/api/examples/sampleResponse.json | 63 +++--- public/api/examples/sampleTypePatch.json | 14 +- .../api/examples/sampleTypePatchResponse.json | 38 ++-- public/api/examples/sampleTypePost.json | 6 +- .../api/examples/sampleTypePostResponse.json | 38 ++-- public/api/examples/sampleTypeResponse.json | 84 ++++---- public/api/examples/sampleTypesResponse.json | 4 +- public/api/examples/sopPatch.json | 12 +- public/api/examples/sopPatchResponse.json | 60 +++--- public/api/examples/sopPost.json | 10 +- public/api/examples/sopPostResponse.json | 56 ++--- public/api/examples/sopResponse.json | 50 ++--- public/api/examples/sopsResponse.json | 8 +- public/api/examples/studiesResponse.json | 6 +- public/api/examples/studyPatch.json | 12 +- public/api/examples/studyPatchResponse.json | 60 ++---- public/api/examples/studyPost.json | 10 +- public/api/examples/studyPostResponse.json | 60 ++---- public/api/examples/studyResponse.json | 48 ++--- public/api/examples/workflowPatch.json | 20 +- .../api/examples/workflowPatchResponse.json | 63 +++--- public/api/examples/workflowPost.json | 18 +- public/api/examples/workflowPostResponse.json | 63 +++--- public/api/examples/workflowResponse.json | 67 +++--- public/api/examples/workflowsResponse.json | 4 +- 130 files changed, 1930 insertions(+), 2340 deletions(-) diff --git a/public/api/examples/assayPatch.json b/public/api/examples/assayPatch.json index b05f18a39e..b455560b80 100644 --- a/public/api/examples/assayPatch.json +++ b/public/api/examples/assayPatch.json @@ -1,7 +1,7 @@ { "data": { "type": "assays", - "id": "1035386775", + "id": "1035387536", "attributes": { "title": "A Maximal Assay", "assay_class": { @@ -20,28 +20,26 @@ "permissions": [ { "resource": { - "id": "1022251326", + "id": "1022266447", "type": "projects" }, "access": "manage" } ] }, - "tags": [ - - ] + "tags": [] }, "relationships": { "study": { "data": { - "id": "1060385047", + "id": "1060385861", "type": "studies" } }, "publications": { "data": [ { - "id": "93", + "id": "356", "type": "publications" } ] @@ -49,7 +47,7 @@ "organisms": { "data": [ { - "id": "627234330", + "id": "627234477", "type": "organisms" } ] @@ -57,7 +55,7 @@ "sops": { "data": [ { - "id": "1055250474", + "id": "1055250955", "type": "sops" } ] @@ -65,7 +63,7 @@ "data_files": { "data": [ { - "id": "883654344", + "id": "1055250879", "type": "data_files" } ] @@ -73,7 +71,7 @@ "documents": { "data": [ { - "id": "35", + "id": "537", "type": "documents" } ] @@ -81,7 +79,7 @@ "creators": { "data": [ { - "id": "1039987255", + "id": "1040002373", "type": "people" } ] diff --git a/public/api/examples/assayPatchResponse.json b/public/api/examples/assayPatchResponse.json index eeec2d554e..4c74f161da 100644 --- a/public/api/examples/assayPatchResponse.json +++ b/public/api/examples/assayPatchResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "1035386775", + "id": "1035387536", "type": "assays", "attributes": { "policy": { @@ -8,19 +8,15 @@ "permissions": [ { "resource": { - "id": "1022251326", + "id": "1022266447", "type": "projects" }, "access": "manage" } ] }, - "discussion_links": [ - - ], - "snapshots": [ - - ], + "discussion_links": [], + "snapshots": [], "title": "A Maximal Assay", "description": "A Western Blot Assay", "other_creators": "Anonymous creator", @@ -38,15 +34,13 @@ "label": "Rna-seq", "uri": "http://jermontology.org/ontology/JERMOntology#RNA-Seq" }, - "tags": [ - - ], + "tags": [], "creators": [ { - "profile": "/people/1039987255", + "profile": "/people/1040002373", "family_name": "Last", - "given_name": "Person679", - "affiliation": "An Institution: 787", + "given_name": "Person2762", + "affiliation": "An Institution: 3206", "orcid": null } ] @@ -55,7 +49,7 @@ "creators": { "data": [ { - "id": "1039987255", + "id": "1040002373", "type": "people" } ] @@ -63,7 +57,7 @@ "submitter": { "data": [ { - "id": "1039987255", + "id": "1040002373", "type": "people" } ] @@ -71,20 +65,18 @@ "organisms": { "data": [ { - "id": "627234330", + "id": "627234477", "type": "organisms" } ] }, "human_diseases": { - "data": [ - - ] + "data": [] }, "people": { "data": [ { - "id": "1039987255", + "id": "1040002373", "type": "people" } ] @@ -92,45 +84,41 @@ "projects": { "data": [ { - "id": "1022251326", + "id": "1022266447", "type": "projects" } ] }, "investigation": { "data": { - "id": "973655011", + "id": "973656015", "type": "investigations" } }, "study": { "data": { - "id": "1060385047", + "id": "1060385861", "type": "studies" } }, "data_files": { "data": [ { - "id": "883654344", + "id": "1055250879", "type": "data_files" } ] }, "samples": { - "data": [ - - ] + "data": [] }, "models": { - "data": [ - - ] + "data": [] }, "sops": { "data": [ { - "id": "1055250474", + "id": "1055250955", "type": "sops" } ] @@ -138,34 +126,32 @@ "publications": { "data": [ { - "id": "93", + "id": "356", "type": "publications" } ] }, "placeholders": { - "data": [ - - ] + "data": [] }, "documents": { "data": [ { - "id": "35", + "id": "537", "type": "documents" } ] } }, "links": { - "self": "/assays/1035386775" + "self": "/assays/1035387536" }, "meta": { - "created": "2026-06-16T14:23:10.458Z", - "modified": "2026-06-16T14:23:11.382Z", + "created": "2026-08-27T08:44:34.849Z", + "modified": "2026-08-27T08:44:35.934Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "eb1d9c96-da66-4b61-b50a-413e9370c228" + "uuid": "8765e72a-0f66-46e8-9c68-f56db9ad05f5" } }, "jsonapi": { diff --git a/public/api/examples/assayPost.json b/public/api/examples/assayPost.json index 3d3aacbbd7..5274cf8fbf 100644 --- a/public/api/examples/assayPost.json +++ b/public/api/examples/assayPost.json @@ -19,7 +19,7 @@ "permissions": [ { "resource": { - "id": "1022251266", + "id": "1022266387", "type": "projects" }, "access": "manage" @@ -33,14 +33,14 @@ "relationships": { "study": { "data": { - "id": "1060385028", + "id": "1060385842", "type": "studies" } }, "publications": { "data": [ { - "id": "88", + "id": "351", "type": "publications" } ] @@ -48,7 +48,7 @@ "organisms": { "data": [ { - "id": "627234325", + "id": "627234472", "type": "organisms" } ] @@ -56,7 +56,7 @@ "sops": { "data": [ { - "id": "1055250469", + "id": "1055250950", "type": "sops" } ] @@ -64,7 +64,7 @@ "data_files": { "data": [ { - "id": "883654339", + "id": "1055250874", "type": "data_files" } ] @@ -72,7 +72,7 @@ "samples": { "data": [ { - "id": "30", + "id": "10390", "type": "samples" } ] @@ -80,7 +80,7 @@ "documents": { "data": [ { - "id": "30", + "id": "532", "type": "documents" } ] @@ -88,7 +88,7 @@ "creators": { "data": [ { - "id": "1039987195", + "id": "1040002313", "type": "people" } ] diff --git a/public/api/examples/assayPostResponse.json b/public/api/examples/assayPostResponse.json index af6c13722b..84c99d9d3e 100644 --- a/public/api/examples/assayPostResponse.json +++ b/public/api/examples/assayPostResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "1035386759", + "id": "1035387520", "type": "assays", "attributes": { "policy": { @@ -8,19 +8,15 @@ "permissions": [ { "resource": { - "id": "1022251266", + "id": "1022266387", "type": "projects" }, "access": "manage" } ] }, - "discussion_links": [ - - ], - "snapshots": [ - - ], + "discussion_links": [], + "snapshots": [], "title": "A Maximal experimental Assay", "description": "A Western Blot Assay", "other_creators": "Anonymous creator", @@ -43,10 +39,10 @@ ], "creators": [ { - "profile": "/people/1039987195", + "profile": "/people/1040002313", "family_name": "Last", - "given_name": "Person624", - "affiliation": "An Institution: 727", + "given_name": "Person2707", + "affiliation": "An Institution: 3146", "orcid": null } ] @@ -55,7 +51,7 @@ "creators": { "data": [ { - "id": "1039987195", + "id": "1040002313", "type": "people" } ] @@ -63,7 +59,7 @@ "submitter": { "data": [ { - "id": "1039987195", + "id": "1040002313", "type": "people" } ] @@ -71,20 +67,18 @@ "organisms": { "data": [ { - "id": "627234325", + "id": "627234472", "type": "organisms" } ] }, "human_diseases": { - "data": [ - - ] + "data": [] }, "people": { "data": [ { - "id": "1039987195", + "id": "1040002313", "type": "people" } ] @@ -92,27 +86,27 @@ "projects": { "data": [ { - "id": "1022251266", + "id": "1022266387", "type": "projects" } ] }, "investigation": { "data": { - "id": "973654992", + "id": "973655996", "type": "investigations" } }, "study": { "data": { - "id": "1060385028", + "id": "1060385842", "type": "studies" } }, "data_files": { "data": [ { - "id": "883654339", + "id": "1055250874", "type": "data_files" } ] @@ -120,20 +114,18 @@ "samples": { "data": [ { - "id": "30", + "id": "10390", "type": "samples" } ] }, "models": { - "data": [ - - ] + "data": [] }, "sops": { "data": [ { - "id": "1055250469", + "id": "1055250950", "type": "sops" } ] @@ -141,34 +133,32 @@ "publications": { "data": [ { - "id": "88", + "id": "351", "type": "publications" } ] }, "placeholders": { - "data": [ - - ] + "data": [] }, "documents": { "data": [ { - "id": "30", + "id": "532", "type": "documents" } ] } }, "links": { - "self": "/assays/1035386759" + "self": "/assays/1035387520" }, "meta": { - "created": "2026-06-16T14:22:58.167Z", - "modified": "2026-06-16T14:22:58.208Z", + "created": "2026-08-27T08:44:24.595Z", + "modified": "2026-08-27T08:44:24.642Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "45436da7-5688-4c4d-a61a-87256c7e8939" + "uuid": "c67214da-05bc-4664-bca5-7058946760ad" } }, "jsonapi": { diff --git a/public/api/examples/assayResponse.json b/public/api/examples/assayResponse.json index 39aa9945dd..e7b870a4f0 100644 --- a/public/api/examples/assayResponse.json +++ b/public/api/examples/assayResponse.json @@ -1,24 +1,20 @@ { "data": { - "id": "1035386774", + "id": "1035387535", "type": "assays", "attributes": { "policy": { "access": "no_access", - "permissions": [ - - ] + "permissions": [] }, "discussion_links": [ { - "id": "19", + "id": "339", "label": "Slack", "url": "http://www.slack.com/" } ], - "snapshots": [ - - ], + "snapshots": [], "title": "A Maximal Modelling Assay", "description": "A Western Blot Assay", "other_creators": "Anonymous creator", @@ -36,12 +32,10 @@ "label": null, "uri": null }, - "tags": [ - - ], + "tags": [], "creators": [ { - "profile": "/people/1039987253", + "profile": "/people/1040002371", "family_name": "One", "given_name": "Some", "affiliation": "University of Somewhere", @@ -53,7 +47,7 @@ "creators": { "data": [ { - "id": "1039987253", + "id": "1040002371", "type": "people" } ] @@ -61,7 +55,7 @@ "submitter": { "data": [ { - "id": "1039987239", + "id": "1040002357", "type": "people" } ] @@ -69,24 +63,22 @@ "organisms": { "data": [ { - "id": "627234329", + "id": "627234476", "type": "organisms" } ] }, "human_diseases": { - "data": [ - - ] + "data": [] }, "people": { "data": [ { - "id": "1039987239", + "id": "1040002357", "type": "people" }, { - "id": "1039987253", + "id": "1040002371", "type": "people" } ] @@ -94,27 +86,27 @@ "projects": { "data": [ { - "id": "1022251310", + "id": "1022266431", "type": "projects" } ] }, "investigation": { "data": { - "id": "973655009", + "id": "973656013", "type": "investigations" } }, "study": { "data": { - "id": "1060385045", + "id": "1060385859", "type": "studies" } }, "data_files": { "data": [ { - "id": "883654343", + "id": "1055250878", "type": "data_files" } ] @@ -122,7 +114,7 @@ "samples": { "data": [ { - "id": "34", + "id": "10394", "type": "samples" } ] @@ -130,7 +122,7 @@ "models": { "data": [ { - "id": "1004285504", + "id": "1004285918", "type": "models" } ] @@ -138,7 +130,7 @@ "sops": { "data": [ { - "id": "1055250473", + "id": "1055250954", "type": "sops" } ] @@ -146,34 +138,32 @@ "publications": { "data": [ { - "id": "92", + "id": "355", "type": "publications" } ] }, "placeholders": { - "data": [ - - ] + "data": [] }, "documents": { "data": [ { - "id": "34", + "id": "536", "type": "documents" } ] } }, "links": { - "self": "/assays/1035386774" + "self": "/assays/1035387535" }, "meta": { - "created": "2026-06-16T14:23:09.482Z", - "modified": "2026-06-16T14:23:09.530Z", + "created": "2026-08-27T08:44:34.149Z", + "modified": "2026-08-27T08:44:34.205Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "eb6a9b15-8831-4319-a859-375bec1ce718" + "uuid": "67185357-de0b-4f9e-b060-05a0d966373f" } }, "jsonapi": { diff --git a/public/api/examples/assaysResponse.json b/public/api/examples/assaysResponse.json index 7b76662b54..5b9014d17d 100644 --- a/public/api/examples/assaysResponse.json +++ b/public/api/examples/assaysResponse.json @@ -1,7 +1,5 @@ { - "data": [ - - ], + "data": [], "jsonapi": { "version": "1.0" }, diff --git a/public/api/examples/collectionItemPatch.json b/public/api/examples/collectionItemPatch.json index 2e533f9822..41d72b9894 100644 --- a/public/api/examples/collectionItemPatch.json +++ b/public/api/examples/collectionItemPatch.json @@ -1,6 +1,6 @@ { "data": { - "id": "56", + "id": "76", "type": "collection_items", "attributes": { "comment": "A fine addition to the collection indeed!!!", @@ -9,7 +9,7 @@ "relationships": { "asset": { "data": { - "id": "1055250602", + "id": "1055251007", "type": "sops" } } diff --git a/public/api/examples/collectionItemPatchResponse.json b/public/api/examples/collectionItemPatchResponse.json index 55a083c0cf..12f1c23913 100644 --- a/public/api/examples/collectionItemPatchResponse.json +++ b/public/api/examples/collectionItemPatchResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "56", + "id": "76", "type": "collection_items", "attributes": { "comment": "A fine addition to the collection indeed!!!", @@ -9,13 +9,13 @@ "relationships": { "collection": { "data": { - "id": "66", + "id": "185", "type": "collections" } }, "asset": { "data": { - "id": "1055250602", + "id": "1055251007", "type": "sops" }, "meta": { @@ -24,11 +24,11 @@ } }, "links": { - "self": "/collections/66/items/56" + "self": "/collections/185/items/76" }, "meta": { - "created": "2026-06-16T14:29:33.430Z", - "modified": "2026-06-16T14:29:33.453Z", + "created": "2026-08-27T08:52:35.738Z", + "modified": "2026-08-27T08:52:35.774Z", "api_version": "0.3", "base_url": "http://localhost:3000" } diff --git a/public/api/examples/collectionItemPost.json b/public/api/examples/collectionItemPost.json index 8ea473eecc..fd97e60eb7 100644 --- a/public/api/examples/collectionItemPost.json +++ b/public/api/examples/collectionItemPost.json @@ -8,7 +8,7 @@ "relationships": { "asset": { "data": { - "id": "1055250599", + "id": "1055251004", "type": "sops" } } diff --git a/public/api/examples/collectionItemPostResponse.json b/public/api/examples/collectionItemPostResponse.json index 9a3d9b76e6..3bdd46a81d 100644 --- a/public/api/examples/collectionItemPostResponse.json +++ b/public/api/examples/collectionItemPostResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "50", + "id": "70", "type": "collection_items", "attributes": { "comment": "A fine addition to the collection indeed", @@ -9,13 +9,13 @@ "relationships": { "collection": { "data": { - "id": "60", + "id": "179", "type": "collections" } }, "asset": { "data": { - "id": "1055250599", + "id": "1055251004", "type": "sops" }, "meta": { @@ -24,11 +24,11 @@ } }, "links": { - "self": "/collections/60/items/50" + "self": "/collections/179/items/70" }, "meta": { - "created": "2026-06-16T14:29:30.462Z", - "modified": "2026-06-16T14:29:30.462Z", + "created": "2026-08-27T08:52:30.196Z", + "modified": "2026-08-27T08:52:30.196Z", "api_version": "0.3", "base_url": "http://localhost:3000" } diff --git a/public/api/examples/collectionItemResponse.json b/public/api/examples/collectionItemResponse.json index f52bbed6e0..7900841234 100644 --- a/public/api/examples/collectionItemResponse.json +++ b/public/api/examples/collectionItemResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "55", + "id": "75", "type": "collection_items", "attributes": { "comment": "A document", @@ -9,13 +9,13 @@ "relationships": { "collection": { "data": { - "id": "65", + "id": "184", "type": "collections" } }, "asset": { "data": { - "id": "171", + "id": "616", "type": "documents" }, "meta": { @@ -24,11 +24,11 @@ } }, "links": { - "self": "/collections/65/items/55" + "self": "/collections/184/items/75" }, "meta": { - "created": "2026-06-16T14:29:32.755Z", - "modified": "2026-06-16T14:29:32.755Z", + "created": "2026-08-27T08:52:34.554Z", + "modified": "2026-08-27T08:52:34.554Z", "api_version": "0.3", "base_url": "http://localhost:3000" } diff --git a/public/api/examples/collectionItemsResponse.json b/public/api/examples/collectionItemsResponse.json index 31e6368fc8..1606863772 100644 --- a/public/api/examples/collectionItemsResponse.json +++ b/public/api/examples/collectionItemsResponse.json @@ -1,12 +1,10 @@ { - "data": [ - - ], + "data": [], "jsonapi": { "version": "1.0" }, "links": { - "self": "/collections/61/items" + "self": "/collections/180/items" }, "meta": { "base_url": "http://localhost:3000", diff --git a/public/api/examples/collectionPatch.json b/public/api/examples/collectionPatch.json index 29ad3917fc..e3c848b8a7 100644 --- a/public/api/examples/collectionPatch.json +++ b/public/api/examples/collectionPatch.json @@ -1,7 +1,7 @@ { "data": { "type": "collections", - "id": "37", + "id": "119", "attributes": { "title": "A Maximally Patched Collection", "description": "A collection of very interesting things", @@ -17,7 +17,7 @@ "permissions": [ { "resource": { - "id": "1022252755", + "id": "1022263647", "type": "projects" }, "access": "edit" @@ -29,7 +29,7 @@ "creators": { "data": [ { - "id": "1039988704", + "id": "1039999598", "type": "people" } ] @@ -37,7 +37,7 @@ "projects": { "data": [ { - "id": "1022252755", + "id": "1022263647", "type": "projects" } ] diff --git a/public/api/examples/collectionPatchResponse.json b/public/api/examples/collectionPatchResponse.json index 1307448419..bb56821b55 100644 --- a/public/api/examples/collectionPatchResponse.json +++ b/public/api/examples/collectionPatchResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "37", + "id": "119", "type": "collections", "attributes": { "policy": { @@ -8,16 +8,14 @@ "permissions": [ { "resource": { - "id": "1022252755", + "id": "1022263647", "type": "projects" }, "access": "edit" } ] }, - "discussion_links": [ - - ], + "discussion_links": [], "title": "A Maximally Patched Collection", "license": "CC-BY-4.0", "description": "A collection of very interesting things", @@ -26,14 +24,14 @@ "tag2", "tag3" ], - "created_at": "2026-06-16T14:29:03.875Z", - "updated_at": "2026-06-16T14:29:04.086Z", + "created_at": "2026-08-27T08:36:30.580Z", + "updated_at": "2026-08-27T08:36:30.645Z", "creators": [ { - "profile": "/people/1039988704", + "profile": "/people/1039999598", "family_name": "Last", - "given_name": "Person1923", - "affiliation": "An Institution: 2239", + "given_name": "Person342", + "affiliation": "An Institution: 409", "orcid": null } ], @@ -43,7 +41,7 @@ "creators": { "data": [ { - "id": "1039988704", + "id": "1039999598", "type": "people" } ] @@ -51,7 +49,7 @@ "submitter": { "data": [ { - "id": "1039988702", + "id": "1039999596", "type": "people" } ] @@ -59,11 +57,11 @@ "people": { "data": [ { - "id": "1039988702", + "id": "1039999596", "type": "people" }, { - "id": "1039988704", + "id": "1039999598", "type": "people" } ] @@ -71,32 +69,31 @@ "projects": { "data": [ { - "id": "1022252755", + "id": "1022263647", "type": "projects" } ] }, "publications": { - "data": [ - - ] + "data": [] }, "items": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/collections/37", - "items": "/collections/37/items" + "self": "/collections/119", + "items": "/collections/119/items" }, "meta": { - "created": "2026-06-16T14:29:03.875Z", - "modified": "2026-06-16T14:29:04.086Z", + "created": "2026-08-27T08:36:30.580Z", + "modified": "2026-08-27T08:36:30.645Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "aeecf87f-910c-40d8-acaf-dda25b118c1f" + "uuid": "3fa8773c-335e-40a1-8ecb-619ace513a3d", + "metrics": { + "view_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/collectionPost.json b/public/api/examples/collectionPost.json index 757cba147c..b9d3a7d59a 100644 --- a/public/api/examples/collectionPost.json +++ b/public/api/examples/collectionPost.json @@ -15,7 +15,7 @@ "permissions": [ { "resource": { - "id": "1022252720", + "id": "1022263612", "type": "projects" }, "access": "edit" @@ -27,7 +27,7 @@ "creators": { "data": [ { - "id": "1039988669", + "id": "1039999563", "type": "people" } ] @@ -35,7 +35,7 @@ "projects": { "data": [ { - "id": "1022252720", + "id": "1022263612", "type": "projects" } ] diff --git a/public/api/examples/collectionPostResponse.json b/public/api/examples/collectionPostResponse.json index d9372725ac..04743d7391 100644 --- a/public/api/examples/collectionPostResponse.json +++ b/public/api/examples/collectionPostResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "31", + "id": "113", "type": "collections", "attributes": { "policy": { @@ -8,16 +8,14 @@ "permissions": [ { "resource": { - "id": "1022252720", + "id": "1022263612", "type": "projects" }, "access": "edit" } ] }, - "discussion_links": [ - - ], + "discussion_links": [], "title": "A Maximal Collection", "license": "CC-BY-4.0", "description": "This is the description", @@ -25,14 +23,14 @@ "tag1", "tag2" ], - "created_at": "2026-06-16T14:28:58.166Z", - "updated_at": "2026-06-16T14:28:58.132Z", + "created_at": "2026-08-27T08:36:23.102Z", + "updated_at": "2026-08-27T08:36:23.077Z", "creators": [ { - "profile": "/people/1039988669", + "profile": "/people/1039999563", "family_name": "Last", - "given_name": "Person1893", - "affiliation": "An Institution: 2204", + "given_name": "Person312", + "affiliation": "An Institution: 374", "orcid": null } ], @@ -42,7 +40,7 @@ "creators": { "data": [ { - "id": "1039988669", + "id": "1039999563", "type": "people" } ] @@ -50,7 +48,7 @@ "submitter": { "data": [ { - "id": "1039988667", + "id": "1039999561", "type": "people" } ] @@ -58,11 +56,11 @@ "people": { "data": [ { - "id": "1039988667", + "id": "1039999561", "type": "people" }, { - "id": "1039988669", + "id": "1039999563", "type": "people" } ] @@ -70,32 +68,31 @@ "projects": { "data": [ { - "id": "1022252720", + "id": "1022263612", "type": "projects" } ] }, "publications": { - "data": [ - - ] + "data": [] }, "items": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/collections/31", - "items": "/collections/31/items" + "self": "/collections/113", + "items": "/collections/113/items" }, "meta": { - "created": "2026-06-16T14:28:58.166Z", - "modified": "2026-06-16T14:28:58.132Z", + "created": "2026-08-27T08:36:23.102Z", + "modified": "2026-08-27T08:36:23.077Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "d08cf3b8-a9c5-4008-8013-a7f13b01feaa" + "uuid": "475e16ca-d527-45fa-b8c2-730411163a84", + "metrics": { + "view_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/collectionResponse.json b/public/api/examples/collectionResponse.json index ec811d5624..424110cc4c 100644 --- a/public/api/examples/collectionResponse.json +++ b/public/api/examples/collectionResponse.json @@ -1,17 +1,15 @@ { "data": { - "id": "36", + "id": "118", "type": "collections", "attributes": { "policy": { "access": "download", - "permissions": [ - - ] + "permissions": [] }, "discussion_links": [ { - "id": "70", + "id": "171", "label": "Slack", "url": "http://www.slack.com/" } @@ -26,11 +24,11 @@ "Collection-tag4", "Collection-tag5" ], - "created_at": "2026-06-16T14:29:02.166Z", - "updated_at": "2026-06-16T14:29:03.019Z", + "created_at": "2026-08-27T08:36:28.906Z", + "updated_at": "2026-08-27T08:36:29.888Z", "creators": [ { - "profile": "/people/1039988693", + "profile": "/people/1039999587", "family_name": "One", "given_name": "Some", "affiliation": "University of Somewhere", @@ -43,7 +41,7 @@ "creators": { "data": [ { - "id": "1039988693", + "id": "1039999587", "type": "people" } ] @@ -51,7 +49,7 @@ "submitter": { "data": [ { - "id": "1039988694", + "id": "1039999588", "type": "people" } ] @@ -59,11 +57,11 @@ "people": { "data": [ { - "id": "1039988693", + "id": "1039999587", "type": "people" }, { - "id": "1039988694", + "id": "1039999588", "type": "people" } ] @@ -71,7 +69,7 @@ "projects": { "data": [ { - "id": "1022252747", + "id": "1022263639", "type": "projects" } ] @@ -79,7 +77,7 @@ "publications": { "data": [ { - "id": "179", + "id": "187", "type": "publications" } ] @@ -87,47 +85,50 @@ "items": { "data": [ { - "id": "19", + "id": "39", "type": "collection_items" }, { - "id": "20", + "id": "40", "type": "collection_items" }, { - "id": "21", + "id": "41", "type": "collection_items" }, { - "id": "22", + "id": "42", "type": "collection_items" }, { - "id": "23", + "id": "43", "type": "collection_items" }, { - "id": "24", + "id": "44", "type": "collection_items" } ] } }, "links": { - "self": "/collections/36", - "items": "/collections/36/items" + "self": "/collections/118", + "items": "/collections/118/items" }, "meta": { - "created": "2026-06-16T14:29:02.166Z", - "modified": "2026-06-16T14:29:03.019Z", + "created": "2026-08-27T08:36:28.906Z", + "modified": "2026-08-27T08:36:29.888Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "d77c2675-5d1b-4a0f-850e-79001af5bcf9" + "uuid": "69371633-4efe-4b07-bb14-41d7cea90c89", + "metrics": { + "view_count": 0 + } } }, "included": [ { - "id": "19", + "id": "39", "type": "collection_items", "attributes": { "comment": "Readme!", @@ -136,13 +137,13 @@ "relationships": { "collection": { "data": { - "id": "36", + "id": "118", "type": "collections" } }, "asset": { "data": { - "id": "119", + "id": "388", "type": "documents" }, "meta": { @@ -151,17 +152,17 @@ } }, "links": { - "self": "/collections/36/items/19" + "self": "/collections/118/items/39" }, "meta": { - "created": "2026-06-16T14:29:02.333Z", - "modified": "2026-06-16T14:29:02.333Z", + "created": "2026-08-27T08:36:29.088Z", + "modified": "2026-08-27T08:36:29.088Z", "api_version": "0.3", "base_url": "http://localhost:3000" } }, { - "id": "20", + "id": "40", "type": "collection_items", "attributes": { "comment": "Secret info", @@ -170,23 +171,23 @@ "relationships": { "collection": { "data": { - "id": "36", + "id": "118", "type": "collections" } } }, "links": { - "self": "/collections/36/items/20" + "self": "/collections/118/items/40" }, "meta": { - "created": "2026-06-16T14:29:02.473Z", - "modified": "2026-06-16T14:29:02.473Z", + "created": "2026-08-27T08:36:29.254Z", + "modified": "2026-08-27T08:36:29.254Z", "api_version": "0.3", "base_url": "http://localhost:3000" } }, { - "id": "21", + "id": "41", "type": "collection_items", "attributes": { "comment": "The protocol", @@ -195,13 +196,13 @@ "relationships": { "collection": { "data": { - "id": "36", + "id": "118", "type": "collections" } }, "asset": { "data": { - "id": "1055250580", + "id": "1055250781", "type": "sops" }, "meta": { @@ -210,17 +211,17 @@ } }, "links": { - "self": "/collections/36/items/21" + "self": "/collections/118/items/41" }, "meta": { - "created": "2026-06-16T14:29:02.609Z", - "modified": "2026-06-16T14:29:02.609Z", + "created": "2026-08-27T08:36:29.410Z", + "modified": "2026-08-27T08:36:29.410Z", "api_version": "0.3", "base_url": "http://localhost:3000" } }, { - "id": "22", + "id": "42", "type": "collection_items", "attributes": { "comment": "Data 1", @@ -229,13 +230,13 @@ "relationships": { "collection": { "data": { - "id": "36", + "id": "118", "type": "collections" } }, "asset": { "data": { - "id": "883654486", + "id": "1055250739", "type": "data_files" }, "meta": { @@ -244,17 +245,17 @@ } }, "links": { - "self": "/collections/36/items/22" + "self": "/collections/118/items/42" }, "meta": { - "created": "2026-06-16T14:29:02.743Z", - "modified": "2026-06-16T14:29:02.743Z", + "created": "2026-08-27T08:36:29.570Z", + "modified": "2026-08-27T08:36:29.570Z", "api_version": "0.3", "base_url": "http://localhost:3000" } }, { - "id": "23", + "id": "43", "type": "collection_items", "attributes": { "comment": "Data 2", @@ -263,13 +264,13 @@ "relationships": { "collection": { "data": { - "id": "36", + "id": "118", "type": "collections" } }, "asset": { "data": { - "id": "883654487", + "id": "1055250740", "type": "data_files" }, "meta": { @@ -278,17 +279,17 @@ } }, "links": { - "self": "/collections/36/items/23" + "self": "/collections/118/items/43" }, "meta": { - "created": "2026-06-16T14:29:02.880Z", - "modified": "2026-06-16T14:29:02.880Z", + "created": "2026-08-27T08:36:29.726Z", + "modified": "2026-08-27T08:36:29.726Z", "api_version": "0.3", "base_url": "http://localhost:3000" } }, { - "id": "24", + "id": "44", "type": "collection_items", "attributes": { "comment": "Bad data", @@ -297,17 +298,17 @@ "relationships": { "collection": { "data": { - "id": "36", + "id": "118", "type": "collections" } } }, "links": { - "self": "/collections/36/items/24" + "self": "/collections/118/items/44" }, "meta": { - "created": "2026-06-16T14:29:03.017Z", - "modified": "2026-06-16T14:29:03.017Z", + "created": "2026-08-27T08:36:29.886Z", + "modified": "2026-08-27T08:36:29.886Z", "api_version": "0.3", "base_url": "http://localhost:3000" } diff --git a/public/api/examples/collectionsResponse.json b/public/api/examples/collectionsResponse.json index cdf9424c19..81c44832d0 100644 --- a/public/api/examples/collectionsResponse.json +++ b/public/api/examples/collectionsResponse.json @@ -1,23 +1,23 @@ { "data": [ { - "id": "34", + "id": "116", "type": "collections", "attributes": { "title": "A Maximal Collection" }, "links": { - "self": "/collections/34" + "self": "/collections/116" } }, { - "id": "33", + "id": "115", "type": "collections", "attributes": { "title": "A Minimal Collection" }, "links": { - "self": "/collections/33" + "self": "/collections/115" } } ], diff --git a/public/api/examples/contentBlobResponse.json b/public/api/examples/contentBlobResponse.json index 137270b5df..a3aa9c471a 100644 --- a/public/api/examples/contentBlobResponse.json +++ b/public/api/examples/contentBlobResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "1050453499", + "id": "1050455561", "type": "content_blobs", "attributes": { "original_filename": "min file", @@ -13,21 +13,21 @@ "relationships": { "asset": { "data": { - "id": "1055250629", + "id": "1055250777", "type": "sops" } } }, "links": { - "self": "/sops/1055250629/content_blobs/1050453499", - "download": "/sops/1055250629/content_blobs/1050453499/download" + "self": "/sops/1055250777/content_blobs/1050455561", + "download": "/sops/1055250777/content_blobs/1050455561/download" }, "meta": { - "created": "2026-06-16T14:32:42.042Z", - "modified": "2026-06-16T14:32:42.042Z", + "created": "2026-08-27T08:35:07.639Z", + "modified": "2026-08-27T08:35:07.639Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "213dd731-3b87-4ea8-81f2-3c75f4c40c86" + "uuid": "536db0fd-3cb9-42a7-8c45-7d05cb5f3086" } }, "jsonapi": { diff --git a/public/api/examples/dataFilePatch.json b/public/api/examples/dataFilePatch.json index 272320d3f1..a5b840a053 100644 --- a/public/api/examples/dataFilePatch.json +++ b/public/api/examples/dataFilePatch.json @@ -1,7 +1,7 @@ { "data": { "type": "data_files", - "id": "883654314", + "id": "1055250928", "attributes": { "title": "A Maximally Patched Data File", "description": "Study of the Human Genome", @@ -29,7 +29,7 @@ "permissions": [ { "resource": { - "id": "1022251010", + "id": "1022266814", "type": "projects" }, "access": "edit" @@ -41,7 +41,7 @@ "creators": { "data": [ { - "id": "1039986938", + "id": "1040002826", "type": "people" } ] @@ -49,7 +49,7 @@ "projects": { "data": [ { - "id": "1022251010", + "id": "1022266814", "type": "projects" } ] @@ -57,7 +57,7 @@ "assays": { "data": [ { - "id": "1035386712", + "id": "1035387599", "type": "assays" } ] @@ -65,7 +65,7 @@ "publications": { "data": [ { - "id": "63", + "id": "419", "type": "publications" } ] @@ -73,7 +73,7 @@ "events": { "data": [ { - "id": "1025618686", + "id": "1025618835", "type": "events" } ] @@ -81,7 +81,7 @@ "workflows": { "data": [ { - "id": "33", + "id": "1475", "type": "workflows" } ] diff --git a/public/api/examples/dataFilePatchResponse.json b/public/api/examples/dataFilePatchResponse.json index 5c59c8014d..fa00b48e69 100644 --- a/public/api/examples/dataFilePatchResponse.json +++ b/public/api/examples/dataFilePatchResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "883654314", + "id": "1055250928", "type": "data_files", "attributes": { "policy": { @@ -8,16 +8,14 @@ "permissions": [ { "resource": { - "id": "1022251010", + "id": "1022266814", "type": "projects" }, "access": "edit" } ] }, - "discussion_links": [ - - ], + "discussion_links": [], "title": "A Maximally Patched Data File", "license": "CC-BY-4.0", "description": "Study of the Human Genome", @@ -31,14 +29,14 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/data_files/883654314?version=1", + "url": "http://localhost:3000/data_files/1055250928?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:21:59.964Z", - "updated_at": "2026-06-16T14:22:00.512Z", + "created_at": "2026-08-27T08:45:54.746Z", + "updated_at": "2026-08-27T08:45:55.052Z", "doi": null, "content_blobs": [ { @@ -47,16 +45,16 @@ "md5sum": "565ae8a7a743c3bfd9f15c69647f5b8b", "sha1sum": "b9d2148740050b7f37975edd0fb97faa508ff767", "content_type": "application/pdf", - "link": "http://localhost:3000/data_files/883654314/content_blobs/1050452633", + "link": "http://localhost:3000/data_files/1055250928/content_blobs/1050456605", "size": 8827 } ], "creators": [ { - "profile": "/people/1039986938", + "profile": "/people/1040002826", "family_name": "Last", - "given_name": "Person394", - "affiliation": "An Institution: 470", + "given_name": "Person3147", + "affiliation": "An Institution: 3659", "orcid": null } ], @@ -78,7 +76,7 @@ "creators": { "data": [ { - "id": "1039986938", + "id": "1040002826", "type": "people" } ] @@ -86,7 +84,7 @@ "submitter": { "data": [ { - "id": "1039986936", + "id": "1040002824", "type": "people" } ] @@ -94,11 +92,11 @@ "people": { "data": [ { - "id": "1039986936", + "id": "1040002824", "type": "people" }, { - "id": "1039986938", + "id": "1040002826", "type": "people" } ] @@ -106,7 +104,7 @@ "projects": { "data": [ { - "id": "1022251010", + "id": "1022266814", "type": "projects" } ] @@ -114,7 +112,7 @@ "investigations": { "data": [ { - "id": "973654926", + "id": "973656138", "type": "investigations" } ] @@ -122,7 +120,7 @@ "studies": { "data": [ { - "id": "1060384962", + "id": "1060385962", "type": "studies" } ] @@ -130,7 +128,7 @@ "assays": { "data": [ { - "id": "1035386712", + "id": "1035387599", "type": "assays" } ] @@ -138,7 +136,7 @@ "publications": { "data": [ { - "id": "63", + "id": "419", "type": "publications" } ] @@ -146,7 +144,7 @@ "events": { "data": [ { - "id": "1025618686", + "id": "1025618835", "type": "events" } ] @@ -154,7 +152,7 @@ "workflows": { "data": [ { - "id": "33", + "id": "1475", "type": "workflows" } ] @@ -167,14 +165,18 @@ } }, "links": { - "self": "/data_files/883654314?version=1" + "self": "/data_files/1055250928?version=1" }, "meta": { - "created": "2026-06-16T14:21:59.951Z", - "modified": "2026-06-16T14:22:00.472Z", + "created": "2026-08-27T08:45:54.729Z", + "modified": "2026-08-27T08:45:55.011Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "b2f3a39b-5fae-4d5d-8ad3-3450fd014f73" + "uuid": "3837ac1f-c265-4a24-996e-7e0c729c5ff6", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/dataFilePost.json b/public/api/examples/dataFilePost.json index 5efed51cc2..cad21b6700 100644 --- a/public/api/examples/dataFilePost.json +++ b/public/api/examples/dataFilePost.json @@ -33,7 +33,7 @@ "permissions": [ { "resource": { - "id": "1022250977", + "id": "1022266781", "type": "projects" }, "access": "edit" @@ -45,7 +45,7 @@ "creators": { "data": [ { - "id": "1039986896", + "id": "1040002784", "type": "people" } ] @@ -53,7 +53,7 @@ "projects": { "data": [ { - "id": "1022250977", + "id": "1022266781", "type": "projects" } ] @@ -61,7 +61,7 @@ "assays": { "data": [ { - "id": "1035386707", + "id": "1035387594", "type": "assays" } ] @@ -69,7 +69,7 @@ "publications": { "data": [ { - "id": "58", + "id": "414", "type": "publications" } ] @@ -77,7 +77,7 @@ "events": { "data": [ { - "id": "1025618681", + "id": "1025618830", "type": "events" } ] @@ -85,7 +85,7 @@ "workflows": { "data": [ { - "id": "28", + "id": "1470", "type": "workflows" } ] diff --git a/public/api/examples/dataFilePostResponse.json b/public/api/examples/dataFilePostResponse.json index e36f69d083..4fb7ca7438 100644 --- a/public/api/examples/dataFilePostResponse.json +++ b/public/api/examples/dataFilePostResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "883654308", + "id": "1055250922", "type": "data_files", "attributes": { "policy": { @@ -8,16 +8,14 @@ "permissions": [ { "resource": { - "id": "1022250977", + "id": "1022266781", "type": "projects" }, "access": "edit" } ] }, - "discussion_links": [ - - ], + "discussion_links": [], "title": "A Maximal Data File", "license": "CC-BY-4.0", "description": "This is the description", @@ -30,14 +28,14 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/data_files/883654308?version=1", + "url": "http://localhost:3000/data_files/1055250922?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:21:53.924Z", - "updated_at": "2026-06-16T14:21:53.924Z", + "created_at": "2026-08-27T08:45:48.779Z", + "updated_at": "2026-08-27T08:45:48.779Z", "doi": null, "content_blobs": [ { @@ -46,16 +44,16 @@ "md5sum": null, "sha1sum": null, "content_type": "application/pdf", - "link": "http://localhost:3000/data_files/883654308/content_blobs/1050452623", + "link": "http://localhost:3000/data_files/1055250922/content_blobs/1050456595", "size": null } ], "creators": [ { - "profile": "/people/1039986896", + "profile": "/people/1040002784", "family_name": "Last", - "given_name": "Person357", - "affiliation": "An Institution: 428", + "given_name": "Person3110", + "affiliation": "An Institution: 3617", "orcid": null } ], @@ -77,7 +75,7 @@ "creators": { "data": [ { - "id": "1039986896", + "id": "1040002784", "type": "people" } ] @@ -85,7 +83,7 @@ "submitter": { "data": [ { - "id": "1039986894", + "id": "1040002782", "type": "people" } ] @@ -93,11 +91,11 @@ "people": { "data": [ { - "id": "1039986894", + "id": "1040002782", "type": "people" }, { - "id": "1039986896", + "id": "1040002784", "type": "people" } ] @@ -105,7 +103,7 @@ "projects": { "data": [ { - "id": "1022250977", + "id": "1022266781", "type": "projects" } ] @@ -113,7 +111,7 @@ "investigations": { "data": [ { - "id": "973654921", + "id": "973656133", "type": "investigations" } ] @@ -121,7 +119,7 @@ "studies": { "data": [ { - "id": "1060384957", + "id": "1060385957", "type": "studies" } ] @@ -129,7 +127,7 @@ "assays": { "data": [ { - "id": "1035386707", + "id": "1035387594", "type": "assays" } ] @@ -137,7 +135,7 @@ "publications": { "data": [ { - "id": "58", + "id": "414", "type": "publications" } ] @@ -145,7 +143,7 @@ "events": { "data": [ { - "id": "1025618681", + "id": "1025618830", "type": "events" } ] @@ -153,7 +151,7 @@ "workflows": { "data": [ { - "id": "28", + "id": "1470", "type": "workflows" } ] @@ -166,14 +164,18 @@ } }, "links": { - "self": "/data_files/883654308?version=1" + "self": "/data_files/1055250922?version=1" }, "meta": { - "created": "2026-06-16T14:21:53.884Z", - "modified": "2026-06-16T14:21:53.924Z", + "created": "2026-08-27T08:45:48.732Z", + "modified": "2026-08-27T08:45:48.779Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "99d9b840-57c3-4511-b84a-ce2862dfed4e" + "uuid": "26354172-95de-49c9-9c62-c149d703a4df", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/dataFileResponse.json b/public/api/examples/dataFileResponse.json index 97e628ad80..165602cf60 100644 --- a/public/api/examples/dataFileResponse.json +++ b/public/api/examples/dataFileResponse.json @@ -1,17 +1,15 @@ { "data": { - "id": "883654313", + "id": "1055250927", "type": "data_files", "attributes": { "policy": { "access": "no_access", - "permissions": [ - - ] + "permissions": [] }, "discussion_links": [ { - "id": "14", + "id": "353", "label": "Slack", "url": "http://www.slack.com/" } @@ -31,14 +29,14 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/data_files/883654313?version=1", + "url": "http://localhost:3000/data_files/1055250927?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:21:58.894Z", - "updated_at": "2026-06-16T14:21:58.894Z", + "created_at": "2026-08-27T08:45:53.650Z", + "updated_at": "2026-08-27T08:45:53.650Z", "doi": null, "content_blobs": [ { @@ -47,13 +45,13 @@ "md5sum": "565ae8a7a743c3bfd9f15c69647f5b8b", "sha1sum": "b9d2148740050b7f37975edd0fb97faa508ff767", "content_type": "application/pdf", - "link": "http://localhost:3000/data_files/883654313/content_blobs/1050452632", + "link": "http://localhost:3000/data_files/1055250927/content_blobs/1050456604", "size": 8827 } ], "creators": [ { - "profile": "/people/1039986933", + "profile": "/people/1040002821", "family_name": "One", "given_name": "Some", "affiliation": "University of Somewhere", @@ -78,7 +76,7 @@ "creators": { "data": [ { - "id": "1039986933", + "id": "1040002821", "type": "people" } ] @@ -86,7 +84,7 @@ "submitter": { "data": [ { - "id": "1039986934", + "id": "1040002822", "type": "people" } ] @@ -94,11 +92,11 @@ "people": { "data": [ { - "id": "1039986933", + "id": "1040002821", "type": "people" }, { - "id": "1039986934", + "id": "1040002822", "type": "people" } ] @@ -106,7 +104,7 @@ "projects": { "data": [ { - "id": "1022251008", + "id": "1022266812", "type": "projects" } ] @@ -114,7 +112,7 @@ "investigations": { "data": [ { - "id": "973654925", + "id": "973656137", "type": "investigations" } ] @@ -122,7 +120,7 @@ "studies": { "data": [ { - "id": "1060384961", + "id": "1060385961", "type": "studies" } ] @@ -130,7 +128,7 @@ "assays": { "data": [ { - "id": "1035386711", + "id": "1035387598", "type": "assays" } ] @@ -138,7 +136,7 @@ "publications": { "data": [ { - "id": "62", + "id": "418", "type": "publications" } ] @@ -146,7 +144,7 @@ "events": { "data": [ { - "id": "1025618685", + "id": "1025618834", "type": "events" } ] @@ -154,7 +152,7 @@ "workflows": { "data": [ { - "id": "32", + "id": "1474", "type": "workflows" } ] @@ -167,14 +165,18 @@ } }, "links": { - "self": "/data_files/883654313?version=1" + "self": "/data_files/1055250927?version=1" }, "meta": { - "created": "2026-06-16T14:21:58.830Z", - "modified": "2026-06-16T14:21:58.894Z", + "created": "2026-08-27T08:45:53.595Z", + "modified": "2026-08-27T08:45:53.650Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "c28aa80c-f69a-4215-8ec9-5e674f466245" + "uuid": "27b00609-fab8-45f2-ad13-0f9ac61a5a41", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/dataFilesResponse.json b/public/api/examples/dataFilesResponse.json index bd2e9b7399..34fa6bfeee 100644 --- a/public/api/examples/dataFilesResponse.json +++ b/public/api/examples/dataFilesResponse.json @@ -1,7 +1,5 @@ { - "data": [ - - ], + "data": [], "jsonapi": { "version": "1.0" }, diff --git a/public/api/examples/documentPatch.json b/public/api/examples/documentPatch.json index 6a180879f1..5a871f1194 100644 --- a/public/api/examples/documentPatch.json +++ b/public/api/examples/documentPatch.json @@ -1,7 +1,7 @@ { "data": { "type": "documents", - "id": "234", + "id": "499", "attributes": { "title": "A Maximally Patched Document", "description": "A report about the thing that happened", @@ -17,7 +17,7 @@ "permissions": [ { "resource": { - "id": "1022254270", + "id": "1022265664", "type": "projects" }, "access": "edit" @@ -25,7 +25,7 @@ ] }, "extended_attributes": { - "extended_metadata_type_id": "316", + "extended_metadata_type_id": "366", "attribute_map": { "role_email": "alice@email.com", "role_phone": "0012345", @@ -44,7 +44,7 @@ "creators": { "data": [ { - "id": "1039990161", + "id": "1040001567", "type": "people" } ] @@ -52,7 +52,7 @@ "projects": { "data": [ { - "id": "1022254270", + "id": "1022265664", "type": "projects" } ] @@ -60,7 +60,7 @@ "assays": { "data": [ { - "id": "1035387075", + "id": "1035387445", "type": "assays" } ] @@ -68,7 +68,7 @@ "workflows": { "data": [ { - "id": "165", + "id": "1407", "type": "workflows" } ] diff --git a/public/api/examples/documentPatchResponse.json b/public/api/examples/documentPatchResponse.json index 7488383cd8..3197a11417 100644 --- a/public/api/examples/documentPatchResponse.json +++ b/public/api/examples/documentPatchResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "234", + "id": "499", "type": "documents", "attributes": { "policy": { @@ -8,18 +8,16 @@ "permissions": [ { "resource": { - "id": "1022254270", + "id": "1022265664", "type": "projects" }, "access": "edit" } ] }, - "discussion_links": [ - - ], + "discussion_links": [], "extended_attributes": { - "extended_metadata_type_id": "316", + "extended_metadata_type_id": "366", "attribute_map": { "role_email": "alice@email.com", "role_phone": "0012345", @@ -46,32 +44,32 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/documents/234?version=1", + "url": "http://localhost:3000/documents/499?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:34:24.473Z", - "updated_at": "2026-06-16T14:34:24.853Z", + "created_at": "2026-08-27T08:42:27.618Z", + "updated_at": "2026-08-27T08:42:27.799Z", "doi": null, "content_blobs": [ { - "original_filename": "file-252", + "original_filename": "file-152", "url": null, - "md5sum": "457e8837e0f338a8a141fd9c49990211", - "sha1sum": "eada2427078a5260229e102d8fa6afd1daccbde2", + "md5sum": "1496e715180222798caf17e003b6b901", + "sha1sum": "ddffd6951c92049a85cf5cc0303b88d2ac7cbeed", "content_type": "application/pdf", - "link": "http://localhost:3000/documents/234/content_blobs/1050453615", + "link": "http://localhost:3000/documents/499/content_blobs/1050456288", "size": 10 } ], "creators": [ { - "profile": "/people/1039990161", + "profile": "/people/1040001567", "family_name": "Last", - "given_name": "Person3091", - "affiliation": "An Institution: 3740", + "given_name": "Person2061", + "affiliation": "An Institution: 2400", "orcid": null } ], @@ -81,7 +79,7 @@ "creators": { "data": [ { - "id": "1039990161", + "id": "1040001567", "type": "people" } ] @@ -89,7 +87,7 @@ "submitter": { "data": [ { - "id": "1039990159", + "id": "1040001565", "type": "people" } ] @@ -97,11 +95,11 @@ "people": { "data": [ { - "id": "1039990159", + "id": "1040001565", "type": "people" }, { - "id": "1039990161", + "id": "1040001567", "type": "people" } ] @@ -109,7 +107,7 @@ "projects": { "data": [ { - "id": "1022254270", + "id": "1022265664", "type": "projects" } ] @@ -117,7 +115,7 @@ "investigations": { "data": [ { - "id": "973655396", + "id": "973655894", "type": "investigations" } ] @@ -125,7 +123,7 @@ "studies": { "data": [ { - "id": "1060385415", + "id": "1060385744", "type": "studies" } ] @@ -133,34 +131,36 @@ "assays": { "data": [ { - "id": "1035387075", + "id": "1035387445", "type": "assays" } ] }, "publications": { - "data": [ - - ] + "data": [] }, "workflows": { "data": [ { - "id": "165", + "id": "1407", "type": "workflows" } ] } }, "links": { - "self": "/documents/234?version=1" + "self": "/documents/499?version=1" }, "meta": { - "created": "2026-06-16T14:34:24.453Z", - "modified": "2026-06-16T14:34:24.781Z", + "created": "2026-08-27T08:42:27.603Z", + "modified": "2026-08-27T08:42:27.768Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "53ff03ec-5815-4e38-aa67-6089d7554ae5" + "uuid": "dd18b0a5-a443-49ce-b839-80e80e180ab6", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/documentPost.json b/public/api/examples/documentPost.json index 99e03abb59..3110aeb27f 100644 --- a/public/api/examples/documentPost.json +++ b/public/api/examples/documentPost.json @@ -21,7 +21,7 @@ "permissions": [ { "resource": { - "id": "1022254239", + "id": "1022265633", "type": "projects" }, "access": "edit" @@ -29,7 +29,7 @@ ] }, "extended_attributes": { - "extended_metadata_type_id": "301", + "extended_metadata_type_id": "351", "attribute_map": { "role_email": "alice@email.com", "role_phone": "0012345", @@ -48,7 +48,7 @@ "creators": { "data": [ { - "id": "1039990130", + "id": "1040001536", "type": "people" } ] @@ -56,7 +56,7 @@ "projects": { "data": [ { - "id": "1022254239", + "id": "1022265633", "type": "projects" } ] @@ -64,7 +64,7 @@ "assays": { "data": [ { - "id": "1035387070", + "id": "1035387440", "type": "assays" } ] @@ -72,7 +72,7 @@ "workflows": { "data": [ { - "id": "160", + "id": "1402", "type": "workflows" } ] diff --git a/public/api/examples/documentPostResponse.json b/public/api/examples/documentPostResponse.json index 6e49f91017..50dff358c4 100644 --- a/public/api/examples/documentPostResponse.json +++ b/public/api/examples/documentPostResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "228", + "id": "493", "type": "documents", "attributes": { "policy": { @@ -8,18 +8,16 @@ "permissions": [ { "resource": { - "id": "1022254239", + "id": "1022265633", "type": "projects" }, "access": "edit" } ] }, - "discussion_links": [ - - ], + "discussion_links": [], "extended_attributes": { - "extended_metadata_type_id": "301", + "extended_metadata_type_id": "351", "attribute_map": { "role_email": "alice@email.com", "role_phone": "0012345", @@ -45,14 +43,14 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/documents/228?version=1", + "url": "http://localhost:3000/documents/493?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:34:15.551Z", - "updated_at": "2026-06-16T14:34:15.551Z", + "created_at": "2026-08-27T08:42:22.617Z", + "updated_at": "2026-08-27T08:42:22.617Z", "doi": null, "content_blobs": [ { @@ -61,16 +59,16 @@ "md5sum": null, "sha1sum": null, "content_type": "application/pdf", - "link": "http://localhost:3000/documents/228/content_blobs/1050453604", + "link": "http://localhost:3000/documents/493/content_blobs/1050456277", "size": null } ], "creators": [ { - "profile": "/people/1039990130", + "profile": "/people/1040001536", "family_name": "Last", - "given_name": "Person3065", - "affiliation": "An Institution: 3709", + "given_name": "Person2035", + "affiliation": "An Institution: 2369", "orcid": null } ], @@ -80,7 +78,7 @@ "creators": { "data": [ { - "id": "1039990130", + "id": "1040001536", "type": "people" } ] @@ -88,7 +86,7 @@ "submitter": { "data": [ { - "id": "1039990128", + "id": "1040001534", "type": "people" } ] @@ -96,11 +94,11 @@ "people": { "data": [ { - "id": "1039990128", + "id": "1040001534", "type": "people" }, { - "id": "1039990130", + "id": "1040001536", "type": "people" } ] @@ -108,7 +106,7 @@ "projects": { "data": [ { - "id": "1022254239", + "id": "1022265633", "type": "projects" } ] @@ -116,7 +114,7 @@ "investigations": { "data": [ { - "id": "973655391", + "id": "973655889", "type": "investigations" } ] @@ -124,7 +122,7 @@ "studies": { "data": [ { - "id": "1060385410", + "id": "1060385739", "type": "studies" } ] @@ -132,34 +130,36 @@ "assays": { "data": [ { - "id": "1035387070", + "id": "1035387440", "type": "assays" } ] }, "publications": { - "data": [ - - ] + "data": [] }, "workflows": { "data": [ { - "id": "160", + "id": "1402", "type": "workflows" } ] } }, "links": { - "self": "/documents/228?version=1" + "self": "/documents/493?version=1" }, "meta": { - "created": "2026-06-16T14:34:15.520Z", - "modified": "2026-06-16T14:34:15.551Z", + "created": "2026-08-27T08:42:22.579Z", + "modified": "2026-08-27T08:42:22.617Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "629ec644-fb8d-4f4b-b2ac-b86006fdd2d2" + "uuid": "1a6f1dee-3f93-4352-bca0-2110d402111c", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/documentResponse.json b/public/api/examples/documentResponse.json index c6073931f5..9136a50571 100644 --- a/public/api/examples/documentResponse.json +++ b/public/api/examples/documentResponse.json @@ -1,23 +1,21 @@ { "data": { - "id": "233", + "id": "498", "type": "documents", "attributes": { "policy": { "access": "download", - "permissions": [ - - ] + "permissions": [] }, "discussion_links": [ { - "id": "153", + "id": "310", "label": "Slack", "url": "http://www.slack.com/" } ], "extended_attributes": { - "extended_metadata_type_id": "313", + "extended_metadata_type_id": "363", "attribute_map": { "role_email": "alice@email.com", "role_phone": "0012345", @@ -46,14 +44,14 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/documents/233?version=1", + "url": "http://localhost:3000/documents/498?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:34:22.497Z", - "updated_at": "2026-06-16T14:34:22.497Z", + "created_at": "2026-08-27T08:42:26.800Z", + "updated_at": "2026-08-27T08:42:26.800Z", "doi": null, "content_blobs": [ { @@ -62,13 +60,13 @@ "md5sum": "726de0a3f94d65056b909b9736e10349", "sha1sum": "fbcc0dee4b5415de4c82ef5b137d8231fec1331b", "content_type": "application/pdf", - "link": "http://localhost:3000/documents/233/content_blobs/1050453613", + "link": "http://localhost:3000/documents/498/content_blobs/1050456286", "size": 8 } ], "creators": [ { - "profile": "/people/1039990156", + "profile": "/people/1040001562", "family_name": "One", "given_name": "Some", "affiliation": "University of Somewhere", @@ -81,7 +79,7 @@ "creators": { "data": [ { - "id": "1039990156", + "id": "1040001562", "type": "people" } ] @@ -89,7 +87,7 @@ "submitter": { "data": [ { - "id": "1039990157", + "id": "1040001563", "type": "people" } ] @@ -97,11 +95,11 @@ "people": { "data": [ { - "id": "1039990156", + "id": "1040001562", "type": "people" }, { - "id": "1039990157", + "id": "1040001563", "type": "people" } ] @@ -109,7 +107,7 @@ "projects": { "data": [ { - "id": "1022254268", + "id": "1022265662", "type": "projects" } ] @@ -117,7 +115,7 @@ "investigations": { "data": [ { - "id": "973655395", + "id": "973655893", "type": "investigations" } ] @@ -125,7 +123,7 @@ "studies": { "data": [ { - "id": "1060385414", + "id": "1060385743", "type": "studies" } ] @@ -133,7 +131,7 @@ "assays": { "data": [ { - "id": "1035387074", + "id": "1035387444", "type": "assays" } ] @@ -141,7 +139,7 @@ "publications": { "data": [ { - "id": "234", + "id": "287", "type": "publications" } ] @@ -149,21 +147,25 @@ "workflows": { "data": [ { - "id": "164", + "id": "1406", "type": "workflows" } ] } }, "links": { - "self": "/documents/233?version=1" + "self": "/documents/498?version=1" }, "meta": { - "created": "2026-06-16T14:34:22.342Z", - "modified": "2026-06-16T14:34:22.497Z", + "created": "2026-08-27T08:42:26.743Z", + "modified": "2026-08-27T08:42:26.800Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "c4f3b00e-0707-4b2f-984c-fd2b6b66f28d" + "uuid": "f38a247b-1811-400c-89fe-5ad7c3be81a8", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/documentsResponse.json b/public/api/examples/documentsResponse.json index b5cc0bd157..8a8ae94b65 100644 --- a/public/api/examples/documentsResponse.json +++ b/public/api/examples/documentsResponse.json @@ -1,23 +1,23 @@ { "data": [ { - "id": "231", + "id": "496", "type": "documents", "attributes": { "title": "A Maximal Document" }, "links": { - "self": "/documents/231" + "self": "/documents/496" } }, { - "id": "230", + "id": "495", "type": "documents", "attributes": { "title": "A Minimal Document" }, "links": { - "self": "/documents/230" + "self": "/documents/495" } } ], diff --git a/public/api/examples/eventPatch.json b/public/api/examples/eventPatch.json index 149d9a7cd1..2dc8c29d1b 100644 --- a/public/api/examples/eventPatch.json +++ b/public/api/examples/eventPatch.json @@ -1,7 +1,7 @@ { "data": { "type": "events", - "id": "1025618723", + "id": "1025618868", "attributes": { "title": "A Maximally Patched Event", "description": "A thing happening", @@ -10,7 +10,7 @@ "permissions": [ { "resource": { - "id": "1022251745", + "id": "1022267568", "type": "projects" }, "access": "edit" @@ -30,7 +30,7 @@ "projects": { "data": [ { - "id": "1022251745", + "id": "1022267568", "type": "projects" } ] @@ -38,7 +38,7 @@ "data_files": { "data": [ { - "id": "883654380", + "id": "1055251014", "type": "data_files" } ] @@ -46,7 +46,7 @@ "presentations": { "data": [ { - "id": "31", + "id": "237", "type": "presentations" } ] @@ -54,7 +54,7 @@ "publications": { "data": [ { - "id": "132", + "id": "475", "type": "publications" } ] diff --git a/public/api/examples/eventPatchResponse.json b/public/api/examples/eventPatchResponse.json index 23957293ce..6d5ee86dbb 100644 --- a/public/api/examples/eventPatchResponse.json +++ b/public/api/examples/eventPatchResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "1025618723", + "id": "1025618868", "type": "events", "attributes": { "policy": { @@ -8,7 +8,7 @@ "permissions": [ { "resource": { - "id": "1022251745", + "id": "1022267568", "type": "projects" }, "access": "edit" @@ -30,7 +30,7 @@ "submitter": { "data": [ { - "id": "1039987669", + "id": "1040003602", "type": "people" } ] @@ -38,7 +38,7 @@ "projects": { "data": [ { - "id": "1022251745", + "id": "1022267568", "type": "projects" } ] @@ -46,7 +46,7 @@ "data_files": { "data": [ { - "id": "883654380", + "id": "1055251014", "type": "data_files" } ] @@ -54,7 +54,7 @@ "publications": { "data": [ { - "id": "132", + "id": "475", "type": "publications" } ] @@ -62,21 +62,21 @@ "presentations": { "data": [ { - "id": "31", + "id": "237", "type": "presentations" } ] } }, "links": { - "self": "/events/1025618723" + "self": "/events/1025618868" }, "meta": { - "created": "2026-06-16T14:24:40.853Z", - "modified": "2026-06-16T14:24:40.939Z", + "created": "2026-08-27T08:52:08.453Z", + "modified": "2026-08-27T08:52:08.616Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "77e0fca9-92cf-4921-9e85-24c74d0ede52" + "uuid": "9efeb1ad-d10f-4e38-bb4c-193605813c35" } }, "jsonapi": { diff --git a/public/api/examples/eventPost.json b/public/api/examples/eventPost.json index 111f2f0a52..05faeaac2f 100644 --- a/public/api/examples/eventPost.json +++ b/public/api/examples/eventPost.json @@ -9,7 +9,7 @@ "permissions": [ { "resource": { - "id": "1022251724", + "id": "1022267547", "type": "projects" }, "access": "edit" @@ -29,7 +29,7 @@ "projects": { "data": [ { - "id": "1022251724", + "id": "1022267547", "type": "projects" } ] @@ -37,7 +37,7 @@ "data_files": { "data": [ { - "id": "883654375", + "id": "1055251009", "type": "data_files" } ] @@ -45,7 +45,7 @@ "presentations": { "data": [ { - "id": "26", + "id": "232", "type": "presentations" } ] @@ -53,7 +53,7 @@ "publications": { "data": [ { - "id": "127", + "id": "470", "type": "publications" } ] diff --git a/public/api/examples/eventPostResponse.json b/public/api/examples/eventPostResponse.json index 299b643ed4..cb74c42073 100644 --- a/public/api/examples/eventPostResponse.json +++ b/public/api/examples/eventPostResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "1025618717", + "id": "1025618862", "type": "events", "attributes": { "policy": { @@ -8,7 +8,7 @@ "permissions": [ { "resource": { - "id": "1022251724", + "id": "1022267547", "type": "projects" }, "access": "edit" @@ -30,7 +30,7 @@ "submitter": { "data": [ { - "id": "1039987648", + "id": "1040003581", "type": "people" } ] @@ -38,7 +38,7 @@ "projects": { "data": [ { - "id": "1022251724", + "id": "1022267547", "type": "projects" } ] @@ -46,7 +46,7 @@ "data_files": { "data": [ { - "id": "883654375", + "id": "1055251009", "type": "data_files" } ] @@ -54,7 +54,7 @@ "publications": { "data": [ { - "id": "127", + "id": "470", "type": "publications" } ] @@ -62,21 +62,21 @@ "presentations": { "data": [ { - "id": "26", + "id": "232", "type": "presentations" } ] } }, "links": { - "self": "/events/1025618717" + "self": "/events/1025618862" }, "meta": { - "created": "2026-06-16T14:24:34.327Z", - "modified": "2026-06-16T14:24:34.327Z", + "created": "2026-08-27T08:52:01.879Z", + "modified": "2026-08-27T08:52:01.879Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "c2785839-dc59-44fb-b598-7c6a73c9f6c4" + "uuid": "54676af2-d061-44ba-8312-ecf14e5920dc" } }, "jsonapi": { diff --git a/public/api/examples/eventResponse.json b/public/api/examples/eventResponse.json index 97f140df3d..e12c4c9a98 100644 --- a/public/api/examples/eventResponse.json +++ b/public/api/examples/eventResponse.json @@ -1,13 +1,11 @@ { "data": { - "id": "1025618722", + "id": "1025618867", "type": "events", "attributes": { "policy": { "access": "no_access", - "permissions": [ - - ] + "permissions": [] }, "title": "A Maximal Event", "description": "All you ever wanted to know about headaches", @@ -24,7 +22,7 @@ "submitter": { "data": [ { - "id": "1039987667", + "id": "1040003600", "type": "people" } ] @@ -32,7 +30,7 @@ "projects": { "data": [ { - "id": "1022251743", + "id": "1022267566", "type": "projects" } ] @@ -40,7 +38,7 @@ "data_files": { "data": [ { - "id": "883654379", + "id": "1055251013", "type": "data_files" } ] @@ -48,7 +46,7 @@ "publications": { "data": [ { - "id": "131", + "id": "474", "type": "publications" } ] @@ -56,21 +54,21 @@ "presentations": { "data": [ { - "id": "30", + "id": "236", "type": "presentations" } ] } }, "links": { - "self": "/events/1025618722" + "self": "/events/1025618867" }, "meta": { - "created": "2026-06-16T14:24:39.917Z", - "modified": "2026-06-16T14:24:39.917Z", + "created": "2026-08-27T08:52:07.089Z", + "modified": "2026-08-27T08:52:07.089Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "84e8f4ad-4e78-467a-b023-83be2c96058e" + "uuid": "d45d7a4d-5b83-4068-892b-d82db14b4a47" } }, "jsonapi": { diff --git a/public/api/examples/eventsResponse.json b/public/api/examples/eventsResponse.json index f6a553e8c2..2c30cdcab8 100644 --- a/public/api/examples/eventsResponse.json +++ b/public/api/examples/eventsResponse.json @@ -1,7 +1,5 @@ { - "data": [ - - ], + "data": [], "jsonapi": { "version": "1.0" }, diff --git a/public/api/examples/extendedMetadataTypeResponse.json b/public/api/examples/extendedMetadataTypeResponse.json index add4c0734f..da9ffa9f8a 100644 --- a/public/api/examples/extendedMetadataTypeResponse.json +++ b/public/api/examples/extendedMetadataTypeResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "83", + "id": "393", "type": "extended_metadata_types", "attributes": { "title": "A Max Extended Metadata Type", @@ -8,14 +8,14 @@ "enabled": true, "extended_metadata_attributes": [ { - "id": "209", + "id": "1113", "title": "age", "label": "Age", "pid": null, "description": null, "sample_attribute_type": { - "id": "1019850698", - "title": "Integer attribute type 73", + "id": "1019854812", + "title": "Integer attribute type 78", "base_type": "Integer", "regexp": ".*" }, @@ -26,14 +26,14 @@ "linked_extended_metadata_type_id": null }, { - "id": "210", + "id": "1114", "title": "name", "label": "Name", "pid": null, "description": null, "sample_attribute_type": { - "id": "1019850699", - "title": "String attribute type 190", + "id": "1019854813", + "title": "String attribute type 468", "base_type": "String", "regexp": ".*" }, @@ -44,14 +44,14 @@ "linked_extended_metadata_type_id": null }, { - "id": "211", + "id": "1115", "title": "datetime", "label": "Datetime", "pid": null, "description": null, "sample_attribute_type": { - "id": "1019850700", - "title": "DateTime attribute type 38", + "id": "1019854814", + "title": "DateTime attribute type 43", "base_type": "DateTime", "regexp": ".*" }, @@ -62,13 +62,13 @@ "linked_extended_metadata_type_id": null }, { - "id": "212", + "id": "1116", "title": "data file", "label": "Data file", "pid": null, "description": null, "sample_attribute_type": { - "id": "1019850701", + "id": "1019854815", "title": "Data file attribute type 39", "base_type": "SeekDataFile", "regexp": ".*" @@ -80,13 +80,13 @@ "linked_extended_metadata_type_id": null }, { - "id": "213", + "id": "1117", "title": "sop", "label": "Sop", "pid": null, "description": null, "sample_attribute_type": { - "id": "1019850702", + "id": "1019854816", "title": "SOP attribute type 39", "base_type": "SeekSop", "regexp": ".*" @@ -100,7 +100,7 @@ ] }, "links": { - "self": "/extended_metadata_types/83" + "self": "/extended_metadata_types/393" }, "meta": { "api_version": "0.3", diff --git a/public/api/examples/extendedMetadataTypesResponse.json b/public/api/examples/extendedMetadataTypesResponse.json index 5108026f1e..ed2dd6a1f6 100644 --- a/public/api/examples/extendedMetadataTypesResponse.json +++ b/public/api/examples/extendedMetadataTypesResponse.json @@ -1,23 +1,23 @@ { "data": [ { - "id": "81", + "id": "391", "type": "extended_metadata_types", "attributes": { "title": "A Min Extended Metadata Type" }, "links": { - "self": "/extended_metadata_types/81" + "self": "/extended_metadata_types/391" } }, { - "id": "82", + "id": "392", "type": "extended_metadata_types", "attributes": { "title": "A Max Extended Metadata Type" }, "links": { - "self": "/extended_metadata_types/82" + "self": "/extended_metadata_types/392" } } ], diff --git a/public/api/examples/fileTemplatePatch.json b/public/api/examples/fileTemplatePatch.json index cff2e9d334..0e17cad3c6 100644 --- a/public/api/examples/fileTemplatePatch.json +++ b/public/api/examples/fileTemplatePatch.json @@ -1,7 +1,7 @@ { "data": { "type": "file_templates", - "id": "41", + "id": "161", "attributes": { "title": "A Maximal FileTemplate", "description": "This is the description", @@ -28,7 +28,7 @@ "permissions": [ { "resource": { - "id": "1022253301", + "id": "1022267029", "type": "projects" }, "access": "edit" @@ -40,7 +40,7 @@ "creators": { "data": [ { - "id": "1039989310", + "id": "1040003044", "type": "people" } ] @@ -48,7 +48,7 @@ "projects": { "data": [ { - "id": "1022253301", + "id": "1022267029", "type": "projects" } ] diff --git a/public/api/examples/fileTemplatePatchResponse.json b/public/api/examples/fileTemplatePatchResponse.json index 848334bb66..9d74b2625b 100644 --- a/public/api/examples/fileTemplatePatchResponse.json +++ b/public/api/examples/fileTemplatePatchResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "41", + "id": "161", "type": "file_templates", "attributes": { "policy": { @@ -8,16 +8,14 @@ "permissions": [ { "resource": { - "id": "1022253301", + "id": "1022267029", "type": "projects" }, "access": "edit" } ] }, - "discussion_links": [ - - ], + "discussion_links": [], "title": "A Maximal FileTemplate", "license": "CC-BY-4.0", "description": "This is the description", @@ -30,32 +28,32 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/file_templates/41?version=1", + "url": "http://localhost:3000/file_templates/161?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:31:15.220Z", - "updated_at": "2026-06-16T14:31:15.334Z", + "created_at": "2026-08-27T08:46:23.168Z", + "updated_at": "2026-08-27T08:46:23.308Z", "doi": null, "content_blobs": [ { - "original_filename": "file-205", + "original_filename": "file-223", "url": null, - "md5sum": "4d256733a61c8a25e3afd2b44e65f8e9", - "sha1sum": "8c09a7c05833618b2cfa4a79f038e40879388f35", + "md5sum": "175664215a2f0cd242664b61cff06dac", + "sha1sum": "b2bdce65adcfcf12181f097946ad5222b95387fe", "content_type": "application/pdf", - "link": "http://localhost:3000/file_templates/41/content_blobs/1050453428", + "link": "http://localhost:3000/file_templates/161/content_blobs/1050456647", "size": 10 } ], "creators": [ { - "profile": "/people/1039989310", + "profile": "/people/1040003044", "family_name": "Last", - "given_name": "Person2404", - "affiliation": "An Institution: 2839", + "given_name": "Person3311", + "affiliation": "An Institution: 3900", "orcid": null } ], @@ -77,7 +75,7 @@ "creators": { "data": [ { - "id": "1039989310", + "id": "1040003044", "type": "people" } ] @@ -85,7 +83,7 @@ "submitter": { "data": [ { - "id": "1039989308", + "id": "1040003042", "type": "people" } ] @@ -93,11 +91,11 @@ "people": { "data": [ { - "id": "1039989308", + "id": "1040003042", "type": "people" }, { - "id": "1039989310", + "id": "1040003044", "type": "people" } ] @@ -105,31 +103,31 @@ "projects": { "data": [ { - "id": "1022253301", + "id": "1022267029", "type": "projects" } ] }, "data_files": { - "data": [ - - ] + "data": [] }, "placeholders": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/file_templates/41?version=1" + "self": "/file_templates/161?version=1" }, "meta": { - "created": "2026-06-16T14:31:15.207Z", - "modified": "2026-06-16T14:31:15.314Z", + "created": "2026-08-27T08:46:23.148Z", + "modified": "2026-08-27T08:46:23.280Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "f6a11f77-b23c-49ad-b1fd-dabebc4c635b" + "uuid": "73c22d78-919f-473e-b713-58f07da124b1", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/fileTemplatePost.json b/public/api/examples/fileTemplatePost.json index cbde7b57e6..9ee2d88b00 100644 --- a/public/api/examples/fileTemplatePost.json +++ b/public/api/examples/fileTemplatePost.json @@ -33,7 +33,7 @@ "permissions": [ { "resource": { - "id": "1022253276", + "id": "1022267004", "type": "projects" }, "access": "edit" @@ -45,7 +45,7 @@ "creators": { "data": [ { - "id": "1039989285", + "id": "1040003019", "type": "people" } ] @@ -53,7 +53,7 @@ "projects": { "data": [ { - "id": "1022253276", + "id": "1022267004", "type": "projects" } ] diff --git a/public/api/examples/fileTemplatePostResponse.json b/public/api/examples/fileTemplatePostResponse.json index 29dc961991..ddbe673ad3 100644 --- a/public/api/examples/fileTemplatePostResponse.json +++ b/public/api/examples/fileTemplatePostResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "35", + "id": "155", "type": "file_templates", "attributes": { "policy": { @@ -8,16 +8,14 @@ "permissions": [ { "resource": { - "id": "1022253276", + "id": "1022267004", "type": "projects" }, "access": "edit" } ] }, - "discussion_links": [ - - ], + "discussion_links": [], "title": "A Maximal FileTemplate", "license": "CC-BY-4.0", "description": "This is the description", @@ -30,14 +28,14 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/file_templates/35?version=1", + "url": "http://localhost:3000/file_templates/155?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:31:11.300Z", - "updated_at": "2026-06-16T14:31:11.300Z", + "created_at": "2026-08-27T08:46:19.531Z", + "updated_at": "2026-08-27T08:46:19.531Z", "doi": null, "content_blobs": [ { @@ -46,16 +44,16 @@ "md5sum": null, "sha1sum": null, "content_type": "application/pdf", - "link": "http://localhost:3000/file_templates/35/content_blobs/1050453422", + "link": "http://localhost:3000/file_templates/155/content_blobs/1050456641", "size": null } ], "creators": [ { - "profile": "/people/1039989285", + "profile": "/people/1040003019", "family_name": "Last", - "given_name": "Person2384", - "affiliation": "An Institution: 2814", + "given_name": "Person3291", + "affiliation": "An Institution: 3875", "orcid": null } ], @@ -77,7 +75,7 @@ "creators": { "data": [ { - "id": "1039989285", + "id": "1040003019", "type": "people" } ] @@ -85,7 +83,7 @@ "submitter": { "data": [ { - "id": "1039989283", + "id": "1040003017", "type": "people" } ] @@ -93,11 +91,11 @@ "people": { "data": [ { - "id": "1039989283", + "id": "1040003017", "type": "people" }, { - "id": "1039989285", + "id": "1040003019", "type": "people" } ] @@ -105,31 +103,31 @@ "projects": { "data": [ { - "id": "1022253276", + "id": "1022267004", "type": "projects" } ] }, "data_files": { - "data": [ - - ] + "data": [] }, "placeholders": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/file_templates/35?version=1" + "self": "/file_templates/155?version=1" }, "meta": { - "created": "2026-06-16T14:31:11.255Z", - "modified": "2026-06-16T14:31:11.300Z", + "created": "2026-08-27T08:46:19.495Z", + "modified": "2026-08-27T08:46:19.531Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "5fb40e9a-9dc7-4862-88e5-7082d6c25a06" + "uuid": "b00761c6-e3af-4053-b039-f2d542bb820b", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/fileTemplateResponse.json b/public/api/examples/fileTemplateResponse.json index 24916fa4e4..0f466ded26 100644 --- a/public/api/examples/fileTemplateResponse.json +++ b/public/api/examples/fileTemplateResponse.json @@ -1,17 +1,15 @@ { "data": { - "id": "40", + "id": "160", "type": "file_templates", "attributes": { "policy": { "access": "download", - "permissions": [ - - ] + "permissions": [] }, "discussion_links": [ { - "id": "109", + "id": "361", "label": "Slack", "url": "http://www.slack.com/" } @@ -31,14 +29,14 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/file_templates/40?version=1", + "url": "http://localhost:3000/file_templates/160?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:31:14.605Z", - "updated_at": "2026-06-16T14:31:14.605Z", + "created_at": "2026-08-27T08:46:22.529Z", + "updated_at": "2026-08-27T08:46:22.529Z", "doi": null, "content_blobs": [ { @@ -47,13 +45,13 @@ "md5sum": "726de0a3f94d65056b909b9736e10349", "sha1sum": "fbcc0dee4b5415de4c82ef5b137d8231fec1331b", "content_type": "application/pdf", - "link": "http://localhost:3000/file_templates/40/content_blobs/1050453427", + "link": "http://localhost:3000/file_templates/160/content_blobs/1050456646", "size": 8 } ], "creators": [ { - "profile": "/people/1039989305", + "profile": "/people/1040003039", "family_name": "One", "given_name": "Some", "affiliation": "University of Somewhere", @@ -78,7 +76,7 @@ "creators": { "data": [ { - "id": "1039989305", + "id": "1040003039", "type": "people" } ] @@ -86,7 +84,7 @@ "submitter": { "data": [ { - "id": "1039989306", + "id": "1040003040", "type": "people" } ] @@ -94,11 +92,11 @@ "people": { "data": [ { - "id": "1039989305", + "id": "1040003039", "type": "people" }, { - "id": "1039989306", + "id": "1040003040", "type": "people" } ] @@ -106,31 +104,31 @@ "projects": { "data": [ { - "id": "1022253299", + "id": "1022267027", "type": "projects" } ] }, "data_files": { - "data": [ - - ] + "data": [] }, "placeholders": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/file_templates/40?version=1" + "self": "/file_templates/160?version=1" }, "meta": { - "created": "2026-06-16T14:31:14.583Z", - "modified": "2026-06-16T14:31:14.605Z", + "created": "2026-08-27T08:46:22.501Z", + "modified": "2026-08-27T08:46:22.529Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "0d201290-8359-453e-b61e-a021de4f70ab" + "uuid": "ceb30369-50dc-4083-b62b-bc30de682c22", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/fileTemplatesResponse.json b/public/api/examples/fileTemplatesResponse.json index 953e0201be..dbd2aeb4ff 100644 --- a/public/api/examples/fileTemplatesResponse.json +++ b/public/api/examples/fileTemplatesResponse.json @@ -1,23 +1,23 @@ { "data": [ { - "id": "38", + "id": "158", "type": "file_templates", "attributes": { "title": "A Maximal FileTemplate" }, "links": { - "self": "/file_templates/38" + "self": "/file_templates/158" } }, { - "id": "37", + "id": "157", "type": "file_templates", "attributes": { "title": "A Minimal FileTemplate" }, "links": { - "self": "/file_templates/37" + "self": "/file_templates/157" } } ], diff --git a/public/api/examples/humanDiseaseResponse.json b/public/api/examples/humanDiseaseResponse.json index 117074af5e..a541ed7a62 100644 --- a/public/api/examples/humanDiseaseResponse.json +++ b/public/api/examples/humanDiseaseResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "647916208", + "id": "647916219", "type": "human_diseases", "attributes": { "title": "A Maximal Human Disease", @@ -11,7 +11,7 @@ "projects": { "data": [ { - "id": "1022251629", + "id": "1022267998", "type": "projects" } ] @@ -19,7 +19,7 @@ "assays": { "data": [ { - "id": "1035386829", + "id": "1035387662", "type": "assays" } ] @@ -27,31 +27,27 @@ "models": { "data": [ { - "id": "1004285523", + "id": "1004285955", "type": "models" } ] }, "parents": { - "data": [ - - ] + "data": [] }, "children": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/human_diseases/647916208" + "self": "/human_diseases/647916219" }, "meta": { - "created": "2026-06-16T14:24:11.884Z", - "modified": "2026-06-16T14:24:11.884Z", + "created": "2026-08-27T08:53:44.468Z", + "modified": "2026-08-27T08:53:44.468Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "cd112eb6-2ee6-4c04-a2db-b30100ec6c1d" + "uuid": "fb3566e2-0694-44a6-a1ba-7454c26543ee" } }, "jsonapi": { diff --git a/public/api/examples/institutionPatch.json b/public/api/examples/institutionPatch.json index 1128595f22..97fde74f29 100644 --- a/public/api/examples/institutionPatch.json +++ b/public/api/examples/institutionPatch.json @@ -1,7 +1,7 @@ { "data": { "type": "institutions", - "id": "980194320", + "id": "980207537", "attributes": { "title": "University of Manchester", "ror_id": "027m9bs27", diff --git a/public/api/examples/institutionPatchResponse.json b/public/api/examples/institutionPatchResponse.json index 84ec8ce02d..7387e3e256 100644 --- a/public/api/examples/institutionPatchResponse.json +++ b/public/api/examples/institutionPatchResponse.json @@ -1,11 +1,9 @@ { "data": { - "id": "980194320", + "id": "980207537", "type": "institutions", "attributes": { - "discussion_links": [ - - ], + "discussion_links": [], "avatar": null, "title": "University of Manchester", "department": null, @@ -18,25 +16,21 @@ }, "relationships": { "people": { - "data": [ - - ] + "data": [] }, "projects": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/institutions/980194320" + "self": "/institutions/980207537" }, "meta": { - "created": "2026-06-16T14:32:56.961Z", - "modified": "2026-06-16T14:32:57.013Z", + "created": "2026-08-27T08:46:04.044Z", + "modified": "2026-08-27T08:46:04.098Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "439a514d-18de-4677-97bd-181a567c2d17" + "uuid": "998dc956-47e9-43de-a57f-6e87f78caeeb" } }, "jsonapi": { diff --git a/public/api/examples/institutionPostResponse.json b/public/api/examples/institutionPostResponse.json index c155c73b06..da43aaca9f 100644 --- a/public/api/examples/institutionPostResponse.json +++ b/public/api/examples/institutionPostResponse.json @@ -1,11 +1,9 @@ { "data": { - "id": "980194303", + "id": "980207520", "type": "institutions", "attributes": { - "discussion_links": [ - - ], + "discussion_links": [], "avatar": null, "title": "University of Manchester", "department": null, @@ -18,25 +16,21 @@ }, "relationships": { "people": { - "data": [ - - ] + "data": [] }, "projects": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/institutions/980194303" + "self": "/institutions/980207520" }, "meta": { - "created": "2026-06-16T14:32:54.141Z", - "modified": "2026-06-16T14:32:54.141Z", + "created": "2026-08-27T08:46:02.793Z", + "modified": "2026-08-27T08:46:02.793Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "7db6b9b9-66fe-4ff0-b1c9-54839a5a56a6" + "uuid": "7db743e3-3bba-424a-80cc-a3bc9ee3bf98" } }, "jsonapi": { diff --git a/public/api/examples/institutionResponse.json b/public/api/examples/institutionResponse.json index c2e5d188f1..093fb2d966 100644 --- a/public/api/examples/institutionResponse.json +++ b/public/api/examples/institutionResponse.json @@ -1,11 +1,11 @@ { "data": { - "id": "980194316", + "id": "980207533", "type": "institutions", "attributes": { "discussion_links": [ { - "id": "129", + "id": "357", "label": "Slack", "url": "http://www.slack.com/" } @@ -22,25 +22,21 @@ }, "relationships": { "people": { - "data": [ - - ] + "data": [] }, "projects": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/institutions/980194316" + "self": "/institutions/980207533" }, "meta": { - "created": "2026-06-16T14:32:56.643Z", - "modified": "2026-06-16T14:32:56.643Z", + "created": "2026-08-27T08:46:03.705Z", + "modified": "2026-08-27T08:46:03.705Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "41a4c732-f221-406b-9e21-7260d85296d5" + "uuid": "8011d72c-f90c-42e9-8075-c8e3d4287bf6" } }, "jsonapi": { diff --git a/public/api/examples/institutionsResponse.json b/public/api/examples/institutionsResponse.json index 6aa2841717..affcd07380 100644 --- a/public/api/examples/institutionsResponse.json +++ b/public/api/examples/institutionsResponse.json @@ -1,33 +1,33 @@ { "data": [ { - "id": "980194308", + "id": "980207525", "type": "institutions", "attributes": { "title": "A Minimal Institution" }, "links": { - "self": "/institutions/980194308" + "self": "/institutions/980207525" } }, { - "id": "980194309", + "id": "980207526", "type": "institutions", "attributes": { - "title": "An Institution: 3339" + "title": "An Institution: 3752" }, "links": { - "self": "/institutions/980194309" + "self": "/institutions/980207526" } }, { - "id": "980194310", + "id": "980207527", "type": "institutions", "attributes": { "title": "Manchester Institute of Biotechnology, University of Manchester" }, "links": { - "self": "/institutions/980194310" + "self": "/institutions/980207527" } } ], diff --git a/public/api/examples/investigationPatch.json b/public/api/examples/investigationPatch.json index 7054121bdf..8966a3611d 100644 --- a/public/api/examples/investigationPatch.json +++ b/public/api/examples/investigationPatch.json @@ -1,7 +1,7 @@ { "data": { "type": "investigations", - "id": "973655673", + "id": "973655863", "attributes": { "title": "A Maximal Investigation", "policy": { @@ -10,14 +10,14 @@ { "resource": { "type": "projects", - "id": "1022255499" + "id": "1022265481" }, "access": "manage" }, { "resource": { "type": "projects", - "id": "1022255532" + "id": "1022265514" }, "access": "manage" } @@ -31,18 +31,18 @@ "data": [ { "type": "projects", - "id": "1022255499" + "id": "1022265481" }, { "type": "projects", - "id": "1022255532" + "id": "1022265514" } ] }, "publications": { "data": [ { - "id": "345", + "id": "283", "type": "publications" } ] @@ -50,7 +50,7 @@ "creators": { "data": [ { - "id": "1039991419", + "id": "1040001382", "type": "people" } ] diff --git a/public/api/examples/investigationPatchResponse.json b/public/api/examples/investigationPatchResponse.json index 28b770e15e..7cb6fdbf5c 100644 --- a/public/api/examples/investigationPatchResponse.json +++ b/public/api/examples/investigationPatchResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "973655673", + "id": "973655863", "type": "investigations", "attributes": { "policy": { @@ -8,36 +8,32 @@ "permissions": [ { "resource": { - "id": "1022255499", + "id": "1022265481", "type": "projects" }, "access": "manage" }, { "resource": { - "id": "1022255532", + "id": "1022265514", "type": "projects" }, "access": "manage" } ] }, - "discussion_links": [ - - ], - "snapshots": [ - - ], + "discussion_links": [], + "snapshots": [], "title": "A Maximal Investigation", "description": "This is a more complex investigation", "other_creators": "Max Blumenthal, Ed Snowden", "position": null, "creators": [ { - "profile": "/people/1039991419", + "profile": "/people/1040001382", "family_name": "Last", - "given_name": "Person4191", - "affiliation": "An Institution: 5022, An Institution: 5056", + "given_name": "Person1910", + "affiliation": "An Institution: 2214, An Institution: 2248", "orcid": null } ] @@ -46,7 +42,7 @@ "creators": { "data": [ { - "id": "1039991419", + "id": "1040001382", "type": "people" } ] @@ -54,7 +50,7 @@ "submitter": { "data": [ { - "id": "1039991419", + "id": "1040001382", "type": "people" } ] @@ -62,7 +58,7 @@ "people": { "data": [ { - "id": "1039991419", + "id": "1040001382", "type": "people" } ] @@ -70,63 +66,51 @@ "projects": { "data": [ { - "id": "1022255499", + "id": "1022265481", "type": "projects" }, { - "id": "1022255532", + "id": "1022265514", "type": "projects" } ] }, "studies": { - "data": [ - - ] + "data": [] }, "assays": { - "data": [ - - ] + "data": [] }, "data_files": { - "data": [ - - ] + "data": [] }, "models": { - "data": [ - - ] + "data": [] }, "sops": { - "data": [ - - ] + "data": [] }, "publications": { "data": [ { - "id": "345", + "id": "283", "type": "publications" } ] }, "documents": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/investigations/973655673" + "self": "/investigations/973655863" }, "meta": { - "created": "2026-06-16T14:38:23.410Z", - "modified": "2026-06-16T14:38:23.455Z", + "created": "2026-08-27T08:41:59.384Z", + "modified": "2026-08-27T08:41:59.430Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "8ad48bf2-e4f0-444b-b05e-9de11392192a" + "uuid": "aae8f977-6ab2-4666-a724-d7b575acbae7" } }, "jsonapi": { diff --git a/public/api/examples/investigationPost.json b/public/api/examples/investigationPost.json index 317a6398fc..bcee7e363b 100644 --- a/public/api/examples/investigationPost.json +++ b/public/api/examples/investigationPost.json @@ -9,14 +9,14 @@ { "resource": { "type": "projects", - "id": "1022255344" + "id": "1022265326" }, "access": "manage" }, { "resource": { "type": "projects", - "id": "1022255377" + "id": "1022265359" }, "access": "manage" } @@ -30,18 +30,18 @@ "data": [ { "type": "projects", - "id": "1022255344" + "id": "1022265326" }, { "type": "projects", - "id": "1022255377" + "id": "1022265359" } ] }, "publications": { "data": [ { - "id": "334", + "id": "272", "type": "publications" } ] @@ -49,7 +49,7 @@ "creators": { "data": [ { - "id": "1039991270", + "id": "1040001233", "type": "people" } ] diff --git a/public/api/examples/investigationPostResponse.json b/public/api/examples/investigationPostResponse.json index 614b5329a5..f40c1b79c9 100644 --- a/public/api/examples/investigationPostResponse.json +++ b/public/api/examples/investigationPostResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "973655629", + "id": "973655819", "type": "investigations", "attributes": { "policy": { @@ -8,36 +8,32 @@ "permissions": [ { "resource": { - "id": "1022255344", + "id": "1022265326", "type": "projects" }, "access": "manage" }, { "resource": { - "id": "1022255377", + "id": "1022265359", "type": "projects" }, "access": "manage" } ] }, - "discussion_links": [ - - ], - "snapshots": [ - - ], + "discussion_links": [], + "snapshots": [], "title": "A Maximal Investigation", "description": "This is a more complex investigation", "other_creators": "Max Blumenthal, Ed Snowden", "position": null, "creators": [ { - "profile": "/people/1039991270", + "profile": "/people/1040001233", "family_name": "Last", - "given_name": "Person4060", - "affiliation": "An Institution: 4870, An Institution: 4904", + "given_name": "Person1779", + "affiliation": "An Institution: 2062, An Institution: 2096", "orcid": null } ] @@ -46,7 +42,7 @@ "creators": { "data": [ { - "id": "1039991270", + "id": "1040001233", "type": "people" } ] @@ -54,7 +50,7 @@ "submitter": { "data": [ { - "id": "1039991270", + "id": "1040001233", "type": "people" } ] @@ -62,7 +58,7 @@ "people": { "data": [ { - "id": "1039991270", + "id": "1040001233", "type": "people" } ] @@ -70,63 +66,51 @@ "projects": { "data": [ { - "id": "1022255344", + "id": "1022265326", "type": "projects" }, { - "id": "1022255377", + "id": "1022265359", "type": "projects" } ] }, "studies": { - "data": [ - - ] + "data": [] }, "assays": { - "data": [ - - ] + "data": [] }, "data_files": { - "data": [ - - ] + "data": [] }, "models": { - "data": [ - - ] + "data": [] }, "sops": { - "data": [ - - ] + "data": [] }, "publications": { "data": [ { - "id": "334", + "id": "272", "type": "publications" } ] }, "documents": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/investigations/973655629" + "self": "/investigations/973655819" }, "meta": { - "created": "2026-06-16T14:37:56.703Z", - "modified": "2026-06-16T14:37:56.651Z", + "created": "2026-08-27T08:41:31.658Z", + "modified": "2026-08-27T08:41:31.607Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "2e81ca27-7441-45cb-8b37-5ad3691df2b6" + "uuid": "ddcbbbca-6561-4081-b190-973b6e939f22" } }, "jsonapi": { diff --git a/public/api/examples/investigationResponse.json b/public/api/examples/investigationResponse.json index 7ed27fc8ce..9e4ba0a943 100644 --- a/public/api/examples/investigationResponse.json +++ b/public/api/examples/investigationResponse.json @@ -1,31 +1,27 @@ { "data": { - "id": "973655664", + "id": "973655854", "type": "investigations", "attributes": { "policy": { "access": "no_access", - "permissions": [ - - ] + "permissions": [] }, "discussion_links": [ { - "id": "268", + "id": "302", "label": "Slack", "url": "http://www.slack.com/" } ], - "snapshots": [ - - ], + "snapshots": [], "title": "A Maximal Investigation", "description": "Investigation of the Human Genome", "other_creators": "Max Blumenthal, Ed Snowden", "position": null, "creators": [ { - "profile": "/people/1039991399", + "profile": "/people/1040001362", "family_name": "One", "given_name": "Some", "affiliation": "University of Somewhere", @@ -37,7 +33,7 @@ "creators": { "data": [ { - "id": "1039991399", + "id": "1040001362", "type": "people" } ] @@ -45,7 +41,7 @@ "submitter": { "data": [ { - "id": "1039991400", + "id": "1040001363", "type": "people" } ] @@ -53,11 +49,11 @@ "people": { "data": [ { - "id": "1039991399", + "id": "1040001362", "type": "people" }, { - "id": "1039991400", + "id": "1040001363", "type": "people" } ] @@ -65,7 +61,7 @@ "projects": { "data": [ { - "id": "1022255478", + "id": "1022265460", "type": "projects" } ] @@ -73,7 +69,7 @@ "studies": { "data": [ { - "id": "1060385622", + "id": "1060385706", "type": "studies" } ] @@ -81,7 +77,7 @@ "assays": { "data": [ { - "id": "1035387253", + "id": "1035387408", "type": "assays" } ] @@ -89,7 +85,7 @@ "data_files": { "data": [ { - "id": "883654561", + "id": "1055250839", "type": "data_files" } ] @@ -97,7 +93,7 @@ "models": { "data": [ { - "id": "1004285724", + "id": "1004285885", "type": "models" } ] @@ -105,7 +101,7 @@ "sops": { "data": [ { - "id": "1055250690", + "id": "1055250915", "type": "sops" } ] @@ -113,7 +109,7 @@ "publications": { "data": [ { - "id": "342", + "id": "280", "type": "publications" } ] @@ -121,21 +117,21 @@ "documents": { "data": [ { - "id": "287", + "id": "456", "type": "documents" } ] } }, "links": { - "self": "/investigations/973655664" + "self": "/investigations/973655854" }, "meta": { - "created": "2026-06-16T14:38:17.440Z", - "modified": "2026-06-16T14:38:17.440Z", + "created": "2026-08-27T08:41:53.358Z", + "modified": "2026-08-27T08:41:53.358Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "bcc0e8e5-c05b-49b2-a629-9b04ecd22898" + "uuid": "ff2a7526-a762-424e-b884-7be9debd9e57" } }, "jsonapi": { diff --git a/public/api/examples/investigationsResponse.json b/public/api/examples/investigationsResponse.json index 1f59634376..61200647d9 100644 --- a/public/api/examples/investigationsResponse.json +++ b/public/api/examples/investigationsResponse.json @@ -1,23 +1,23 @@ { "data": [ { - "id": "973655646", + "id": "973655836", "type": "investigations", "attributes": { - "title": "Investigation720" + "title": "Investigation336" }, "links": { - "self": "/investigations/973655646" + "self": "/investigations/973655836" } }, { - "id": "973655640", + "id": "973655830", "type": "investigations", "attributes": { "title": "A Minimal Investigation" }, "links": { - "self": "/investigations/973655640" + "self": "/investigations/973655830" } } ], diff --git a/public/api/examples/isaTagResponse.json b/public/api/examples/isaTagResponse.json index 09b3491be8..b384e6f3b9 100644 --- a/public/api/examples/isaTagResponse.json +++ b/public/api/examples/isaTagResponse.json @@ -1,12 +1,12 @@ { "data": { - "id": "929390540", + "id": "929393073", "type": "isa_tags", "attributes": { "title": "Maximum isa tag" }, "links": { - "self": "/isa_tags/929390540" + "self": "/isa_tags/929393073" } }, "jsonapi": { diff --git a/public/api/examples/modelPatch.json b/public/api/examples/modelPatch.json index 54fd9cff0b..91e370ea9a 100644 --- a/public/api/examples/modelPatch.json +++ b/public/api/examples/modelPatch.json @@ -1,7 +1,7 @@ { "data": { "type": "models", - "id": "1004285607", + "id": "1004285780", "attributes": { "title": "A Maximally Patched Model", "description": "A simulation of a thing", @@ -17,7 +17,7 @@ "permissions": [ { "resource": { - "id": "1022253053", + "id": "1022263504", "type": "projects" }, "access": "edit" @@ -29,7 +29,7 @@ "environment": "JWS Online", "discussion_links": [ { - "id": "104", + "id": "166", "url": "http://yahoo.com", "label": "Yahoo" }, @@ -43,7 +43,7 @@ "creators": { "data": [ { - "id": "1039989054", + "id": "1039999453", "type": "people" } ] @@ -51,7 +51,7 @@ "organisms": { "data": [ { - "id": "627234365", + "id": "627234409", "type": "organisms" } ] @@ -59,7 +59,7 @@ "projects": { "data": [ { - "id": "1022253053", + "id": "1022263504", "type": "projects" } ] @@ -67,7 +67,7 @@ "assays": { "data": [ { - "id": "1035386957", + "id": "1035387114", "type": "assays" } ] @@ -75,7 +75,7 @@ "publications": { "data": [ { - "id": "210", + "id": "183", "type": "publications" } ] diff --git a/public/api/examples/modelPatchResponse.json b/public/api/examples/modelPatchResponse.json index 84b9dd0aa4..dbcd1fd5b9 100644 --- a/public/api/examples/modelPatchResponse.json +++ b/public/api/examples/modelPatchResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "1004285607", + "id": "1004285780", "type": "models", "attributes": { "policy": { @@ -8,7 +8,7 @@ "permissions": [ { "resource": { - "id": "1022253053", + "id": "1022263504", "type": "projects" }, "access": "edit" @@ -17,12 +17,12 @@ }, "discussion_links": [ { - "id": "104", + "id": "166", "label": "Yahoo", "url": "http://yahoo.com" }, { - "id": "105", + "id": "167", "label": "fish", "url": "https://fish.com" } @@ -40,14 +40,14 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/models/1004285607?version=1", + "url": "http://localhost:3000/models/1004285780?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:30:21.818Z", - "updated_at": "2026-06-16T14:30:22.262Z", + "created_at": "2026-08-27T08:35:56.771Z", + "updated_at": "2026-08-27T08:35:56.936Z", "doi": null, "content_blobs": [ { @@ -56,16 +56,16 @@ "md5sum": "6b9283ed4ca52a081398b715aaeb8113", "sha1sum": "454e4b6067f577b680bb8538772b12ebcdb6c4a4", "content_type": "application/xml", - "link": "http://localhost:3000/models/1004285607/content_blobs/1050453363", + "link": "http://localhost:3000/models/1004285780/content_blobs/1050455644", "size": 5933 } ], "creators": [ { - "profile": "/people/1039989054", + "profile": "/people/1039999453", "family_name": "Last", - "given_name": "Person2213", - "affiliation": "An Institution: 2589", + "given_name": "Person224", + "affiliation": "An Institution: 264", "orcid": null } ], @@ -79,7 +79,7 @@ "creators": { "data": [ { - "id": "1039989054", + "id": "1039999453", "type": "people" } ] @@ -87,7 +87,7 @@ "submitter": { "data": [ { - "id": "1039989052", + "id": "1039999451", "type": "people" } ] @@ -95,7 +95,7 @@ "organisms": { "data": [ { - "id": "627234365", + "id": "627234409", "type": "organisms" } ] @@ -103,11 +103,11 @@ "people": { "data": [ { - "id": "1039989052", + "id": "1039999451", "type": "people" }, { - "id": "1039989054", + "id": "1039999453", "type": "people" } ] @@ -115,7 +115,7 @@ "projects": { "data": [ { - "id": "1022253053", + "id": "1022263504", "type": "projects" } ] @@ -123,7 +123,7 @@ "investigations": { "data": [ { - "id": "973655262", + "id": "973655460", "type": "investigations" } ] @@ -131,7 +131,7 @@ "studies": { "data": [ { - "id": "1060385289", + "id": "1060385378", "type": "studies" } ] @@ -139,7 +139,7 @@ "assays": { "data": [ { - "id": "1035386957", + "id": "1035387114", "type": "assays" } ] @@ -147,21 +147,26 @@ "publications": { "data": [ { - "id": "210", + "id": "183", "type": "publications" } ] } }, "links": { - "self": "/models/1004285607?version=1" + "self": "/models/1004285780?version=1" }, "meta": { - "created": "2026-06-16T14:30:21.742Z", - "modified": "2026-06-16T14:30:22.191Z", + "created": "2026-08-27T08:35:56.750Z", + "modified": "2026-08-27T08:35:56.895Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "8ca26b7b-8b12-4e76-83d7-3cab4326faf4" + "uuid": "4d1ed249-0637-4fea-929e-c3a320118a25", + "metrics": { + "view_count": 0, + "run_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/modelPost.json b/public/api/examples/modelPost.json index 702ec902d4..29cf87b625 100644 --- a/public/api/examples/modelPost.json +++ b/public/api/examples/modelPost.json @@ -25,7 +25,7 @@ "permissions": [ { "resource": { - "id": "1022253021", + "id": "1022263472", "type": "projects" }, "access": "edit" @@ -46,7 +46,7 @@ "creators": { "data": [ { - "id": "1039989016", + "id": "1039999415", "type": "people" } ] @@ -54,7 +54,7 @@ "organisms": { "data": [ { - "id": "627234360", + "id": "627234404", "type": "organisms" } ] @@ -62,7 +62,7 @@ "projects": { "data": [ { - "id": "1022253021", + "id": "1022263472", "type": "projects" } ] @@ -70,7 +70,7 @@ "assays": { "data": [ { - "id": "1035386952", + "id": "1035387109", "type": "assays" } ] @@ -78,7 +78,7 @@ "publications": { "data": [ { - "id": "205", + "id": "178", "type": "publications" } ] diff --git a/public/api/examples/modelPostResponse.json b/public/api/examples/modelPostResponse.json index ff14f5d25b..dc7acc0d94 100644 --- a/public/api/examples/modelPostResponse.json +++ b/public/api/examples/modelPostResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "1004285596", + "id": "1004285769", "type": "models", "attributes": { "policy": { @@ -8,7 +8,7 @@ "permissions": [ { "resource": { - "id": "1022253021", + "id": "1022263472", "type": "projects" }, "access": "edit" @@ -17,7 +17,7 @@ }, "discussion_links": [ { - "id": "99", + "id": "161", "label": "Google", "url": "http://google.com" } @@ -34,14 +34,14 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/models/1004285596?version=1", + "url": "http://localhost:3000/models/1004285769?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:30:14.954Z", - "updated_at": "2026-06-16T14:30:14.954Z", + "created_at": "2026-08-27T08:35:49.187Z", + "updated_at": "2026-08-27T08:35:49.187Z", "doi": null, "content_blobs": [ { @@ -50,7 +50,7 @@ "md5sum": null, "sha1sum": null, "content_type": "application/pdf", - "link": "http://localhost:3000/models/1004285596/content_blobs/1050453349", + "link": "http://localhost:3000/models/1004285769/content_blobs/1050455630", "size": null }, { @@ -59,16 +59,16 @@ "md5sum": null, "sha1sum": null, "content_type": "application/xml", - "link": "http://localhost:3000/models/1004285596/content_blobs/1050453350", + "link": "http://localhost:3000/models/1004285769/content_blobs/1050455631", "size": null } ], "creators": [ { - "profile": "/people/1039989016", + "profile": "/people/1039999415", "family_name": "Last", - "given_name": "Person2180", - "affiliation": "An Institution: 2551", + "given_name": "Person191", + "affiliation": "An Institution: 226", "orcid": null } ], @@ -82,7 +82,7 @@ "creators": { "data": [ { - "id": "1039989016", + "id": "1039999415", "type": "people" } ] @@ -90,7 +90,7 @@ "submitter": { "data": [ { - "id": "1039989014", + "id": "1039999413", "type": "people" } ] @@ -98,7 +98,7 @@ "organisms": { "data": [ { - "id": "627234360", + "id": "627234404", "type": "organisms" } ] @@ -106,11 +106,11 @@ "people": { "data": [ { - "id": "1039989014", + "id": "1039999413", "type": "people" }, { - "id": "1039989016", + "id": "1039999415", "type": "people" } ] @@ -118,7 +118,7 @@ "projects": { "data": [ { - "id": "1022253021", + "id": "1022263472", "type": "projects" } ] @@ -126,7 +126,7 @@ "investigations": { "data": [ { - "id": "973655257", + "id": "973655455", "type": "investigations" } ] @@ -134,7 +134,7 @@ "studies": { "data": [ { - "id": "1060385284", + "id": "1060385373", "type": "studies" } ] @@ -142,7 +142,7 @@ "assays": { "data": [ { - "id": "1035386952", + "id": "1035387109", "type": "assays" } ] @@ -150,21 +150,25 @@ "publications": { "data": [ { - "id": "205", + "id": "178", "type": "publications" } ] } }, "links": { - "self": "/models/1004285596?version=1" + "self": "/models/1004285769?version=1" }, "meta": { - "created": "2026-06-16T14:30:14.919Z", - "modified": "2026-06-16T14:30:14.954Z", + "created": "2026-08-27T08:35:49.128Z", + "modified": "2026-08-27T08:35:49.187Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "cd8a330f-d7f6-4189-95e8-6bdbbe1210e2" + "uuid": "f3fad9cb-7afc-48f5-8fdb-a4f791b3b78e", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/modelResponse.json b/public/api/examples/modelResponse.json index 1a266aa64c..6d6195912f 100644 --- a/public/api/examples/modelResponse.json +++ b/public/api/examples/modelResponse.json @@ -1,17 +1,15 @@ { "data": { - "id": "1004285605", + "id": "1004285778", "type": "models", "attributes": { "policy": { "access": "no_access", - "permissions": [ - - ] + "permissions": [] }, "discussion_links": [ { - "id": "103", + "id": "165", "label": "Slack", "url": "http://www.slack.com/" } @@ -31,14 +29,14 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/models/1004285605?version=1", + "url": "http://localhost:3000/models/1004285778?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:30:19.524Z", - "updated_at": "2026-06-16T14:30:19.629Z", + "created_at": "2026-08-27T08:35:55.162Z", + "updated_at": "2026-08-27T08:35:55.371Z", "doi": null, "content_blobs": [ { @@ -47,7 +45,7 @@ "md5sum": "6b9283ed4ca52a081398b715aaeb8113", "sha1sum": "454e4b6067f577b680bb8538772b12ebcdb6c4a4", "content_type": "application/xml", - "link": "http://localhost:3000/models/1004285605/content_blobs/1050453360", + "link": "http://localhost:3000/models/1004285778/content_blobs/1050455641", "size": 5933 }, { @@ -56,13 +54,13 @@ "md5sum": "01788bca93265d80e8127ca0039bb69b", "sha1sum": "ffd634ac7564083ab7b66bc3eb2053cbc3d608f5", "content_type": "application/vnd.ms-excel", - "link": "http://localhost:3000/models/1004285605/content_blobs/1050453361", + "link": "http://localhost:3000/models/1004285778/content_blobs/1050455642", "size": 9216 } ], "creators": [ { - "profile": "/people/1039989049", + "profile": "/people/1039999448", "family_name": "One", "given_name": "Some", "affiliation": "University of Somewhere", @@ -79,7 +77,7 @@ "creators": { "data": [ { - "id": "1039989049", + "id": "1039999448", "type": "people" } ] @@ -87,7 +85,7 @@ "submitter": { "data": [ { - "id": "1039989050", + "id": "1039999449", "type": "people" } ] @@ -95,7 +93,7 @@ "organisms": { "data": [ { - "id": "627234364", + "id": "627234408", "type": "organisms" } ] @@ -103,11 +101,11 @@ "people": { "data": [ { - "id": "1039989049", + "id": "1039999448", "type": "people" }, { - "id": "1039989050", + "id": "1039999449", "type": "people" } ] @@ -115,7 +113,7 @@ "projects": { "data": [ { - "id": "1022253051", + "id": "1022263502", "type": "projects" } ] @@ -123,7 +121,7 @@ "investigations": { "data": [ { - "id": "973655261", + "id": "973655459", "type": "investigations" } ] @@ -131,7 +129,7 @@ "studies": { "data": [ { - "id": "1060385288", + "id": "1060385377", "type": "studies" } ] @@ -139,7 +137,7 @@ "assays": { "data": [ { - "id": "1035386956", + "id": "1035387113", "type": "assays" } ] @@ -147,21 +145,26 @@ "publications": { "data": [ { - "id": "209", + "id": "182", "type": "publications" } ] } }, "links": { - "self": "/models/1004285605?version=1" + "self": "/models/1004285778?version=1" }, "meta": { - "created": "2026-06-16T14:30:19.492Z", - "modified": "2026-06-16T14:30:19.524Z", + "created": "2026-08-27T08:35:55.117Z", + "modified": "2026-08-27T08:35:55.162Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "c6f4391a-b3f2-47a8-abe5-9505349c8633" + "uuid": "3bc6185f-9e7f-4a1c-b933-564aef42d974", + "metrics": { + "view_count": 0, + "run_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/modelsResponse.json b/public/api/examples/modelsResponse.json index c72b698451..8f1ac0f203 100644 --- a/public/api/examples/modelsResponse.json +++ b/public/api/examples/modelsResponse.json @@ -1,7 +1,5 @@ { - "data": [ - - ], + "data": [], "jsonapi": { "version": "1.0" }, diff --git a/public/api/examples/observationUnitPatch.json b/public/api/examples/observationUnitPatch.json index f1dae5d6ba..74d032aa0a 100644 --- a/public/api/examples/observationUnitPatch.json +++ b/public/api/examples/observationUnitPatch.json @@ -1,6 +1,6 @@ { "data": { - "id": "32", + "id": "81", "type": "observation_units", "attributes": { "policy": { @@ -8,7 +8,7 @@ "permissions": [ { "resource": { - "id": "1022252612", + "id": "1022267315", "type": "projects" }, "access": "edit" @@ -23,7 +23,7 @@ "tag3" ], "extended_attributes": { - "extended_metadata_type_id": "76", + "extended_metadata_type_id": "449", "attribute_map": { "name": "unit 2", "strain": "strain 2" @@ -40,21 +40,21 @@ "creators": { "data": [ { - "id": "1039988561", + "id": "1040003326", "type": "people" } ] }, "study": { "data": { - "id": "1060385257", + "id": "1060386020", "type": "studies" } }, "samples": { "data": [ { - "id": "190", + "id": "10434", "type": "samples" } ] @@ -62,7 +62,7 @@ "data_files": { "data": [ { - "id": "883654476", + "id": "1055250962", "type": "data_files" } ] diff --git a/public/api/examples/observationUnitPatchResponse.json b/public/api/examples/observationUnitPatchResponse.json index 1ee4742760..790a9738ee 100644 --- a/public/api/examples/observationUnitPatchResponse.json +++ b/public/api/examples/observationUnitPatchResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "32", + "id": "81", "type": "observation_units", "attributes": { "policy": { @@ -8,7 +8,7 @@ "permissions": [ { "resource": { - "id": "1022252612", + "id": "1022267315", "type": "projects" }, "access": "edit" @@ -17,13 +17,13 @@ }, "discussion_links": [ { - "id": "66", + "id": "368", "label": "Google", "url": "http://google.com" } ], "extended_attributes": { - "extended_metadata_type_id": "76", + "extended_metadata_type_id": "449", "attribute_map": { "name": "unit 2", "strain": "strain 2" @@ -36,14 +36,14 @@ "tag2", "tag3" ], - "created_at": "2026-06-16T14:28:32.176Z", - "updated_at": "2026-06-16T14:28:32.284Z", + "created_at": "2026-08-27T08:47:10.564Z", + "updated_at": "2026-08-27T08:47:10.679Z", "creators": [ { - "profile": "/people/1039988561", + "profile": "/people/1040003326", "family_name": "Last", - "given_name": "Person1807", - "affiliation": "An Institution: 2096", + "given_name": "Person3533", + "affiliation": "An Institution: 4182", "orcid": null } ], @@ -53,7 +53,7 @@ "creators": { "data": [ { - "id": "1039988561", + "id": "1040003326", "type": "people" } ] @@ -61,7 +61,7 @@ "submitter": { "data": [ { - "id": "1039988559", + "id": "1040003324", "type": "people" } ] @@ -69,11 +69,11 @@ "people": { "data": [ { - "id": "1039988561", + "id": "1040003326", "type": "people" }, { - "id": "1039988559", + "id": "1040003324", "type": "people" } ] @@ -81,21 +81,21 @@ "projects": { "data": [ { - "id": "1022252612", + "id": "1022267315", "type": "projects" } ] }, "study": { "data": { - "id": "1060385257", + "id": "1060386020", "type": "studies" } }, "samples": { "data": [ { - "id": "190", + "id": "10434", "type": "samples" } ] @@ -103,21 +103,24 @@ "data_files": { "data": [ { - "id": "883654476", + "id": "1055250962", "type": "data_files" } ] } }, "links": { - "self": "/observation_units/32" + "self": "/observation_units/81" }, "meta": { - "created": "2026-06-16T14:28:32.176Z", - "modified": "2026-06-16T14:28:32.284Z", + "created": "2026-08-27T08:47:10.564Z", + "modified": "2026-08-27T08:47:10.679Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "7e7e5750-b24f-44ad-9f54-d275b230e59c" + "uuid": "3f31ae26-3587-4b6f-afc8-3a3a393a6683", + "metrics": { + "view_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/observationUnitPost.json b/public/api/examples/observationUnitPost.json index a55753e7a1..98e1a10a6f 100644 --- a/public/api/examples/observationUnitPost.json +++ b/public/api/examples/observationUnitPost.json @@ -7,7 +7,7 @@ "permissions": [ { "resource": { - "id": "1022252573", + "id": "1022267276", "type": "projects" }, "access": "edit" @@ -21,7 +21,7 @@ "tag2" ], "extended_attributes": { - "extended_metadata_type_id": "71", + "extended_metadata_type_id": "444", "attribute_map": { "name": "unit 1", "strain": "strain 1" @@ -38,21 +38,21 @@ "creators": { "data": [ { - "id": "1039988522", + "id": "1040003287", "type": "people" } ] }, "study": { "data": { - "id": "1060385248", + "id": "1060386011", "type": "studies" } }, "samples": { "data": [ { - "id": "181", + "id": "10425", "type": "samples" } ] @@ -60,7 +60,7 @@ "data_files": { "data": [ { - "id": "883654467", + "id": "1055250953", "type": "data_files" } ] diff --git a/public/api/examples/observationUnitPostResponse.json b/public/api/examples/observationUnitPostResponse.json index 968205f31d..655c3e7bd0 100644 --- a/public/api/examples/observationUnitPostResponse.json +++ b/public/api/examples/observationUnitPostResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "26", + "id": "75", "type": "observation_units", "attributes": { "policy": { @@ -8,7 +8,7 @@ "permissions": [ { "resource": { - "id": "1022252573", + "id": "1022267276", "type": "projects" }, "access": "edit" @@ -17,13 +17,13 @@ }, "discussion_links": [ { - "id": "65", + "id": "367", "label": "Google", "url": "http://google.com" } ], "extended_attributes": { - "extended_metadata_type_id": "71", + "extended_metadata_type_id": "444", "attribute_map": { "name": "unit 1", "strain": "strain 1" @@ -35,14 +35,14 @@ "tag1", "tag2" ], - "created_at": "2026-06-16T14:28:26.035Z", - "updated_at": "2026-06-16T14:28:25.972Z", + "created_at": "2026-08-27T08:47:03.489Z", + "updated_at": "2026-08-27T08:47:03.434Z", "creators": [ { - "profile": "/people/1039988522", + "profile": "/people/1040003287", "family_name": "Last", - "given_name": "Person1773", - "affiliation": "An Institution: 2057", + "given_name": "Person3499", + "affiliation": "An Institution: 4143", "orcid": null } ], @@ -52,7 +52,7 @@ "creators": { "data": [ { - "id": "1039988522", + "id": "1040003287", "type": "people" } ] @@ -60,7 +60,7 @@ "submitter": { "data": [ { - "id": "1039988520", + "id": "1040003285", "type": "people" } ] @@ -68,11 +68,11 @@ "people": { "data": [ { - "id": "1039988522", + "id": "1040003287", "type": "people" }, { - "id": "1039988520", + "id": "1040003285", "type": "people" } ] @@ -80,21 +80,21 @@ "projects": { "data": [ { - "id": "1022252573", + "id": "1022267276", "type": "projects" } ] }, "study": { "data": { - "id": "1060385248", + "id": "1060386011", "type": "studies" } }, "samples": { "data": [ { - "id": "181", + "id": "10425", "type": "samples" } ] @@ -102,21 +102,24 @@ "data_files": { "data": [ { - "id": "883654467", + "id": "1055250953", "type": "data_files" } ] } }, "links": { - "self": "/observation_units/26" + "self": "/observation_units/75" }, "meta": { - "created": "2026-06-16T14:28:26.035Z", - "modified": "2026-06-16T14:28:25.972Z", + "created": "2026-08-27T08:47:03.489Z", + "modified": "2026-08-27T08:47:03.434Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "8ad9be86-e52e-4822-89f0-e242eafe0993" + "uuid": "6ac676a7-38fe-401a-b66f-3a7f954445d5", + "metrics": { + "view_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/observationUnitResponse.json b/public/api/examples/observationUnitResponse.json index 076996da29..c95a51e2a8 100644 --- a/public/api/examples/observationUnitResponse.json +++ b/public/api/examples/observationUnitResponse.json @@ -1,19 +1,15 @@ { "data": { - "id": "31", + "id": "80", "type": "observation_units", "attributes": { "policy": { "access": "manage", - "permissions": [ - - ] + "permissions": [] }, - "discussion_links": [ - - ], + "discussion_links": [], "extended_attributes": { - "extended_metadata_type_id": "75", + "extended_metadata_type_id": "448", "attribute_map": { "name": "unit 1", "strain": "strain 1" @@ -21,14 +17,12 @@ }, "title": "Max observation unit", "description": "the maximum one", - "tags": [ - - ], - "created_at": "2026-06-16T14:28:30.901Z", - "updated_at": "2026-06-16T14:28:30.901Z", + "tags": [], + "created_at": "2026-08-27T08:47:09.383Z", + "updated_at": "2026-08-27T08:47:09.383Z", "creators": [ { - "profile": "/people/1039988547", + "profile": "/people/1040003312", "family_name": "One", "given_name": "Some", "affiliation": "University of Somewhere", @@ -41,7 +35,7 @@ "creators": { "data": [ { - "id": "1039988547", + "id": "1040003312", "type": "people" } ] @@ -49,7 +43,7 @@ "submitter": { "data": [ { - "id": "1039988548", + "id": "1040003313", "type": "people" } ] @@ -57,11 +51,11 @@ "people": { "data": [ { - "id": "1039988547", + "id": "1040003312", "type": "people" }, { - "id": "1039988548", + "id": "1040003313", "type": "people" } ] @@ -69,48 +63,49 @@ "projects": { "data": [ { - "id": "1022252601", + "id": "1022267304", "type": "projects" } ] }, "study": { "data": { - "id": "1060385256", + "id": "1060386019", "type": "studies" } }, "samples": { "data": [ { - "id": "187", + "id": "10431", "type": "samples" }, { - "id": "188", + "id": "10432", "type": "samples" }, { - "id": "189", + "id": "10433", "type": "samples" } ] }, "data_files": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/observation_units/31" + "self": "/observation_units/80" }, "meta": { - "created": "2026-06-16T14:28:30.901Z", - "modified": "2026-06-16T14:28:30.901Z", + "created": "2026-08-27T08:47:09.383Z", + "modified": "2026-08-27T08:47:09.383Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "59e37115-d414-43cd-8a51-95d9bde7d7b6" + "uuid": "fe3b66d3-efc3-4e6f-b455-661b337be5b0", + "metrics": { + "view_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/observationUnitsResponse.json b/public/api/examples/observationUnitsResponse.json index 14f1ab8b8a..12319fab3b 100644 --- a/public/api/examples/observationUnitsResponse.json +++ b/public/api/examples/observationUnitsResponse.json @@ -1,23 +1,23 @@ { "data": [ { - "id": "29", + "id": "78", "type": "observation_units", "attributes": { "title": "Max observation unit" }, "links": { - "self": "/observation_units/29" + "self": "/observation_units/78" } }, { - "id": "28", + "id": "77", "type": "observation_units", "attributes": { "title": "A Minimal Observation Unit" }, "links": { - "self": "/observation_units/28" + "self": "/observation_units/77" } } ], diff --git a/public/api/examples/organismResponse.json b/public/api/examples/organismResponse.json index f0847a5f74..f9af3eb6a5 100644 --- a/public/api/examples/organismResponse.json +++ b/public/api/examples/organismResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "627234442", + "id": "627234496", "type": "organisms", "attributes": { "title": "A Maximal Organism", @@ -11,7 +11,7 @@ "projects": { "data": [ { - "id": "1022255574", + "id": "1022267072", "type": "projects" } ] @@ -19,7 +19,7 @@ "assays": { "data": [ { - "id": "1035387263", + "id": "1035387607", "type": "assays" } ] @@ -27,21 +27,21 @@ "models": { "data": [ { - "id": "1004285732", + "id": "1004285937", "type": "models" } ] } }, "links": { - "self": "/organisms/627234442" + "self": "/organisms/627234496" }, "meta": { - "created": "2026-06-16T14:38:27.837Z", - "modified": "2026-06-16T14:38:27.837Z", + "created": "2026-08-27T08:46:27.772Z", + "modified": "2026-08-27T08:46:27.772Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "20a5f4de-ed10-486b-a654-6b8590a6cbed" + "uuid": "0b07d48e-7636-48ab-aff3-9c9a389d18f5" } }, "jsonapi": { diff --git a/public/api/examples/organismsResponse.json b/public/api/examples/organismsResponse.json index 8521c51f8c..d7957c5ea5 100644 --- a/public/api/examples/organismsResponse.json +++ b/public/api/examples/organismsResponse.json @@ -1,23 +1,23 @@ { "data": [ { - "id": "627234440", + "id": "627234494", "type": "organisms", "attributes": { "title": "A Maximal Organism" }, "links": { - "self": "/organisms/627234440" + "self": "/organisms/627234494" } }, { - "id": "627234439", + "id": "627234493", "type": "organisms", "attributes": { "title": "A Minimal Organism" }, "links": { - "self": "/organisms/627234439" + "self": "/organisms/627234493" } } ], diff --git a/public/api/examples/peopleResponse.json b/public/api/examples/peopleResponse.json index 44e28e7c12..baf5df8111 100644 --- a/public/api/examples/peopleResponse.json +++ b/public/api/examples/peopleResponse.json @@ -151,53 +151,53 @@ } }, { - "id": "1039989155", + "id": "1040000117", "type": "people", "attributes": { "title": "default admin Last" }, "links": { - "self": "/people/1039989155" + "self": "/people/1040000117" } }, { - "id": "1039989156", + "id": "1040000118", "type": "people", "attributes": { - "title": "Person2286 Last" + "title": "Person805 Last" }, "links": { - "self": "/people/1039989156" + "self": "/people/1040000118" } }, { - "id": "1039989157", + "id": "1040000119", "type": "people", "attributes": { - "title": "Person2287 Last" + "title": "Person806 Last" }, "links": { - "self": "/people/1039989157" + "self": "/people/1040000119" } }, { - "id": "1039989158", + "id": "1040000120", "type": "people", "attributes": { - "title": "Person2288 Last" + "title": "Person807 Last" }, "links": { - "self": "/people/1039989158" + "self": "/people/1040000120" } }, { - "id": "1039989160", + "id": "1040000122", "type": "people", "attributes": { - "title": "Person2289 Last" + "title": "Person808 Last" }, "links": { - "self": "/people/1039989160" + "self": "/people/1040000122" } }, { @@ -211,23 +211,23 @@ } }, { - "id": "1039989161", + "id": "1040000123", "type": "people", "attributes": { "title": "Maximilian Maxi-Mum" }, "links": { - "self": "/people/1039989161" + "self": "/people/1040000123" } }, { - "id": "1039989159", + "id": "1040000121", "type": "people", "attributes": { "title": "Minimal" }, "links": { - "self": "/people/1039989159" + "self": "/people/1040000121" } }, { diff --git a/public/api/examples/personPatch.json b/public/api/examples/personPatch.json index f87ca7fe58..730ec4d97c 100644 --- a/public/api/examples/personPatch.json +++ b/public/api/examples/personPatch.json @@ -1,6 +1,6 @@ { "data": { - "id": "1039989171", + "id": "1040000133", "type": "people", "attributes": { "first_name": "Patched", diff --git a/public/api/examples/personPatchResponse.json b/public/api/examples/personPatchResponse.json index 4e39abbfa8..d6630f833b 100644 --- a/public/api/examples/personPatchResponse.json +++ b/public/api/examples/personPatchResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "1039989171", + "id": "1040000133", "type": "people", "attributes": { "avatar": null, @@ -19,13 +19,13 @@ "Gromacs", "Python" ], - "login": "user2693" + "login": "user934" }, "relationships": { "projects": { "data": [ { - "id": "1022253164", + "id": "1022264179", "type": "projects" } ] @@ -33,81 +33,57 @@ "institutions": { "data": [ { - "id": "980193662", + "id": "980204705", "type": "institutions" } ] }, "investigations": { - "data": [ - - ] + "data": [] }, "studies": { - "data": [ - - ] + "data": [] }, "assays": { - "data": [ - - ] + "data": [] }, "data_files": { - "data": [ - - ] + "data": [] }, "models": { - "data": [ - - ] + "data": [] }, "sops": { - "data": [ - - ] + "data": [] }, "publications": { - "data": [ - - ] + "data": [] }, "presentations": { - "data": [ - - ] + "data": [] }, "events": { - "data": [ - - ] + "data": [] }, "documents": { - "data": [ - - ] + "data": [] }, "workflows": { - "data": [ - - ] + "data": [] }, "collections": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/people/1039989171" + "self": "/people/1040000133" }, "meta": { - "created": "2026-06-16T14:30:45.309Z", - "modified": "2026-06-16T14:30:45.385Z", + "created": "2026-08-27T08:38:12.003Z", + "modified": "2026-08-27T08:38:12.079Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "0ef5257f-1a8e-4456-9571-bbaf356730ef" + "uuid": "a7509272-cd00-47a5-9007-d6bf8c3ec536" } }, "jsonapi": { diff --git a/public/api/examples/personPost.json b/public/api/examples/personPost.json index 38492dc2b6..a7fde08ac2 100644 --- a/public/api/examples/personPost.json +++ b/public/api/examples/personPost.json @@ -3,8 +3,8 @@ "type": "people", "attributes": { "first_name": "Post", - "last_name": "Person1039989154", - "email": "maxtest1039989154@test.com", + "last_name": "Person1040000116", + "email": "maxtest1040000116@test.com", "description": "A person with all possible details", "web_page": "http://www.website.com", "orcid": "https://orcid.org/0000-0001-9842-9718", diff --git a/public/api/examples/personPostResponse.json b/public/api/examples/personPostResponse.json index 37aeb79a05..6fb31578c4 100644 --- a/public/api/examples/personPostResponse.json +++ b/public/api/examples/personPostResponse.json @@ -1,15 +1,15 @@ { "data": { - "id": "1039989154", + "id": "1040000116", "type": "people", "attributes": { "avatar": null, - "title": "Post Person1039989154", + "title": "Post Person1040000116", "description": "A person with all possible details", "first_name": "Post", - "last_name": "Person1039989154", + "last_name": "Person1040000116", "orcid": "https://orcid.org/0000-0001-9842-9718", - "mbox_sha1sum": "0bced8f2b7f214772078c72b56ec0fcde88fb1a6", + "mbox_sha1sum": "e273b7a598ea25781ebe52c89ea18c64652838dd", "expertise": [ "modeling", "programming" @@ -23,85 +23,57 @@ }, "relationships": { "projects": { - "data": [ - - ] + "data": [] }, "institutions": { - "data": [ - - ] + "data": [] }, "investigations": { - "data": [ - - ] + "data": [] }, "studies": { - "data": [ - - ] + "data": [] }, "assays": { - "data": [ - - ] + "data": [] }, "data_files": { - "data": [ - - ] + "data": [] }, "models": { - "data": [ - - ] + "data": [] }, "sops": { - "data": [ - - ] + "data": [] }, "publications": { - "data": [ - - ] + "data": [] }, "presentations": { - "data": [ - - ] + "data": [] }, "events": { - "data": [ - - ] + "data": [] }, "documents": { - "data": [ - - ] + "data": [] }, "workflows": { - "data": [ - - ] + "data": [] }, "collections": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/people/1039989154" + "self": "/people/1040000116" }, "meta": { - "created": "2026-06-16T14:30:41.124Z", - "modified": "2026-06-16T14:30:41.124Z", + "created": "2026-08-27T08:38:07.907Z", + "modified": "2026-08-27T08:38:07.907Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "a9908b81-1626-4d89-b42d-d2a7b3e5e425" + "uuid": "9923d74f-8c5f-4d31-bf01-fe67f66dff65" } }, "jsonapi": { diff --git a/public/api/examples/personResponse.json b/public/api/examples/personResponse.json index f699606a8c..2552fdb78b 100644 --- a/public/api/examples/personResponse.json +++ b/public/api/examples/personResponse.json @@ -1,9 +1,9 @@ { "data": { - "id": "1039989167", + "id": "1040000129", "type": "people", "attributes": { - "avatar": "/people/1039989167/avatars/8", + "avatar": "/people/1040000129/avatars/76", "title": "Maximilian Maxi-Mum", "description": "A person with all possible details", "first_name": "Maximilian", @@ -23,7 +23,7 @@ "projects": { "data": [ { - "id": "1022253160", + "id": "1022264175", "type": "projects" } ] @@ -31,7 +31,7 @@ "institutions": { "data": [ { - "id": "980193658", + "id": "980204701", "type": "institutions" } ] @@ -39,7 +39,7 @@ "investigations": { "data": [ { - "id": "973655266", + "id": "973655530", "type": "investigations" } ] @@ -47,7 +47,7 @@ "studies": { "data": [ { - "id": "1060385293", + "id": "1060385447", "type": "studies" } ] @@ -55,7 +55,7 @@ "assays": { "data": [ { - "id": "1035386961", + "id": "1035387182", "type": "assays" } ] @@ -63,7 +63,7 @@ "data_files": { "data": [ { - "id": "883654492", + "id": "1055250778", "type": "data_files" } ] @@ -71,7 +71,7 @@ "models": { "data": [ { - "id": "1004285611", + "id": "1004285788", "type": "models" } ] @@ -79,7 +79,7 @@ "sops": { "data": [ { - "id": "1055250606", + "id": "1055250818", "type": "sops" } ] @@ -87,7 +87,7 @@ "publications": { "data": [ { - "id": "214", + "id": "191", "type": "publications" } ] @@ -95,7 +95,7 @@ "presentations": { "data": [ { - "id": "64", + "id": "111", "type": "presentations" } ] @@ -103,7 +103,7 @@ "events": { "data": [ { - "id": "1025618758", + "id": "1025618738", "type": "events" } ] @@ -111,7 +111,7 @@ "documents": { "data": [ { - "id": "177", + "id": "395", "type": "documents" } ] @@ -119,7 +119,7 @@ "workflows": { "data": [ { - "id": "126", + "id": "1317", "type": "workflows" } ] @@ -127,21 +127,21 @@ "collections": { "data": [ { - "id": "70", + "id": "123", "type": "collections" } ] } }, "links": { - "self": "/people/1039989167" + "self": "/people/1040000129" }, "meta": { - "created": "2026-06-16T14:30:43.896Z", - "modified": "2026-06-16T14:30:43.896Z", + "created": "2026-08-27T08:38:10.540Z", + "modified": "2026-08-27T08:38:10.540Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "1c123d16-92d3-4e29-9560-2bc17e4c7159" + "uuid": "710db001-cb11-46de-a55b-8065f5918b36" } }, "jsonapi": { diff --git a/public/api/examples/presentationPatch.json b/public/api/examples/presentationPatch.json index ae4a2c3659..78af0083e7 100644 --- a/public/api/examples/presentationPatch.json +++ b/public/api/examples/presentationPatch.json @@ -1,7 +1,7 @@ { "data": { "type": "presentations", - "id": "113", + "id": "185", "attributes": { "title": "A Maximally Patched Presentation", "description": "Presenting the research about the thing", @@ -17,7 +17,7 @@ "permissions": [ { "resource": { - "id": "1022254425", + "id": "1022266116", "type": "projects" }, "access": "edit" @@ -29,7 +29,7 @@ "creators": { "data": [ { - "id": "1039990394", + "id": "1040002041", "type": "people" } ] @@ -37,7 +37,7 @@ "projects": { "data": [ { - "id": "1022254425", + "id": "1022266116", "type": "projects" } ] @@ -45,7 +45,7 @@ "publications": { "data": [ { - "id": "265", + "id": "326", "type": "publications" } ] @@ -53,7 +53,7 @@ "events": { "data": [ { - "id": "1025618797", + "id": "1025618802", "type": "events" } ] @@ -61,7 +61,7 @@ "workflows": { "data": [ { - "id": "196", + "id": "1442", "type": "workflows" } ] diff --git a/public/api/examples/presentationPatchResponse.json b/public/api/examples/presentationPatchResponse.json index 947e80e2a8..43ffc41b5b 100644 --- a/public/api/examples/presentationPatchResponse.json +++ b/public/api/examples/presentationPatchResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "113", + "id": "185", "type": "presentations", "attributes": { "policy": { @@ -8,16 +8,14 @@ "permissions": [ { "resource": { - "id": "1022254425", + "id": "1022266116", "type": "projects" }, "access": "edit" } ] }, - "discussion_links": [ - - ], + "discussion_links": [], "title": "A Maximally Patched Presentation", "license": "CC-BY-4.0", "description": "Presenting the research about the thing", @@ -31,32 +29,32 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/presentations/113?version=1", + "url": "http://localhost:3000/presentations/185?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:35:07.077Z", - "updated_at": "2026-06-16T14:35:07.279Z", + "created_at": "2026-08-27T08:43:38.030Z", + "updated_at": "2026-08-27T08:43:38.273Z", "doi": null, "content_blobs": [ { "original_filename": "test.pdf", "url": null, - "md5sum": "87b6cc0ef74a65fb5e7a214c6e6196a6", - "sha1sum": "bb9c167746f40dc1fa351b69248e831f18bae06a", + "md5sum": "e1c6ee0e8ab30c646bb99ff943a6c813", + "sha1sum": "59aef0e5d3ba8303785b41daa9ebd1e6a8de3068", "content_type": "application/pdf", - "link": "http://localhost:3000/presentations/113/content_blobs/1050453686", + "link": "http://localhost:3000/presentations/185/content_blobs/1050456403", "size": 10 } ], "creators": [ { - "profile": "/people/1039990394", + "profile": "/people/1040002041", "family_name": "Last", - "given_name": "Person3293", - "affiliation": "An Institution: 3973", + "given_name": "Person2467", + "affiliation": "An Institution: 2874", "orcid": null } ], @@ -66,7 +64,7 @@ "creators": { "data": [ { - "id": "1039990394", + "id": "1040002041", "type": "people" } ] @@ -74,7 +72,7 @@ "submitter": { "data": [ { - "id": "1039990392", + "id": "1040002039", "type": "people" } ] @@ -82,11 +80,11 @@ "people": { "data": [ { - "id": "1039990392", + "id": "1040002039", "type": "people" }, { - "id": "1039990394", + "id": "1040002041", "type": "people" } ] @@ -94,30 +92,24 @@ "projects": { "data": [ { - "id": "1022254425", + "id": "1022266116", "type": "projects" } ] }, "investigations": { - "data": [ - - ] + "data": [] }, "studies": { - "data": [ - - ] + "data": [] }, "assays": { - "data": [ - - ] + "data": [] }, "publications": { "data": [ { - "id": "265", + "id": "326", "type": "publications" } ] @@ -125,7 +117,7 @@ "events": { "data": [ { - "id": "1025618797", + "id": "1025618802", "type": "events" } ] @@ -133,21 +125,25 @@ "workflows": { "data": [ { - "id": "196", + "id": "1442", "type": "workflows" } ] } }, "links": { - "self": "/presentations/113?version=1" + "self": "/presentations/185?version=1" }, "meta": { - "created": "2026-06-16T14:35:07.063Z", - "modified": "2026-06-16T14:35:07.272Z", + "created": "2026-08-27T08:43:38.017Z", + "modified": "2026-08-27T08:43:38.264Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "a6a23b25-6cce-486f-ab45-476ae1636ac1" + "uuid": "e7ca5350-adb2-41be-9c5d-183401c20cc0", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/presentationPost.json b/public/api/examples/presentationPost.json index 18505b2104..36b6a0d5f8 100644 --- a/public/api/examples/presentationPost.json +++ b/public/api/examples/presentationPost.json @@ -21,7 +21,7 @@ "permissions": [ { "resource": { - "id": "1022254392", + "id": "1022266083", "type": "projects" }, "access": "edit" @@ -33,7 +33,7 @@ "creators": { "data": [ { - "id": "1039990352", + "id": "1040001999", "type": "people" } ] @@ -41,7 +41,7 @@ "projects": { "data": [ { - "id": "1022254392", + "id": "1022266083", "type": "projects" } ] @@ -49,7 +49,7 @@ "publications": { "data": [ { - "id": "260", + "id": "321", "type": "publications" } ] @@ -57,7 +57,7 @@ "events": { "data": [ { - "id": "1025618792", + "id": "1025618797", "type": "events" } ] @@ -65,7 +65,7 @@ "workflows": { "data": [ { - "id": "191", + "id": "1437", "type": "workflows" } ] diff --git a/public/api/examples/presentationPostResponse.json b/public/api/examples/presentationPostResponse.json index 2c860c9740..25f8130937 100644 --- a/public/api/examples/presentationPostResponse.json +++ b/public/api/examples/presentationPostResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "107", + "id": "179", "type": "presentations", "attributes": { "policy": { @@ -8,16 +8,14 @@ "permissions": [ { "resource": { - "id": "1022254392", + "id": "1022266083", "type": "projects" }, "access": "edit" } ] }, - "discussion_links": [ - - ], + "discussion_links": [], "title": "A Maximal Presentation", "license": "CC-BY-4.0", "description": "This is the description", @@ -30,14 +28,14 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/presentations/107?version=1", + "url": "http://localhost:3000/presentations/179?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:34:59.533Z", - "updated_at": "2026-06-16T14:34:59.533Z", + "created_at": "2026-08-27T08:43:32.503Z", + "updated_at": "2026-08-27T08:43:32.503Z", "doi": null, "content_blobs": [ { @@ -46,16 +44,16 @@ "md5sum": null, "sha1sum": null, "content_type": "application/pdf", - "link": "http://localhost:3000/presentations/107/content_blobs/1050453676", + "link": "http://localhost:3000/presentations/179/content_blobs/1050456393", "size": null } ], "creators": [ { - "profile": "/people/1039990352", + "profile": "/people/1040001999", "family_name": "Last", - "given_name": "Person3256", - "affiliation": "An Institution: 3931", + "given_name": "Person2430", + "affiliation": "An Institution: 2832", "orcid": null } ], @@ -65,7 +63,7 @@ "creators": { "data": [ { - "id": "1039990352", + "id": "1040001999", "type": "people" } ] @@ -73,7 +71,7 @@ "submitter": { "data": [ { - "id": "1039990350", + "id": "1040001997", "type": "people" } ] @@ -81,11 +79,11 @@ "people": { "data": [ { - "id": "1039990350", + "id": "1040001997", "type": "people" }, { - "id": "1039990352", + "id": "1040001999", "type": "people" } ] @@ -93,30 +91,24 @@ "projects": { "data": [ { - "id": "1022254392", + "id": "1022266083", "type": "projects" } ] }, "investigations": { - "data": [ - - ] + "data": [] }, "studies": { - "data": [ - - ] + "data": [] }, "assays": { - "data": [ - - ] + "data": [] }, "publications": { "data": [ { - "id": "260", + "id": "321", "type": "publications" } ] @@ -124,7 +116,7 @@ "events": { "data": [ { - "id": "1025618792", + "id": "1025618797", "type": "events" } ] @@ -132,21 +124,25 @@ "workflows": { "data": [ { - "id": "191", + "id": "1437", "type": "workflows" } ] } }, "links": { - "self": "/presentations/107?version=1" + "self": "/presentations/179?version=1" }, "meta": { - "created": "2026-06-16T14:34:59.510Z", - "modified": "2026-06-16T14:34:59.533Z", + "created": "2026-08-27T08:43:32.473Z", + "modified": "2026-08-27T08:43:32.503Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "8087ebc2-a95c-4910-ae29-54e0c6773d67" + "uuid": "fb17f22d-9fc9-4a09-9d49-532466d7cd04", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/presentationResponse.json b/public/api/examples/presentationResponse.json index 25b765fdee..4aa9825c29 100644 --- a/public/api/examples/presentationResponse.json +++ b/public/api/examples/presentationResponse.json @@ -1,17 +1,15 @@ { "data": { - "id": "112", + "id": "184", "type": "presentations", "attributes": { "policy": { "access": "no_access", - "permissions": [ - - ] + "permissions": [] }, "discussion_links": [ { - "id": "157", + "id": "334", "label": "Slack", "url": "http://www.slack.com/" } @@ -31,14 +29,14 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/presentations/112?version=1", + "url": "http://localhost:3000/presentations/184?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:35:06.122Z", - "updated_at": "2026-06-16T14:35:06.122Z", + "created_at": "2026-08-27T08:43:37.176Z", + "updated_at": "2026-08-27T08:43:37.176Z", "doi": null, "content_blobs": [ { @@ -47,13 +45,13 @@ "md5sum": "726de0a3f94d65056b909b9736e10349", "sha1sum": "fbcc0dee4b5415de4c82ef5b137d8231fec1331b", "content_type": "application/pdf", - "link": "http://localhost:3000/presentations/112/content_blobs/1050453685", + "link": "http://localhost:3000/presentations/184/content_blobs/1050456402", "size": 8 } ], "creators": [ { - "profile": "/people/1039990389", + "profile": "/people/1040002036", "family_name": "One", "given_name": "Some", "affiliation": "University of Somewhere", @@ -66,7 +64,7 @@ "creators": { "data": [ { - "id": "1039990389", + "id": "1040002036", "type": "people" } ] @@ -74,7 +72,7 @@ "submitter": { "data": [ { - "id": "1039990390", + "id": "1040002037", "type": "people" } ] @@ -82,11 +80,11 @@ "people": { "data": [ { - "id": "1039990389", + "id": "1040002036", "type": "people" }, { - "id": "1039990390", + "id": "1040002037", "type": "people" } ] @@ -94,7 +92,7 @@ "projects": { "data": [ { - "id": "1022254423", + "id": "1022266114", "type": "projects" } ] @@ -102,7 +100,7 @@ "investigations": { "data": [ { - "id": "973655400", + "id": "973655930", "type": "investigations" } ] @@ -110,7 +108,7 @@ "studies": { "data": [ { - "id": "1060385419", + "id": "1060385776", "type": "studies" } ] @@ -118,7 +116,7 @@ "assays": { "data": [ { - "id": "1035387079", + "id": "1035387473", "type": "assays" } ] @@ -126,7 +124,7 @@ "publications": { "data": [ { - "id": "264", + "id": "325", "type": "publications" } ] @@ -134,7 +132,7 @@ "events": { "data": [ { - "id": "1025618796", + "id": "1025618801", "type": "events" } ] @@ -142,21 +140,25 @@ "workflows": { "data": [ { - "id": "195", + "id": "1441", "type": "workflows" } ] } }, "links": { - "self": "/presentations/112?version=1" + "self": "/presentations/184?version=1" }, "meta": { - "created": "2026-06-16T14:35:06.097Z", - "modified": "2026-06-16T14:35:06.122Z", + "created": "2026-08-27T08:43:37.146Z", + "modified": "2026-08-27T08:43:37.176Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "ccb99d2e-39d9-4680-9642-20836b7efa93" + "uuid": "a0adeea3-cd3c-428d-8111-a38dcc14de1a", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/presentationsResponse.json b/public/api/examples/presentationsResponse.json index f991332b40..98f6aba53b 100644 --- a/public/api/examples/presentationsResponse.json +++ b/public/api/examples/presentationsResponse.json @@ -1,7 +1,5 @@ { - "data": [ - - ], + "data": [], "jsonapi": { "version": "1.0" }, diff --git a/public/api/examples/programmePatch.json b/public/api/examples/programmePatch.json index 7cfa0f2453..1cc05728f0 100644 --- a/public/api/examples/programmePatch.json +++ b/public/api/examples/programmePatch.json @@ -1,6 +1,6 @@ { "data": { - "id": "76", + "id": "277", "type": "programmes", "attributes": { "title": "Changed title", @@ -15,7 +15,7 @@ "projects": { "data": [ { - "id": "1022254120", + "id": "1022265962", "type": "projects" } ] @@ -23,7 +23,7 @@ "administrators": { "data": [ { - "id": "1039990010", + "id": "1040001808", "type": "people" } ] @@ -31,7 +31,7 @@ "people": { "data": [ { - "id": "1039990010", + "id": "1040001808", "type": "people" } ] diff --git a/public/api/examples/programmePatchResponse.json b/public/api/examples/programmePatchResponse.json index 5a1db086e9..bd74315dec 100644 --- a/public/api/examples/programmePatchResponse.json +++ b/public/api/examples/programmePatchResponse.json @@ -1,11 +1,9 @@ { "data": { - "id": "76", + "id": "277", "type": "programmes", "attributes": { - "discussion_links": [ - - ], + "discussion_links": [], "avatar": null, "title": "Changed title", "description": "A very exciting programme patched!", @@ -19,7 +17,7 @@ "administrators": { "data": [ { - "id": "1039990010", + "id": "1040001808", "type": "people" } ] @@ -27,7 +25,7 @@ "people": { "data": [ { - "id": "1039990010", + "id": "1040001808", "type": "people" } ] @@ -35,86 +33,60 @@ "projects": { "data": [ { - "id": "1022254120", + "id": "1022265962", "type": "projects" } ] }, "institutions": { - "data": [ - - ] + "data": [] }, "investigations": { - "data": [ - - ] + "data": [] }, "studies": { - "data": [ - - ] + "data": [] }, "assays": { - "data": [ - - ] + "data": [] }, "data_files": { - "data": [ - - ] + "data": [] }, "models": { - "data": [ - - ] + "data": [] }, "sops": { - "data": [ - - ] + "data": [] }, "publications": { - "data": [ - - ] + "data": [] }, "presentations": { - "data": [ - - ] + "data": [] }, "events": { - "data": [ - - ] + "data": [] }, "documents": { - "data": [ - - ] + "data": [] }, "workflows": { - "data": [ - - ] + "data": [] }, "collections": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/programmes/76" + "self": "/programmes/277" }, "meta": { - "created": "2026-06-16T14:33:45.357Z", - "modified": "2026-06-16T14:33:45.430Z", + "created": "2026-08-27T08:43:07.148Z", + "modified": "2026-08-27T08:43:07.221Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "ad39a5dd-29e6-4d07-bcac-3e9ff45cd71b" + "uuid": "c962b11f-b654-4bc6-ab3b-6638fd4a74b1" } }, "jsonapi": { diff --git a/public/api/examples/programmePost.json b/public/api/examples/programmePost.json index ee577719b6..201a4ec7f6 100644 --- a/public/api/examples/programmePost.json +++ b/public/api/examples/programmePost.json @@ -15,7 +15,7 @@ "projects": { "data": [ { - "id": "1022254032", + "id": "1022265874", "type": "projects" } ] @@ -23,11 +23,11 @@ "administrators": { "data": [ { - "id": "1039989928", + "id": "1040001726", "type": "people" }, { - "id": "1039989930", + "id": "1040001728", "type": "people" } ] diff --git a/public/api/examples/programmePostResponse.json b/public/api/examples/programmePostResponse.json index da937c9dc2..ef038d0588 100644 --- a/public/api/examples/programmePostResponse.json +++ b/public/api/examples/programmePostResponse.json @@ -1,11 +1,9 @@ { "data": { - "id": "68", + "id": "269", "type": "programmes", "attributes": { - "discussion_links": [ - - ], + "discussion_links": [], "avatar": null, "title": "Post Programme Max", "description": "A very exciting programme", @@ -20,11 +18,11 @@ "administrators": { "data": [ { - "id": "1039989928", + "id": "1040001726", "type": "people" }, { - "id": "1039989930", + "id": "1040001728", "type": "people" } ] @@ -32,11 +30,11 @@ "people": { "data": [ { - "id": "1039989928", + "id": "1040001726", "type": "people" }, { - "id": "1039989930", + "id": "1040001728", "type": "people" } ] @@ -44,86 +42,60 @@ "projects": { "data": [ { - "id": "1022254032", + "id": "1022265874", "type": "projects" } ] }, "institutions": { - "data": [ - - ] + "data": [] }, "investigations": { - "data": [ - - ] + "data": [] }, "studies": { - "data": [ - - ] + "data": [] }, "assays": { - "data": [ - - ] + "data": [] }, "data_files": { - "data": [ - - ] + "data": [] }, "models": { - "data": [ - - ] + "data": [] }, "sops": { - "data": [ - - ] + "data": [] }, "publications": { - "data": [ - - ] + "data": [] }, "presentations": { - "data": [ - - ] + "data": [] }, "events": { - "data": [ - - ] + "data": [] }, "documents": { - "data": [ - - ] + "data": [] }, "workflows": { - "data": [ - - ] + "data": [] }, "collections": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/programmes/68" + "self": "/programmes/269" }, "meta": { - "created": "2026-06-16T14:33:29.574Z", - "modified": "2026-06-16T14:33:29.574Z", + "created": "2026-08-27T08:42:54.391Z", + "modified": "2026-08-27T08:42:54.391Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "532d7541-e6fc-46bc-8215-62c8593c9233" + "uuid": "5f00e64c-ee32-4944-a209-f91e6750c137" } }, "jsonapi": { diff --git a/public/api/examples/programmeResponse.json b/public/api/examples/programmeResponse.json index 82fbdc1812..6ed39d0dc6 100644 --- a/public/api/examples/programmeResponse.json +++ b/public/api/examples/programmeResponse.json @@ -1,11 +1,11 @@ { "data": { - "id": "75", + "id": "276", "type": "programmes", "attributes": { "discussion_links": [ { - "id": "149", + "id": "330", "label": "Slack", "url": "http://www.slack.com/" } @@ -23,7 +23,7 @@ "administrators": { "data": [ { - "id": "1039990006", + "id": "1040001804", "type": "people" } ] @@ -31,11 +31,11 @@ "people": { "data": [ { - "id": "1039990005", + "id": "1040001803", "type": "people" }, { - "id": "1039990006", + "id": "1040001804", "type": "people" } ] @@ -43,7 +43,7 @@ "projects": { "data": [ { - "id": "1022254114", + "id": "1022265956", "type": "projects" } ] @@ -51,7 +51,7 @@ "institutions": { "data": [ { - "id": "980194556", + "id": "980206402", "type": "institutions" } ] @@ -59,7 +59,7 @@ "investigations": { "data": [ { - "id": "973655365", + "id": "973655926", "type": "investigations" } ] @@ -67,7 +67,7 @@ "studies": { "data": [ { - "id": "1060385384", + "id": "1060385772", "type": "studies" } ] @@ -75,7 +75,7 @@ "assays": { "data": [ { - "id": "1035387044", + "id": "1035387469", "type": "assays" } ] @@ -83,7 +83,7 @@ "data_files": { "data": [ { - "id": "883654508", + "id": "1055250849", "type": "data_files" } ] @@ -91,7 +91,7 @@ "models": { "data": [ { - "id": "1004285635", + "id": "1004285905", "type": "models" } ] @@ -99,7 +99,7 @@ "sops": { "data": [ { - "id": "1055250637", + "id": "1055250925", "type": "sops" } ] @@ -107,7 +107,7 @@ "publications": { "data": [ { - "id": "230", + "id": "295", "type": "publications" } ] @@ -115,7 +115,7 @@ "presentations": { "data": [ { - "id": "72", + "id": "144", "type": "presentations" } ] @@ -123,7 +123,7 @@ "events": { "data": [ { - "id": "1025618766", + "id": "1025618771", "type": "events" } ] @@ -131,7 +131,7 @@ "documents": { "data": [ { - "id": "193", + "id": "507", "type": "documents" } ] @@ -139,7 +139,7 @@ "workflows": { "data": [ { - "id": "134", + "id": "1411", "type": "workflows" } ] @@ -147,21 +147,21 @@ "collections": { "data": [ { - "id": "78", + "id": "156", "type": "collections" } ] } }, "links": { - "self": "/programmes/75" + "self": "/programmes/276" }, "meta": { - "created": "2026-06-16T14:33:44.764Z", - "modified": "2026-06-16T14:33:44.764Z", + "created": "2026-08-27T08:43:06.567Z", + "modified": "2026-08-27T08:43:06.567Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "f4072a70-33bf-40d0-afb9-a2e718577169" + "uuid": "e774e4f4-d93a-4b38-9453-406a8a1916af" } }, "jsonapi": { diff --git a/public/api/examples/programmesResponse.json b/public/api/examples/programmesResponse.json index a15eb5f8a1..e96b50cd4b 100644 --- a/public/api/examples/programmesResponse.json +++ b/public/api/examples/programmesResponse.json @@ -1,33 +1,33 @@ { "data": [ { - "id": "72", + "id": "273", "type": "programmes", "attributes": { "title": "A Maximal Programme" }, "links": { - "self": "/programmes/72" + "self": "/programmes/273" } }, { - "id": "71", + "id": "272", "type": "programmes", "attributes": { - "title": "A Programme: 62" + "title": "A Programme: 58" }, "links": { - "self": "/programmes/71" + "self": "/programmes/272" } }, { - "id": "70", + "id": "271", "type": "programmes", "attributes": { "title": "A Minimal Programme" }, "links": { - "self": "/programmes/70" + "self": "/programmes/271" } } ], diff --git a/public/api/examples/projectPatch.json b/public/api/examples/projectPatch.json index bb7fdac122..3326dac390 100644 --- a/public/api/examples/projectPatch.json +++ b/public/api/examples/projectPatch.json @@ -1,6 +1,6 @@ { "data": { - "id": "1022253708", + "id": "1022267972", "type": "projects", "attributes": { "avatar": null, @@ -14,21 +14,21 @@ "permissions": [ { "resource": { - "id": "1039989654", + "id": "1040003945", "type": "people" }, "access": "manage" }, { "resource": { - "id": "1022253708", + "id": "1022267972", "type": "projects" }, "access": "download" }, { "resource": { - "id": "980194172", + "id": "980208604", "type": "institutions" }, "access": "view" @@ -36,7 +36,7 @@ ] }, "extended_attributes": { - "extended_metadata_type_id": "203", + "extended_metadata_type_id": "569", "attribute_map": { "dad": { "first_name": "john", @@ -73,7 +73,7 @@ "programmes": { "data": [ { - "id": "34", + "id": "306", "type": "programmes" } ] @@ -81,7 +81,7 @@ "organisms": { "data": [ { - "id": "627234394", + "id": "627234525", "type": "organisms" } ] diff --git a/public/api/examples/projectPatchResponse.json b/public/api/examples/projectPatchResponse.json index 5c8a800c7c..7796718e6d 100644 --- a/public/api/examples/projectPatchResponse.json +++ b/public/api/examples/projectPatchResponse.json @@ -1,13 +1,11 @@ { "data": { - "id": "1022253708", + "id": "1022267972", "type": "projects", "attributes": { - "discussion_links": [ - - ], + "discussion_links": [], "extended_attributes": { - "extended_metadata_type_id": "203", + "extended_metadata_type_id": "569", "attribute_map": { "dad": { "first_name": "john", @@ -42,30 +40,28 @@ "permissions": [ { "resource": { - "id": "1039989654", + "id": "1040003945", "type": "people" }, "access": "manage" }, { "resource": { - "id": "1022253708", + "id": "1022267972", "type": "projects" }, "access": "download" }, { "resource": { - "id": "980194172", + "id": "980208604", "type": "institutions" }, "access": "view" } ] }, - "members": [ - - ], + "members": [], "use_default_policy": false, "topic_annotations": [ { @@ -80,136 +76,94 @@ }, "relationships": { "project_administrators": { - "data": [ - - ] + "data": [] }, "pals": { - "data": [ - - ] + "data": [] }, "asset_housekeepers": { - "data": [ - - ] + "data": [] }, "asset_gatekeepers": { - "data": [ - - ] + "data": [] }, "organisms": { "data": [ { - "id": "627234394", + "id": "627234525", "type": "organisms" } ] }, "human_diseases": { - "data": [ - - ] + "data": [] }, "people": { - "data": [ - - ] + "data": [] }, "institutions": { - "data": [ - - ] + "data": [] }, "programmes": { "data": [ { - "id": "34", + "id": "306", "type": "programmes" } ] }, "investigations": { - "data": [ - - ] + "data": [] }, "studies": { - "data": [ - - ] + "data": [] }, "assays": { - "data": [ - - ] + "data": [] }, "data_files": { - "data": [ - - ] + "data": [] }, "file_templates": { - "data": [ - - ] + "data": [] }, "placeholders": { - "data": [ - - ] + "data": [] }, "models": { - "data": [ - - ] + "data": [] }, "sops": { - "data": [ - - ] + "data": [] }, "publications": { - "data": [ - - ] + "data": [] }, "presentations": { - "data": [ - - ] + "data": [] }, "events": { - "data": [ - - ] + "data": [] }, "documents": { - "data": [ - - ] + "data": [] }, "workflows": { - "data": [ - - ] + "data": [] }, "collections": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/projects/1022253708" + "self": "/projects/1022267972" }, "meta": { - "created": "2026-06-16T14:32:32.424Z", - "modified": "2026-06-16T14:32:32.687Z", + "created": "2026-08-27T08:53:39.444Z", + "modified": "2026-08-27T08:53:39.802Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "6a6b9755-cd7d-48e2-b224-db936589c774" + "uuid": "b3003f2b-87a9-484f-970e-a5e5c82d3153" } }, "jsonapi": { diff --git a/public/api/examples/projectPost.json b/public/api/examples/projectPost.json index b83a6d1b5a..bf0f6a0e25 100644 --- a/public/api/examples/projectPost.json +++ b/public/api/examples/projectPost.json @@ -13,21 +13,21 @@ "permissions": [ { "resource": { - "id": "1039989578", + "id": "1040003869", "type": "people" }, "access": "manage" }, { "resource": { - "id": "1022253622", + "id": "1022267886", "type": "projects" }, "access": "download" }, { "resource": { - "id": "980194093", + "id": "980208525", "type": "institutions" }, "access": "view" @@ -35,7 +35,7 @@ ] }, "extended_attributes": { - "extended_metadata_type_id": "181", + "extended_metadata_type_id": "547", "attribute_map": { "dad": { "first_name": "john", @@ -72,7 +72,7 @@ "programmes": { "data": [ { - "id": "29", + "id": "301", "type": "programmes" } ] @@ -80,7 +80,7 @@ "organisms": { "data": [ { - "id": "627234389", + "id": "627234520", "type": "organisms" } ] diff --git a/public/api/examples/projectPostResponse.json b/public/api/examples/projectPostResponse.json index d4b95157cd..5ea32b7968 100644 --- a/public/api/examples/projectPostResponse.json +++ b/public/api/examples/projectPostResponse.json @@ -1,13 +1,11 @@ { "data": { - "id": "1022253624", + "id": "1022267888", "type": "projects", "attributes": { - "discussion_links": [ - - ], + "discussion_links": [], "extended_attributes": { - "extended_metadata_type_id": "181", + "extended_metadata_type_id": "547", "attribute_map": { "dad": { "first_name": "john", @@ -42,30 +40,28 @@ "permissions": [ { "resource": { - "id": "1039989578", + "id": "1040003869", "type": "people" }, "access": "manage" }, { "resource": { - "id": "1022253622", + "id": "1022267886", "type": "projects" }, "access": "download" }, { "resource": { - "id": "980194093", + "id": "980208525", "type": "institutions" }, "access": "view" } ] }, - "members": [ - - ], + "members": [], "use_default_policy": false, "topic_annotations": [ { @@ -80,136 +76,94 @@ }, "relationships": { "project_administrators": { - "data": [ - - ] + "data": [] }, "pals": { - "data": [ - - ] + "data": [] }, "asset_housekeepers": { - "data": [ - - ] + "data": [] }, "asset_gatekeepers": { - "data": [ - - ] + "data": [] }, "organisms": { "data": [ { - "id": "627234389", + "id": "627234520", "type": "organisms" } ] }, "human_diseases": { - "data": [ - - ] + "data": [] }, "people": { - "data": [ - - ] + "data": [] }, "institutions": { - "data": [ - - ] + "data": [] }, "programmes": { "data": [ { - "id": "29", + "id": "301", "type": "programmes" } ] }, "investigations": { - "data": [ - - ] + "data": [] }, "studies": { - "data": [ - - ] + "data": [] }, "assays": { - "data": [ - - ] + "data": [] }, "data_files": { - "data": [ - - ] + "data": [] }, "file_templates": { - "data": [ - - ] + "data": [] }, "placeholders": { - "data": [ - - ] + "data": [] }, "models": { - "data": [ - - ] + "data": [] }, "sops": { - "data": [ - - ] + "data": [] }, "publications": { - "data": [ - - ] + "data": [] }, "presentations": { - "data": [ - - ] + "data": [] }, "events": { - "data": [ - - ] + "data": [] }, "documents": { - "data": [ - - ] + "data": [] }, "workflows": { - "data": [ - - ] + "data": [] }, "collections": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/projects/1022253624" + "self": "/projects/1022267888" }, "meta": { - "created": "2026-06-16T14:32:16.281Z", - "modified": "2026-06-16T14:32:16.281Z", + "created": "2026-08-27T08:53:18.689Z", + "modified": "2026-08-27T08:53:18.689Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "74c22896-2a23-46fe-a430-358fbb55991b" + "uuid": "a791ef84-177e-4302-95a6-9a452e6e94f2" } }, "jsonapi": { diff --git a/public/api/examples/projectResponse.json b/public/api/examples/projectResponse.json index 970d6beba6..08633051d7 100644 --- a/public/api/examples/projectResponse.json +++ b/public/api/examples/projectResponse.json @@ -1,17 +1,17 @@ { "data": { - "id": "1022253703", + "id": "1022267967", "type": "projects", "attributes": { "discussion_links": [ { - "id": "125", + "id": "388", "label": "Slack", "url": "http://www.slack.com/" } ], "extended_attributes": { - "extended_metadata_type_id": "198", + "extended_metadata_type_id": "564", "attribute_map": { "dad": { "first_name": "john", @@ -33,7 +33,7 @@ ] } }, - "avatar": "/projects/1022253703/avatars/12", + "avatar": "/projects/1022267967/avatars/113", "title": "A Maximal Project", "description": "A Taverna project", "web_page": "http://www.taverna.org.uk", @@ -43,14 +43,12 @@ "end_date": "2014-06-21", "default_policy": { "access": "no_access", - "permissions": [ - - ] + "permissions": [] }, "members": [ { - "person_id": "1039989650", - "institution_id": "980194167" + "person_id": "1040003941", + "institution_id": "980208599" } ], "use_default_policy": true, @@ -67,39 +65,27 @@ }, "relationships": { "project_administrators": { - "data": [ - - ] + "data": [] }, "pals": { - "data": [ - - ] + "data": [] }, "asset_housekeepers": { - "data": [ - - ] + "data": [] }, "asset_gatekeepers": { - "data": [ - - ] + "data": [] }, "organisms": { - "data": [ - - ] + "data": [] }, "human_diseases": { - "data": [ - - ] + "data": [] }, "people": { "data": [ { - "id": "1039989650", + "id": "1040003941", "type": "people" } ] @@ -107,7 +93,7 @@ "institutions": { "data": [ { - "id": "980194167", + "id": "980208599", "type": "institutions" } ] @@ -115,7 +101,7 @@ "programmes": { "data": [ { - "id": "33", + "id": "305", "type": "programmes" } ] @@ -123,7 +109,7 @@ "investigations": { "data": [ { - "id": "973655333", + "id": "973656258", "type": "investigations" } ] @@ -131,7 +117,7 @@ "studies": { "data": [ { - "id": "1060385356", + "id": "1060386078", "type": "studies" } ] @@ -139,7 +125,7 @@ "assays": { "data": [ { - "id": "1035387020", + "id": "1035387660", "type": "assays" } ] @@ -147,25 +133,21 @@ "data_files": { "data": [ { - "id": "883654500", + "id": "1055251022", "type": "data_files" } ] }, "file_templates": { - "data": [ - - ] + "data": [] }, "placeholders": { - "data": [ - - ] + "data": [] }, "models": { "data": [ { - "id": "1004285623", + "id": "1004285953", "type": "models" } ] @@ -173,7 +155,7 @@ "sops": { "data": [ { - "id": "1055250614", + "id": "1055251015", "type": "sops" } ] @@ -181,7 +163,7 @@ "publications": { "data": [ { - "id": "222", + "id": "483", "type": "publications" } ] @@ -189,7 +171,7 @@ "presentations": { "data": [ { - "id": "68", + "id": "241", "type": "presentations" } ] @@ -197,7 +179,7 @@ "events": { "data": [ { - "id": "1025618762", + "id": "1025618872", "type": "events" } ] @@ -205,7 +187,7 @@ "documents": { "data": [ { - "id": "185", + "id": "626", "type": "documents" } ] @@ -213,7 +195,7 @@ "workflows": { "data": [ { - "id": "130", + "id": "1520", "type": "workflows" } ] @@ -221,21 +203,21 @@ "collections": { "data": [ { - "id": "74", + "id": "189", "type": "collections" } ] } }, "links": { - "self": "/projects/1022253703" + "self": "/projects/1022267967" }, "meta": { - "created": "2026-06-16T14:32:31.643Z", - "modified": "2026-06-16T14:32:31.877Z", + "created": "2026-08-27T08:53:38.378Z", + "modified": "2026-08-27T08:53:38.726Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "5526c62d-1e9c-4231-888f-73a225e4b447" + "uuid": "d764ff3e-5cee-4876-bef0-e0880718f65a" } }, "jsonapi": { diff --git a/public/api/examples/projectsResponse.json b/public/api/examples/projectsResponse.json index 4895a6b0f8..8972d91c01 100644 --- a/public/api/examples/projectsResponse.json +++ b/public/api/examples/projectsResponse.json @@ -1,343 +1,343 @@ { "data": [ { - "id": "1022253664", + "id": "1022267928", "type": "projects", "attributes": { "title": "A Maximal Project" }, "links": { - "self": "/projects/1022253664" + "self": "/projects/1022267928" } }, { - "id": "1022253663", + "id": "1022267927", "type": "projects", "attributes": { - "title": "A Project: -3007" + "title": "A Project: -4552" }, "links": { - "self": "/projects/1022253663" + "self": "/projects/1022267927" } }, { - "id": "1022253662", + "id": "1022267926", "type": "projects", "attributes": { - "title": "A Project: -3006" + "title": "A Project: -4551" }, "links": { - "self": "/projects/1022253662" + "self": "/projects/1022267926" } }, { - "id": "1022253661", + "id": "1022267925", "type": "projects", "attributes": { - "title": "A Project: -3005" + "title": "A Project: -4550" }, "links": { - "self": "/projects/1022253661" + "self": "/projects/1022267925" } }, { - "id": "1022253660", + "id": "1022267924", "type": "projects", "attributes": { - "title": "A Project: -3004" + "title": "A Project: -4549" }, "links": { - "self": "/projects/1022253660" + "self": "/projects/1022267924" } }, { - "id": "1022253659", + "id": "1022267923", "type": "projects", "attributes": { - "title": "A Project: -3003" + "title": "A Project: -4548" }, "links": { - "self": "/projects/1022253659" + "self": "/projects/1022267923" } }, { - "id": "1022253658", + "id": "1022267922", "type": "projects", "attributes": { - "title": "A Project: -3002" + "title": "A Project: -4547" }, "links": { - "self": "/projects/1022253658" + "self": "/projects/1022267922" } }, { - "id": "1022253657", + "id": "1022267921", "type": "projects", "attributes": { - "title": "A Project: -3001" + "title": "A Project: -4546" }, "links": { - "self": "/projects/1022253657" + "self": "/projects/1022267921" } }, { - "id": "1022253656", + "id": "1022267920", "type": "projects", "attributes": { - "title": "A Project: -3000" + "title": "A Project: -4545" }, "links": { - "self": "/projects/1022253656" + "self": "/projects/1022267920" } }, { - "id": "1022253655", + "id": "1022267919", "type": "projects", "attributes": { - "title": "A Project: -2999" + "title": "A Project: -4544" }, "links": { - "self": "/projects/1022253655" + "self": "/projects/1022267919" } }, { - "id": "1022253654", + "id": "1022267918", "type": "projects", "attributes": { - "title": "A Project: -2998" + "title": "A Project: -4543" }, "links": { - "self": "/projects/1022253654" + "self": "/projects/1022267918" } }, { - "id": "1022253653", + "id": "1022267917", "type": "projects", "attributes": { - "title": "A Project: -2997" + "title": "A Project: -4542" }, "links": { - "self": "/projects/1022253653" + "self": "/projects/1022267917" } }, { - "id": "1022253652", + "id": "1022267916", "type": "projects", "attributes": { - "title": "A Project: -2996" + "title": "A Project: -4541" }, "links": { - "self": "/projects/1022253652" + "self": "/projects/1022267916" } }, { - "id": "1022253651", + "id": "1022267915", "type": "projects", "attributes": { - "title": "A Project: -2995" + "title": "A Project: -4540" }, "links": { - "self": "/projects/1022253651" + "self": "/projects/1022267915" } }, { - "id": "1022253650", + "id": "1022267914", "type": "projects", "attributes": { - "title": "A Project: -2994" + "title": "A Project: -4539" }, "links": { - "self": "/projects/1022253650" + "self": "/projects/1022267914" } }, { - "id": "1022253649", + "id": "1022267913", "type": "projects", "attributes": { - "title": "A Project: -2993" + "title": "A Project: -4538" }, "links": { - "self": "/projects/1022253649" + "self": "/projects/1022267913" } }, { - "id": "1022253648", + "id": "1022267912", "type": "projects", "attributes": { - "title": "A Project: -2992" + "title": "A Project: -4537" }, "links": { - "self": "/projects/1022253648" + "self": "/projects/1022267912" } }, { - "id": "1022253647", + "id": "1022267911", "type": "projects", "attributes": { - "title": "A Project: -2991" + "title": "A Project: -4536" }, "links": { - "self": "/projects/1022253647" + "self": "/projects/1022267911" } }, { - "id": "1022253646", + "id": "1022267910", "type": "projects", "attributes": { - "title": "A Project: -2990" + "title": "A Project: -4535" }, "links": { - "self": "/projects/1022253646" + "self": "/projects/1022267910" } }, { - "id": "1022253645", + "id": "1022267909", "type": "projects", "attributes": { - "title": "A Project: -2989" + "title": "A Project: -4534" }, "links": { - "self": "/projects/1022253645" + "self": "/projects/1022267909" } }, { - "id": "1022253644", + "id": "1022267908", "type": "projects", "attributes": { - "title": "A Project: -2988" + "title": "A Project: -4533" }, "links": { - "self": "/projects/1022253644" + "self": "/projects/1022267908" } }, { - "id": "1022253643", + "id": "1022267907", "type": "projects", "attributes": { - "title": "A Project: -2987" + "title": "A Project: -4532" }, "links": { - "self": "/projects/1022253643" + "self": "/projects/1022267907" } }, { - "id": "1022253642", + "id": "1022267906", "type": "projects", "attributes": { - "title": "A Project: -2986" + "title": "A Project: -4531" }, "links": { - "self": "/projects/1022253642" + "self": "/projects/1022267906" } }, { - "id": "1022253641", + "id": "1022267905", "type": "projects", "attributes": { - "title": "A Project: -2985" + "title": "A Project: -4530" }, "links": { - "self": "/projects/1022253641" + "self": "/projects/1022267905" } }, { - "id": "1022253640", + "id": "1022267904", "type": "projects", "attributes": { - "title": "A Project: -2984" + "title": "A Project: -4529" }, "links": { - "self": "/projects/1022253640" + "self": "/projects/1022267904" } }, { - "id": "1022253639", + "id": "1022267903", "type": "projects", "attributes": { - "title": "A Project: -2983" + "title": "A Project: -4528" }, "links": { - "self": "/projects/1022253639" + "self": "/projects/1022267903" } }, { - "id": "1022253638", + "id": "1022267902", "type": "projects", "attributes": { - "title": "A Project: -2982" + "title": "A Project: -4527" }, "links": { - "self": "/projects/1022253638" + "self": "/projects/1022267902" } }, { - "id": "1022253637", + "id": "1022267901", "type": "projects", "attributes": { - "title": "A Project: -2981" + "title": "A Project: -4526" }, "links": { - "self": "/projects/1022253637" + "self": "/projects/1022267901" } }, { - "id": "1022253636", + "id": "1022267900", "type": "projects", "attributes": { - "title": "A Project: -2980" + "title": "A Project: -4525" }, "links": { - "self": "/projects/1022253636" + "self": "/projects/1022267900" } }, { - "id": "1022253635", + "id": "1022267899", "type": "projects", "attributes": { - "title": "A Project: -2979" + "title": "A Project: -4524" }, "links": { - "self": "/projects/1022253635" + "self": "/projects/1022267899" } }, { - "id": "1022253634", + "id": "1022267898", "type": "projects", "attributes": { - "title": "A Project: -2978" + "title": "A Project: -4523" }, "links": { - "self": "/projects/1022253634" + "self": "/projects/1022267898" } }, { - "id": "1022253633", + "id": "1022267897", "type": "projects", "attributes": { - "title": "A Project: -2977" + "title": "A Project: -4522" }, "links": { - "self": "/projects/1022253633" + "self": "/projects/1022267897" } }, { - "id": "1022253632", + "id": "1022267896", "type": "projects", "attributes": { - "title": "A Project: -2976" + "title": "A Project: -4521" }, "links": { - "self": "/projects/1022253632" + "self": "/projects/1022267896" } }, { - "id": "1022253631", + "id": "1022267895", "type": "projects", "attributes": { "title": "A Minimal Project" }, "links": { - "self": "/projects/1022253631" + "self": "/projects/1022267895" } } ], diff --git a/public/api/examples/publicationResponse.json b/public/api/examples/publicationResponse.json index 3f6a896c49..2faa69d2b2 100644 --- a/public/api/examples/publicationResponse.json +++ b/public/api/examples/publicationResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "175", + "id": "497", "type": "publications", "attributes": { "policy": { @@ -8,14 +8,14 @@ "permissions": [ { "resource": { - "id": "1039988335", + "id": "1040004050", "type": "people" }, "access": "manage" }, { "resource": { - "id": "1039988347", + "id": "1040004062", "type": "people" }, "access": "manage" @@ -24,35 +24,33 @@ }, "discussion_links": [ { - "id": "50", + "id": "395", "label": "Slack", "url": "http://www.slack.com/" } ], "misc_links": [ { - "id": "51", + "id": "396", "label": "A link", "url": "http://www.slack.com/" } ], "title": "A Maximal Publication", "latest_version": 1, - "tags": [ - - ], + "tags": [], "versions": [ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/publications/175?version=1", + "url": "http://localhost:3000/publications/497?version=1", "doi": "10.5072/abcd" } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:27:08.442Z", - "updated_at": "2026-06-16T14:27:08.442Z", + "created_at": "2026-08-27T08:54:01.387Z", + "updated_at": "2026-08-27T08:54:01.387Z", "doi": "10.5072/abcd", "content_blobs": [ { @@ -61,16 +59,16 @@ "md5sum": "726de0a3f94d65056b909b9736e10349", "sha1sum": "fbcc0dee4b5415de4c82ef5b137d8231fec1331b", "content_type": "application/pdf", - "link": "http://localhost:3000/publications/175/content_blobs/1050453111", + "link": "http://localhost:3000/publications/497/content_blobs/1050456992", "size": 8 } ], "creators": [ { - "profile": "/people/1039988335", + "profile": "/people/1040004050", "family_name": "Last", - "given_name": "Person1624", - "affiliation": "An Institution: 1870", + "given_name": "Person4132", + "affiliation": "An Institution: 4933", "orcid": null } ], @@ -96,7 +94,7 @@ "creators": { "data": [ { - "id": "1039988335", + "id": "1040004050", "type": "people" } ] @@ -104,7 +102,7 @@ "submitter": { "data": [ { - "id": "1039988347", + "id": "1040004062", "type": "people" } ] @@ -112,11 +110,11 @@ "people": { "data": [ { - "id": "1039988335", + "id": "1040004050", "type": "people" }, { - "id": "1039988347", + "id": "1040004062", "type": "people" } ] @@ -124,7 +122,7 @@ "projects": { "data": [ { - "id": "1022252399", + "id": "1022268092", "type": "projects" } ] @@ -132,7 +130,7 @@ "investigations": { "data": [ { - "id": "973655180", + "id": "973656272", "type": "investigations" } ] @@ -140,7 +138,7 @@ "studies": { "data": [ { - "id": "1060385207", + "id": "1060386088", "type": "studies" } ] @@ -148,7 +146,7 @@ "assays": { "data": [ { - "id": "1035386926", + "id": "1035387666", "type": "assays" } ] @@ -156,7 +154,7 @@ "data_files": { "data": [ { - "id": "883654442", + "id": "1055251026", "type": "data_files" } ] @@ -164,7 +162,7 @@ "models": { "data": [ { - "id": "1004285531", + "id": "1004285959", "type": "models" } ] @@ -172,7 +170,7 @@ "presentations": { "data": [ { - "id": "60", + "id": "245", "type": "presentations" } ] @@ -180,7 +178,7 @@ "events": { "data": [ { - "id": "1025618727", + "id": "1025618876", "type": "events" } ] @@ -188,21 +186,25 @@ "workflows": { "data": [ { - "id": "109", + "id": "1524", "type": "workflows" } ] } }, "links": { - "self": "/publications/175?version=1" + "self": "/publications/497?version=1" }, "meta": { - "created": "2026-06-16T14:27:08.084Z", - "modified": "2026-06-16T14:27:08.084Z", + "created": "2026-08-27T08:54:00.922Z", + "modified": "2026-08-27T08:54:00.922Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "971273d7-8441-421a-8cd5-f6f23c0c0e54" + "uuid": "d172c5e7-fbb9-4638-a765-870a4174967c", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/publicationsResponse.json b/public/api/examples/publicationsResponse.json index 1f4c97b6ae..50d7ddfc81 100644 --- a/public/api/examples/publicationsResponse.json +++ b/public/api/examples/publicationsResponse.json @@ -1,23 +1,23 @@ { "data": [ { - "id": "173", + "id": "495", "type": "publications", "attributes": { "title": "A Maximal Publication" }, "links": { - "self": "/publications/173" + "self": "/publications/495" } }, { - "id": "172", + "id": "494", "type": "publications", "attributes": { "title": "A Minimal Publication" }, "links": { - "self": "/publications/172" + "self": "/publications/494" } } ], diff --git a/public/api/examples/sampleControlledVocabPatch.json b/public/api/examples/sampleControlledVocabPatch.json index 5222d69b5b..2c189414f4 100644 --- a/public/api/examples/sampleControlledVocabPatch.json +++ b/public/api/examples/sampleControlledVocabPatch.json @@ -1,6 +1,6 @@ { "data": { - "id": "287", + "id": "1367", "type": "sample_controlled_vocabs", "attributes": { "title": "new title", @@ -10,7 +10,7 @@ "short_name": "new short name", "sample_controlled_vocab_terms_attributes": [ { - "id": "881", + "id": "5043", "label": "new term label", "iri": "new iri", "parent_iri": "new parent_iri" diff --git a/public/api/examples/sampleControlledVocabPatchResponse.json b/public/api/examples/sampleControlledVocabPatchResponse.json index dda8be6df1..47297a871d 100644 --- a/public/api/examples/sampleControlledVocabPatchResponse.json +++ b/public/api/examples/sampleControlledVocabPatchResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "287", + "id": "1367", "type": "sample_controlled_vocabs", "attributes": { "title": "new title", @@ -10,7 +10,7 @@ "short_name": "new short name", "sample_controlled_vocab_terms_attributes": [ { - "id": "881", + "id": "5043", "label": "new term label", "iri": "new iri", "parent_iri": "new parent_iri" @@ -21,18 +21,18 @@ "sample_controlled_vocab_terms": { "data": [ { - "id": "881", + "id": "5043", "type": "sample_controlled_vocab_terms" } ] } }, "links": { - "self": "/sample_controlled_vocabs/287" + "self": "/sample_controlled_vocabs/1367" }, "meta": { - "created": "2026-06-16T14:35:16.900Z", - "modified": "2026-06-16T14:35:16.936Z", + "created": "2026-08-27T08:46:32.957Z", + "modified": "2026-08-27T08:46:32.974Z", "api_version": "0.3", "base_url": "http://localhost:3000" } diff --git a/public/api/examples/sampleControlledVocabPostResponse.json b/public/api/examples/sampleControlledVocabPostResponse.json index ae92cb40b3..911846647e 100644 --- a/public/api/examples/sampleControlledVocabPostResponse.json +++ b/public/api/examples/sampleControlledVocabPostResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "286", + "id": "1366", "type": "sample_controlled_vocabs", "attributes": { "title": "New Vocab Max", @@ -10,7 +10,7 @@ "short_name": "short_name", "sample_controlled_vocab_terms_attributes": [ { - "id": "880", + "id": "5042", "label": "organism", "iri": "http://some_iri", "parent_iri": "http://another_iri" @@ -21,18 +21,18 @@ "sample_controlled_vocab_terms": { "data": [ { - "id": "880", + "id": "5042", "type": "sample_controlled_vocab_terms" } ] } }, "links": { - "self": "/sample_controlled_vocabs/286" + "self": "/sample_controlled_vocabs/1366" }, "meta": { - "created": "2026-06-16T14:35:16.398Z", - "modified": "2026-06-16T14:35:16.398Z", + "created": "2026-08-27T08:46:32.653Z", + "modified": "2026-08-27T08:46:32.653Z", "api_version": "0.3", "base_url": "http://localhost:3000" } diff --git a/public/api/examples/samplePatch.json b/public/api/examples/samplePatch.json index 777bfd0dfe..325b7e4b70 100644 --- a/public/api/examples/samplePatch.json +++ b/public/api/examples/samplePatch.json @@ -1,7 +1,7 @@ { "data": { "type": "samples", - "id": "156", + "id": "10327", "attributes": { "attribute_map": { "full_name": "Fred Bloggs", @@ -17,15 +17,13 @@ "age": 42, "bool": true }, - "tags": [ - - ] + "tags": [] }, "relationships": { "projects": { "data": [ { - "id": "1022252297", + "id": "1022264061", "type": "projects" } ] diff --git a/public/api/examples/samplePatchResponse.json b/public/api/examples/samplePatchResponse.json index faa4a343da..b0749b9364 100644 --- a/public/api/examples/samplePatchResponse.json +++ b/public/api/examples/samplePatchResponse.json @@ -1,26 +1,18 @@ { "data": { - "id": "156", + "id": "10327", "type": "samples", "attributes": { "policy": { "access": "manage", - "permissions": [ - - ] + "permissions": [] }, - "discussion_links": [ - - ], + "discussion_links": [], "title": "Fred Bloggs", - "tags": [ - - ], - "created_at": "2026-06-16T14:26:53.279Z", - "updated_at": "2026-06-16T14:26:53.728Z", - "creators": [ - - ], + "tags": [], + "created_at": "2026-08-27T08:37:53.755Z", + "updated_at": "2026-08-27T08:37:54.027Z", + "creators": [], "other_creators": null, "attribute_map": { "full_name": "Fred Bloggs", @@ -34,12 +26,12 @@ ], "patients": [ { - "id": 154, + "id": 10325, "type": "Sample", "title": "Fred Bloggs" }, { - "id": 155, + "id": 10326, "type": "Sample", "title": "Fred Bloggs" } @@ -48,12 +40,12 @@ "age": 42, "bool": true, "data file": { - "id": 883654438, + "id": 1055250774, "type": "DataFile", "title": "This Data file" }, "sop": { - "id": 1055250576, + "id": 1055250814, "type": "Sop", "title": "This Sop" } @@ -61,28 +53,26 @@ }, "relationships": { "creators": { - "data": [ - - ] + "data": [] }, "submitter": { "data": [ { - "id": "1039988245", + "id": "1040000009", "type": "people" } ] }, "sample_type": { "data": { - "id": "183", + "id": "10378", "type": "sample_types" } }, "projects": { "data": [ { - "id": "1022252297", + "id": "1022264061", "type": "projects" } ] @@ -90,44 +80,41 @@ "data_files": { "data": [ { - "id": "883654438", + "id": "1055250774", "type": "data_files" } ] }, "investigations": { - "data": [ - - ] + "data": [] }, "studies": { - "data": [ - - ] + "data": [] }, "assays": { - "data": [ - - ] + "data": [] }, "people": { "data": [ { - "id": "1039988245", + "id": "1040000009", "type": "people" } ] } }, "links": { - "self": "/samples/156" + "self": "/samples/10327" }, "meta": { - "created": "2026-06-16T14:26:53.279Z", - "modified": "2026-06-16T14:26:53.728Z", + "created": "2026-08-27T08:37:53.755Z", + "modified": "2026-08-27T08:37:54.027Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "014ec8b4-ba66-47db-a767-cecf75455540" + "uuid": "1e70244b-a4ae-4155-81e4-9c3a10d72c54", + "metrics": { + "view_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/samplePost.json b/public/api/examples/samplePost.json index 62096f865e..62643ffa6b 100644 --- a/public/api/examples/samplePost.json +++ b/public/api/examples/samplePost.json @@ -24,14 +24,14 @@ "relationships": { "sample_type": { "data": { - "id": "162", + "id": "10357", "type": "sample_types" } }, "creators": { "data": [ { - "id": "1039988187", + "id": "1039999951", "type": "people" } ] @@ -39,7 +39,7 @@ "projects": { "data": [ { - "id": "1022252239", + "id": "1022264003", "type": "projects" } ] @@ -47,7 +47,7 @@ "assays": { "data": [ { - "id": "1035386914", + "id": "1035387170", "type": "assays" } ] diff --git a/public/api/examples/samplePostResponse.json b/public/api/examples/samplePostResponse.json index 2869ae5a80..7ce6d0ea82 100644 --- a/public/api/examples/samplePostResponse.json +++ b/public/api/examples/samplePostResponse.json @@ -1,30 +1,26 @@ { "data": { - "id": "140", + "id": "10311", "type": "samples", "attributes": { "policy": { "access": "no_access", - "permissions": [ - - ] + "permissions": [] }, - "discussion_links": [ - - ], + "discussion_links": [], "title": "Fred Bloggs", "tags": [ "tag1", "tag2" ], - "created_at": "2026-06-16T14:26:41.607Z", - "updated_at": "2026-06-16T14:26:41.580Z", + "created_at": "2026-08-27T08:37:42.570Z", + "updated_at": "2026-08-27T08:37:42.536Z", "creators": [ { - "profile": "/people/1039988187", + "profile": "/people/1039999951", "family_name": "Last", - "given_name": "Person1486", - "affiliation": "An Institution: 1722", + "given_name": "Person670", + "affiliation": "An Institution: 763", "orcid": null } ], @@ -51,7 +47,7 @@ "creators": { "data": [ { - "id": "1039988187", + "id": "1039999951", "type": "people" } ] @@ -59,34 +55,32 @@ "submitter": { "data": [ { - "id": "1039988187", + "id": "1039999951", "type": "people" } ] }, "sample_type": { "data": { - "id": "162", + "id": "10357", "type": "sample_types" } }, "projects": { "data": [ { - "id": "1022252239", + "id": "1022264003", "type": "projects" } ] }, "data_files": { - "data": [ - - ] + "data": [] }, "investigations": { "data": [ { - "id": "973655160", + "id": "973655518", "type": "investigations" } ] @@ -94,7 +88,7 @@ "studies": { "data": [ { - "id": "1060385191", + "id": "1060385435", "type": "studies" } ] @@ -102,7 +96,7 @@ "assays": { "data": [ { - "id": "1035386914", + "id": "1035387170", "type": "assays" } ] @@ -110,21 +104,24 @@ "people": { "data": [ { - "id": "1039988187", + "id": "1039999951", "type": "people" } ] } }, "links": { - "self": "/samples/140" + "self": "/samples/10311" }, "meta": { - "created": "2026-06-16T14:26:41.607Z", - "modified": "2026-06-16T14:26:41.580Z", + "created": "2026-08-27T08:37:42.570Z", + "modified": "2026-08-27T08:37:42.536Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "9a08f14a-ca8b-4d7d-ba68-b3f190add469" + "uuid": "8d2e12c0-6ea6-4d89-914f-fb5d2fac2af1", + "metrics": { + "view_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/sampleResponse.json b/public/api/examples/sampleResponse.json index 3299573608..da8fb719ef 100644 --- a/public/api/examples/sampleResponse.json +++ b/public/api/examples/sampleResponse.json @@ -1,27 +1,21 @@ { "data": { - "id": "153", + "id": "10324", "type": "samples", "attributes": { "policy": { "access": "no_access", - "permissions": [ - - ] + "permissions": [] }, - "discussion_links": [ - - ], + "discussion_links": [], "title": "Fred Bloggs", "tags": [ "tag1", "tag2" ], - "created_at": "2026-06-16T14:26:49.162Z", - "updated_at": "2026-06-16T14:26:49.162Z", - "creators": [ - - ], + "created_at": "2026-08-27T08:37:51.751Z", + "updated_at": "2026-08-27T08:37:51.751Z", + "creators": [], "other_creators": null, "attribute_map": { "full_name": "Fred Bloggs", @@ -35,12 +29,12 @@ ], "patients": [ { - "id": 151, + "id": 10322, "type": "Sample", "title": "Fred Bloggs" }, { - "id": 152, + "id": 10323, "type": "Sample", "title": "Fred Bloggs" } @@ -49,12 +43,12 @@ "age": 42, "bool": true, "data file": { - "id": 883654437, + "id": 1055250773, "type": "DataFile", "title": "This Data file" }, "sop": { - "id": 1055250575, + "id": 1055250813, "type": "Sop", "title": "This Sop" } @@ -62,28 +56,26 @@ }, "relationships": { "creators": { - "data": [ - - ] + "data": [] }, "submitter": { "data": [ { - "id": "1039988234", + "id": "1039999998", "type": "people" } ] }, "sample_type": { "data": { - "id": "179", + "id": "10374", "type": "sample_types" } }, "projects": { "data": [ { - "id": "1022252286", + "id": "1022264050", "type": "projects" } ] @@ -91,44 +83,41 @@ "data_files": { "data": [ { - "id": "883654437", + "id": "1055250773", "type": "data_files" } ] }, "investigations": { - "data": [ - - ] + "data": [] }, "studies": { - "data": [ - - ] + "data": [] }, "assays": { - "data": [ - - ] + "data": [] }, "people": { "data": [ { - "id": "1039988234", + "id": "1039999998", "type": "people" } ] } }, "links": { - "self": "/samples/153" + "self": "/samples/10324" }, "meta": { - "created": "2026-06-16T14:26:49.162Z", - "modified": "2026-06-16T14:26:49.162Z", + "created": "2026-08-27T08:37:51.751Z", + "modified": "2026-08-27T08:37:51.751Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "faf0b257-bf26-4e7c-8dd1-6c7c7d4b3ea3" + "uuid": "353e46bc-3b8e-4beb-8e73-ccb60f485bee", + "metrics": { + "view_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/sampleTypePatch.json b/public/api/examples/sampleTypePatch.json index a492ce8db5..c232d1230e 100644 --- a/public/api/examples/sampleTypePatch.json +++ b/public/api/examples/sampleTypePatch.json @@ -1,27 +1,25 @@ { "data": { "type": "sample_types", - "id": "265", + "id": "10537", "attributes": { "title": "This is a new title.", "sample_attributes": [ { - "id": "1155", + "id": "3273", "title": "This is a new attribute title", "sample_attribute_type": { - "title": "String attribute type 220" + "title": "String attribute type 831" } } ], - "tags": [ - - ] + "tags": [] }, "relationships": { "projects": { "data": [ { - "id": "1022253409", + "id": "1022268256", "type": "projects" } ] @@ -29,7 +27,7 @@ "assays": { "data": [ { - "id": "1035386996", + "id": "1035387697", "type": "assays" } ] diff --git a/public/api/examples/sampleTypePatchResponse.json b/public/api/examples/sampleTypePatchResponse.json index fbb702658d..febee481d7 100644 --- a/public/api/examples/sampleTypePatchResponse.json +++ b/public/api/examples/sampleTypePatchResponse.json @@ -1,28 +1,24 @@ { "data": { - "id": "265", + "id": "10537", "type": "sample_types", "attributes": { "policy": { "access": "no_access", - "permissions": [ - - ] + "permissions": [] }, - "discussion_links": [ - - ], + "discussion_links": [], "title": "This is a new title.", "description": null, "sample_attributes": [ { - "id": "1155", + "id": "3273", "title": "This is a new attribute title", "description": null, "pid": null, "sample_attribute_type": { - "id": "1019850818", - "title": "String attribute type 220", + "id": "1019855420", + "title": "String attribute type 831", "base_type": "String", "regexp": ".*" }, @@ -34,28 +30,24 @@ "linked_sample_type_id": null } ], - "tags": [ - - ] + "tags": [] }, "relationships": { "projects": { "data": [ { - "id": "1022253409", + "id": "1022268256", "type": "projects" } ] }, "samples": { - "data": [ - - ] + "data": [] }, "submitter": { "data": [ { - "id": "1039989416", + "id": "1040004225", "type": "people" } ] @@ -63,21 +55,21 @@ "assays": { "data": [ { - "id": "1035386996", + "id": "1035387697", "type": "assays" } ] } }, "links": { - "self": "/sample_types/265" + "self": "/sample_types/10537" }, "meta": { - "created": "2026-06-16T14:31:41.355Z", - "modified": "2026-06-16T14:31:41.602Z", + "created": "2026-08-27T08:55:27.099Z", + "modified": "2026-08-27T08:55:27.679Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "5153feef-1118-418e-9b3b-50c7b9aee9bf" + "uuid": "96587a16-c86b-425e-a368-02782d6b73ed" } }, "jsonapi": { diff --git a/public/api/examples/sampleTypePost.json b/public/api/examples/sampleTypePost.json index 5702d21e5e..5e854f68b8 100644 --- a/public/api/examples/sampleTypePost.json +++ b/public/api/examples/sampleTypePost.json @@ -8,7 +8,7 @@ { "title": "full name", "sample_attribute_type": { - "title": "String attribute type 217" + "title": "String attribute type 828" }, "required": true, "pos": 1, @@ -21,7 +21,7 @@ "projects": { "data": [ { - "id": "1022253389", + "id": "1022268236", "type": "projects" } ] @@ -29,7 +29,7 @@ "assays": { "data": [ { - "id": "1035386991", + "id": "1035387692", "type": "assays" } ] diff --git a/public/api/examples/sampleTypePostResponse.json b/public/api/examples/sampleTypePostResponse.json index 8fcbec7501..f93fcaf6eb 100644 --- a/public/api/examples/sampleTypePostResponse.json +++ b/public/api/examples/sampleTypePostResponse.json @@ -1,28 +1,24 @@ { "data": { - "id": "257", + "id": "10529", "type": "sample_types", "attributes": { "policy": { "access": "no_access", - "permissions": [ - - ] + "permissions": [] }, - "discussion_links": [ - - ], + "discussion_links": [], "title": "A Maximal SampleType", "description": "A very new research", "sample_attributes": [ { - "id": "1117", + "id": "3235", "title": "full name", "description": null, "pid": null, "sample_attribute_type": { - "id": "1019850780", - "title": "String attribute type 217", + "id": "1019855382", + "title": "String attribute type 828", "base_type": "String", "regexp": ".*" }, @@ -34,28 +30,24 @@ "linked_sample_type_id": null } ], - "tags": [ - - ] + "tags": [] }, "relationships": { "projects": { "data": [ { - "id": "1022253389", + "id": "1022268236", "type": "projects" } ] }, "samples": { - "data": [ - - ] + "data": [] }, "submitter": { "data": [ { - "id": "1039989396", + "id": "1040004205", "type": "people" } ] @@ -63,21 +55,21 @@ "assays": { "data": [ { - "id": "1035386991", + "id": "1035387692", "type": "assays" } ] } }, "links": { - "self": "/sample_types/257" + "self": "/sample_types/10529" }, "meta": { - "created": "2026-06-16T14:31:37.648Z", - "modified": "2026-06-16T14:31:37.648Z", + "created": "2026-08-27T08:55:17.185Z", + "modified": "2026-08-27T08:55:17.185Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "5d4babf9-c05c-4ae8-be88-dbe732d94d45" + "uuid": "acd33022-2c5a-48c7-8116-dba833274a48" } }, "jsonapi": { diff --git a/public/api/examples/sampleTypeResponse.json b/public/api/examples/sampleTypeResponse.json index 0035880392..f293df056e 100644 --- a/public/api/examples/sampleTypeResponse.json +++ b/public/api/examples/sampleTypeResponse.json @@ -1,27 +1,23 @@ { "data": { - "id": "264", + "id": "10536", "type": "sample_types", "attributes": { "policy": { "access": "no_access", - "permissions": [ - - ] + "permissions": [] }, - "discussion_links": [ - - ], + "discussion_links": [], "title": "A Maximal SampleType", "description": "A very new research", "sample_attributes": [ { - "id": "1143", + "id": "3261", "title": "full_name", "description": "the persons full name", "pid": null, "sample_attribute_type": { - "id": "1019850801", + "id": "1019855403", "title": "Full name", "base_type": "String", "regexp": "[A-Z][a-z]+[ ][A-Z][a-z]+" @@ -34,12 +30,12 @@ "linked_sample_type_id": null }, { - "id": "1144", + "id": "3262", "title": "address", "description": null, "pid": null, "sample_attribute_type": { - "id": "1019850802", + "id": "1019855404", "title": "Address", "base_type": "Text", "regexp": ".*" @@ -52,12 +48,12 @@ "linked_sample_type_id": null }, { - "id": "1145", + "id": "3263", "title": "postcode", "description": null, "pid": "dc:postcode", "sample_attribute_type": { - "id": "1019850803", + "id": "1019855405", "title": "Post Code", "base_type": "String", "regexp": "^([A-PR-UWYZ0-9][A-HK-Y0-9][AEHMNPRTVXY0-9]?[ABEHMNPRVWXY0-9]? {1,2}[0-9][ABD-HJLN-UW-Z]{2}|GIR 0AA)$" @@ -70,12 +66,12 @@ "linked_sample_type_id": null }, { - "id": "1146", + "id": "3264", "title": "CAPITAL key", "description": null, "pid": null, "sample_attribute_type": { - "id": "1019850804", + "id": "1019855406", "title": "String", "base_type": "String", "regexp": ".*" @@ -88,12 +84,12 @@ "linked_sample_type_id": null }, { - "id": "1147", + "id": "3265", "title": "apple", "description": null, "pid": null, "sample_attribute_type": { - "id": "1019850805", + "id": "1019855407", "title": "CV attribute type 39", "base_type": "CV", "regexp": ".*" @@ -102,16 +98,16 @@ "pos": 5, "unit": null, "is_title": false, - "sample_controlled_vocab_id": "243", + "sample_controlled_vocab_id": "1449", "linked_sample_type_id": null }, { - "id": "1148", + "id": "3266", "title": "apples", "description": null, "pid": null, "sample_attribute_type": { - "id": "1019850806", + "id": "1019855408", "title": "CV List attribute type 39", "base_type": "CVList", "regexp": ".*" @@ -120,16 +116,16 @@ "pos": 6, "unit": null, "is_title": false, - "sample_controlled_vocab_id": "244", + "sample_controlled_vocab_id": "1450", "linked_sample_type_id": null }, { - "id": "1149", + "id": "3267", "title": "patients", "description": null, "pid": null, "sample_attribute_type": { - "id": "1019850817", + "id": "1019855419", "title": "Sample multi attribute type 39", "base_type": "SeekSampleMulti", "regexp": ".*" @@ -139,15 +135,15 @@ "unit": null, "is_title": false, "sample_controlled_vocab_id": null, - "linked_sample_type_id": "263" + "linked_sample_type_id": "10535" }, { - "id": "1150", + "id": "3268", "title": "weight", "description": null, "pid": null, "sample_attribute_type": { - "id": "1019850812", + "id": "1019855414", "title": "Float attribute type 39", "base_type": "Float", "regexp": ".*" @@ -160,13 +156,13 @@ "linked_sample_type_id": null }, { - "id": "1151", + "id": "3269", "title": "age", "description": null, "pid": null, "sample_attribute_type": { - "id": "1019850813", - "title": "Integer attribute type 77", + "id": "1019855415", + "title": "Integer attribute type 116", "base_type": "Integer", "regexp": ".*" }, @@ -178,12 +174,12 @@ "linked_sample_type_id": null }, { - "id": "1152", + "id": "3270", "title": "bool", "description": null, "pid": null, "sample_attribute_type": { - "id": "1019850814", + "id": "1019855416", "title": "Boolean attribute type 39", "base_type": "Boolean", "regexp": ".*" @@ -196,12 +192,12 @@ "linked_sample_type_id": null }, { - "id": "1153", + "id": "3271", "title": "data file", "description": null, "pid": null, "sample_attribute_type": { - "id": "1019850815", + "id": "1019855417", "title": "Data file attribute type 43", "base_type": "SeekDataFile", "regexp": ".*" @@ -214,12 +210,12 @@ "linked_sample_type_id": null }, { - "id": "1154", + "id": "3272", "title": "sop", "description": null, "pid": null, "sample_attribute_type": { - "id": "1019850816", + "id": "1019855418", "title": "SOP attribute type 43", "base_type": "SeekSop", "regexp": ".*" @@ -241,20 +237,18 @@ "projects": { "data": [ { - "id": "1022253406", + "id": "1022268253", "type": "projects" } ] }, "samples": { - "data": [ - - ] + "data": [] }, "submitter": { "data": [ { - "id": "1039989413", + "id": "1040004222", "type": "people" } ] @@ -262,21 +256,21 @@ "assays": { "data": [ { - "id": "1035386995", + "id": "1035387696", "type": "assays" } ] } }, "links": { - "self": "/sample_types/264" + "self": "/sample_types/10536" }, "meta": { - "created": "2026-06-16T14:31:40.667Z", - "modified": "2026-06-16T14:31:40.667Z", + "created": "2026-08-27T08:55:25.702Z", + "modified": "2026-08-27T08:55:25.702Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "4e79e60c-d78d-4542-ba54-b1b79c98e16f" + "uuid": "41914d02-3a90-4f7f-a8f1-9da17218c0b2" } }, "jsonapi": { diff --git a/public/api/examples/sampleTypesResponse.json b/public/api/examples/sampleTypesResponse.json index 6d74baec40..07ffcce361 100644 --- a/public/api/examples/sampleTypesResponse.json +++ b/public/api/examples/sampleTypesResponse.json @@ -1,7 +1,5 @@ { - "data": [ - - ], + "data": [], "jsonapi": { "version": "1.0" }, diff --git a/public/api/examples/sopPatch.json b/public/api/examples/sopPatch.json index b0928d5515..048a025d68 100644 --- a/public/api/examples/sopPatch.json +++ b/public/api/examples/sopPatch.json @@ -1,7 +1,7 @@ { "data": { "type": "sops", - "id": "1055250518", + "id": "1055250862", "attributes": { "title": "A Maximally Patched SOP", "description": "Protocol", @@ -17,7 +17,7 @@ "permissions": [ { "resource": { - "id": "1022251602", + "id": "1022264448", "type": "projects" }, "access": "edit" @@ -29,7 +29,7 @@ "creators": { "data": [ { - "id": "1039987530", + "id": "1040000401", "type": "people" } ] @@ -37,7 +37,7 @@ "projects": { "data": [ { - "id": "1022251602", + "id": "1022264448", "type": "projects" } ] @@ -45,7 +45,7 @@ "assays": { "data": [ { - "id": "1035386827", + "id": "1035387234", "type": "assays" } ] @@ -53,7 +53,7 @@ "workflows": { "data": [ { - "id": "67", + "id": "1349", "type": "workflows" } ] diff --git a/public/api/examples/sopPatchResponse.json b/public/api/examples/sopPatchResponse.json index 52afd6c395..0e48c4a73c 100644 --- a/public/api/examples/sopPatchResponse.json +++ b/public/api/examples/sopPatchResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "1055250518", + "id": "1055250862", "type": "sops", "attributes": { "policy": { @@ -8,16 +8,14 @@ "permissions": [ { "resource": { - "id": "1022251602", + "id": "1022264448", "type": "projects" }, "access": "edit" } ] }, - "discussion_links": [ - - ], + "discussion_links": [], "title": "A Maximally Patched SOP", "license": "CC-BY-4.0", "description": "Protocol", @@ -31,32 +29,32 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/sops/1055250518?version=1", + "url": "http://localhost:3000/sops/1055250862?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:24:04.653Z", - "updated_at": "2026-06-16T14:24:04.890Z", + "created_at": "2026-08-27T08:38:58.527Z", + "updated_at": "2026-08-27T08:38:58.709Z", "doi": null, "content_blobs": [ { "original_filename": "sop.pdf", "url": null, - "md5sum": "62936251e0e7c37fd97b37b67e8b4fb8", - "sha1sum": "d8c09f42cb9e4cb37768672bf5bbb8766404c169", + "md5sum": "6dcc75f5e754a618411f9f11ae3f93c9", + "sha1sum": "047a679a491a6c5eb15f4aa1bb5117363a87530f", "content_type": "application/pdf", - "link": "http://localhost:3000/sops/1055250518/content_blobs/1050452841", + "link": "http://localhost:3000/sops/1055250862/content_blobs/1050455915", "size": 10 } ], "creators": [ { - "profile": "/people/1039987530", + "profile": "/people/1040000401", "family_name": "Last", - "given_name": "Person914", - "affiliation": "An Institution: 1064", + "given_name": "Person1043", + "affiliation": "An Institution: 1209", "orcid": null } ], @@ -66,7 +64,7 @@ "creators": { "data": [ { - "id": "1039987530", + "id": "1040000401", "type": "people" } ] @@ -74,7 +72,7 @@ "submitter": { "data": [ { - "id": "1039987528", + "id": "1040000399", "type": "people" } ] @@ -82,11 +80,11 @@ "people": { "data": [ { - "id": "1039987528", + "id": "1040000399", "type": "people" }, { - "id": "1039987530", + "id": "1040000401", "type": "people" } ] @@ -94,7 +92,7 @@ "projects": { "data": [ { - "id": "1022251602", + "id": "1022264448", "type": "projects" } ] @@ -102,7 +100,7 @@ "investigations": { "data": [ { - "id": "973655071", + "id": "973655590", "type": "investigations" } ] @@ -110,7 +108,7 @@ "studies": { "data": [ { - "id": "1060385103", + "id": "1060385503", "type": "studies" } ] @@ -118,34 +116,36 @@ "assays": { "data": [ { - "id": "1035386827", + "id": "1035387234", "type": "assays" } ] }, "publications": { - "data": [ - - ] + "data": [] }, "workflows": { "data": [ { - "id": "67", + "id": "1349", "type": "workflows" } ] } }, "links": { - "self": "/sops/1055250518?version=1" + "self": "/sops/1055250862?version=1" }, "meta": { - "created": "2026-06-16T14:24:04.633Z", - "modified": "2026-06-16T14:24:04.830Z", + "created": "2026-08-27T08:38:58.511Z", + "modified": "2026-08-27T08:38:58.680Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "83b95271-6a12-4fed-a755-951cf0a39e30" + "uuid": "20d30979-0854-4147-ad2b-4c859bf76f1f", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/sopPost.json b/public/api/examples/sopPost.json index 8593178af2..90313be7da 100644 --- a/public/api/examples/sopPost.json +++ b/public/api/examples/sopPost.json @@ -21,7 +21,7 @@ "permissions": [ { "resource": { - "id": "1022251507", + "id": "1022264353", "type": "projects" }, "access": "edit" @@ -33,7 +33,7 @@ "creators": { "data": [ { - "id": "1039987435", + "id": "1040000306", "type": "people" } ] @@ -41,7 +41,7 @@ "projects": { "data": [ { - "id": "1022251507", + "id": "1022264353", "type": "projects" } ] @@ -49,7 +49,7 @@ "assays": { "data": [ { - "id": "1035386810", + "id": "1035387217", "type": "assays" } ] @@ -57,7 +57,7 @@ "workflows": { "data": [ { - "id": "60", + "id": "1342", "type": "workflows" } ] diff --git a/public/api/examples/sopPostResponse.json b/public/api/examples/sopPostResponse.json index a3cb8c1c7d..d56594fe2b 100644 --- a/public/api/examples/sopPostResponse.json +++ b/public/api/examples/sopPostResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "1055250508", + "id": "1055250852", "type": "sops", "attributes": { "policy": { @@ -8,16 +8,14 @@ "permissions": [ { "resource": { - "id": "1022251507", + "id": "1022264353", "type": "projects" }, "access": "edit" } ] }, - "discussion_links": [ - - ], + "discussion_links": [], "title": "A Maximal SOP", "license": "CC-BY-4.0", "description": "This is the description", @@ -30,14 +28,14 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/sops/1055250508?version=1", + "url": "http://localhost:3000/sops/1055250852?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:23:47.375Z", - "updated_at": "2026-06-16T14:23:47.375Z", + "created_at": "2026-08-27T08:38:42.632Z", + "updated_at": "2026-08-27T08:38:42.632Z", "doi": null, "content_blobs": [ { @@ -46,16 +44,16 @@ "md5sum": null, "sha1sum": null, "content_type": "application/pdf", - "link": "http://localhost:3000/sops/1055250508/content_blobs/1050452809", + "link": "http://localhost:3000/sops/1055250852/content_blobs/1050455883", "size": null } ], "creators": [ { - "profile": "/people/1039987435", + "profile": "/people/1040000306", "family_name": "Last", - "given_name": "Person830", - "affiliation": "An Institution: 969", + "given_name": "Person959", + "affiliation": "An Institution: 1114", "orcid": null } ], @@ -65,7 +63,7 @@ "creators": { "data": [ { - "id": "1039987435", + "id": "1040000306", "type": "people" } ] @@ -73,7 +71,7 @@ "submitter": { "data": [ { - "id": "1039987433", + "id": "1040000304", "type": "people" } ] @@ -81,11 +79,11 @@ "people": { "data": [ { - "id": "1039987433", + "id": "1040000304", "type": "people" }, { - "id": "1039987435", + "id": "1040000306", "type": "people" } ] @@ -93,7 +91,7 @@ "projects": { "data": [ { - "id": "1022251507", + "id": "1022264353", "type": "projects" } ] @@ -101,7 +99,7 @@ "investigations": { "data": [ { - "id": "973655050", + "id": "973655569", "type": "investigations" } ] @@ -109,7 +107,7 @@ "studies": { "data": [ { - "id": "1060385084", + "id": "1060385484", "type": "studies" } ] @@ -117,34 +115,36 @@ "assays": { "data": [ { - "id": "1035386810", + "id": "1035387217", "type": "assays" } ] }, "publications": { - "data": [ - - ] + "data": [] }, "workflows": { "data": [ { - "id": "60", + "id": "1342", "type": "workflows" } ] } }, "links": { - "self": "/sops/1055250508?version=1" + "self": "/sops/1055250852?version=1" }, "meta": { - "created": "2026-06-16T14:23:47.344Z", - "modified": "2026-06-16T14:23:47.375Z", + "created": "2026-08-27T08:38:42.594Z", + "modified": "2026-08-27T08:38:42.632Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "5ef03688-00af-4d9d-8bbf-1bc69438ef19" + "uuid": "54393754-b7fa-407a-997d-a78ad1291870", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/sopResponse.json b/public/api/examples/sopResponse.json index ead31611df..ccb5c96ff3 100644 --- a/public/api/examples/sopResponse.json +++ b/public/api/examples/sopResponse.json @@ -1,17 +1,15 @@ { "data": { - "id": "1055250517", + "id": "1055250861", "type": "sops", "attributes": { "policy": { "access": "no_access", - "permissions": [ - - ] + "permissions": [] }, "discussion_links": [ { - "id": "39", + "id": "191", "label": "Slack", "url": "http://www.slack.com/" } @@ -31,14 +29,14 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/sops/1055250517?version=1", + "url": "http://localhost:3000/sops/1055250861?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:24:03.646Z", - "updated_at": "2026-06-16T14:24:03.646Z", + "created_at": "2026-08-27T08:38:57.706Z", + "updated_at": "2026-08-27T08:38:57.706Z", "doi": null, "content_blobs": [ { @@ -47,13 +45,13 @@ "md5sum": "726de0a3f94d65056b909b9736e10349", "sha1sum": "fbcc0dee4b5415de4c82ef5b137d8231fec1331b", "content_type": "application/pdf", - "link": "http://localhost:3000/sops/1055250517/content_blobs/1050452840", + "link": "http://localhost:3000/sops/1055250861/content_blobs/1050455914", "size": 8 } ], "creators": [ { - "profile": "/people/1039987525", + "profile": "/people/1040000396", "family_name": "One", "given_name": "Some", "affiliation": "University of Somewhere", @@ -66,7 +64,7 @@ "creators": { "data": [ { - "id": "1039987525", + "id": "1040000396", "type": "people" } ] @@ -74,7 +72,7 @@ "submitter": { "data": [ { - "id": "1039987526", + "id": "1040000397", "type": "people" } ] @@ -82,11 +80,11 @@ "people": { "data": [ { - "id": "1039987525", + "id": "1040000396", "type": "people" }, { - "id": "1039987526", + "id": "1040000397", "type": "people" } ] @@ -94,7 +92,7 @@ "projects": { "data": [ { - "id": "1022251593", + "id": "1022264439", "type": "projects" } ] @@ -102,7 +100,7 @@ "investigations": { "data": [ { - "id": "973655070", + "id": "973655589", "type": "investigations" } ] @@ -110,7 +108,7 @@ "studies": { "data": [ { - "id": "1060385102", + "id": "1060385502", "type": "studies" } ] @@ -118,7 +116,7 @@ "assays": { "data": [ { - "id": "1035386826", + "id": "1035387233", "type": "assays" } ] @@ -126,7 +124,7 @@ "publications": { "data": [ { - "id": "105", + "id": "203", "type": "publications" } ] @@ -134,21 +132,25 @@ "workflows": { "data": [ { - "id": "66", + "id": "1348", "type": "workflows" } ] } }, "links": { - "self": "/sops/1055250517?version=1" + "self": "/sops/1055250861?version=1" }, "meta": { - "created": "2026-06-16T14:24:03.583Z", - "modified": "2026-06-16T14:24:03.646Z", + "created": "2026-08-27T08:38:57.651Z", + "modified": "2026-08-27T08:38:57.706Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "ec907b0f-36a8-4745-aa42-240451c53583" + "uuid": "142e3281-e27b-48ea-9d9b-c1fcbee28f66", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/sopsResponse.json b/public/api/examples/sopsResponse.json index 5fd8157cf4..e668aa133e 100644 --- a/public/api/examples/sopsResponse.json +++ b/public/api/examples/sopsResponse.json @@ -1,23 +1,23 @@ { "data": [ { - "id": "1055250512", + "id": "1055250856", "type": "sops", "attributes": { "title": "This Sop" }, "links": { - "self": "/sops/1055250512" + "self": "/sops/1055250856" } }, { - "id": "1055250511", + "id": "1055250855", "type": "sops", "attributes": { "title": "This Sop" }, "links": { - "self": "/sops/1055250511" + "self": "/sops/1055250855" } } ], diff --git a/public/api/examples/studiesResponse.json b/public/api/examples/studiesResponse.json index 8ee29ea2a1..a5b8289705 100644 --- a/public/api/examples/studiesResponse.json +++ b/public/api/examples/studiesResponse.json @@ -1,13 +1,13 @@ { "data": [ { - "id": "1060384919", + "id": "1060385919", "type": "studies", "attributes": { - "title": "Study49" + "title": "Study518" }, "links": { - "self": "/studies/1060384919" + "self": "/studies/1060385919" } } ], diff --git a/public/api/examples/studyPatch.json b/public/api/examples/studyPatch.json index d5dd12da95..e36f7e9f38 100644 --- a/public/api/examples/studyPatch.json +++ b/public/api/examples/studyPatch.json @@ -1,7 +1,7 @@ { "data": { "type": "studies", - "id": "1060384929", + "id": "1060385929", "attributes": { "title": "A Maximal Study", "description": "The Study of many things", @@ -12,7 +12,7 @@ "permissions": [ { "resource": { - "id": "1022250823", + "id": "1022266651", "type": "projects" }, "access": "view" @@ -20,7 +20,7 @@ ] }, "extended_attributes": { - "extended_metadata_type_id": "30", + "extended_metadata_type_id": "423", "attribute_map": { "name": "Fred Bloggs", "age": 44, @@ -31,14 +31,14 @@ "relationships": { "investigation": { "data": { - "id": "973654892", + "id": "973656104", "type": "investigations" } }, "publications": { "data": [ { - "id": "30", + "id": "386", "type": "publications" } ] @@ -46,7 +46,7 @@ "creators": { "data": [ { - "id": "1039986665", + "id": "1040002577", "type": "people" } ] diff --git a/public/api/examples/studyPatchResponse.json b/public/api/examples/studyPatchResponse.json index b560a7409c..d1c59ef6ea 100644 --- a/public/api/examples/studyPatchResponse.json +++ b/public/api/examples/studyPatchResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "1060384929", + "id": "1060385929", "type": "studies", "attributes": { "policy": { @@ -8,27 +8,23 @@ "permissions": [ { "resource": { - "id": "1022250823", + "id": "1022266651", "type": "projects" }, "access": "view" } ] }, - "discussion_links": [ - - ], + "discussion_links": [], "extended_attributes": { - "extended_metadata_type_id": "30", + "extended_metadata_type_id": "423", "attribute_map": { "age": 44, "name": "Fred Bloggs", "datetime": "2024-01-01" } }, - "snapshots": [ - - ], + "snapshots": [], "title": "A Maximal Study", "description": "The Study of many things", "experimentalists": "Wet lab people", @@ -36,10 +32,10 @@ "position": null, "creators": [ { - "profile": "/people/1039986665", + "profile": "/people/1040002577", "family_name": "Last", - "given_name": "Person162", - "affiliation": "An Institution: 197", + "given_name": "Person2931", + "affiliation": "An Institution: 3410", "orcid": null } ] @@ -48,7 +44,7 @@ "creators": { "data": [ { - "id": "1039986665", + "id": "1040002577", "type": "people" } ] @@ -56,7 +52,7 @@ "submitter": { "data": [ { - "id": "1039986665", + "id": "1040002577", "type": "people" } ] @@ -64,7 +60,7 @@ "people": { "data": [ { - "id": "1039986665", + "id": "1040002577", "type": "people" } ] @@ -72,60 +68,50 @@ "projects": { "data": [ { - "id": "1022250823", + "id": "1022266651", "type": "projects" } ] }, "investigation": { "data": { - "id": "973654892", + "id": "973656104", "type": "investigations" } }, "assays": { - "data": [ - - ] + "data": [] }, "data_files": { - "data": [ - - ] + "data": [] }, "models": { - "data": [ - - ] + "data": [] }, "sops": { - "data": [ - - ] + "data": [] }, "publications": { "data": [ { - "id": "30", + "id": "386", "type": "publications" } ] }, "documents": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/studies/1060384929" + "self": "/studies/1060385929" }, "meta": { - "created": "2026-06-16T14:21:06.578Z", - "modified": "2026-06-16T14:21:06.714Z", + "created": "2026-08-27T08:45:14.801Z", + "modified": "2026-08-27T08:45:14.873Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "3ac67666-b61a-4823-8c48-428a9f332c5d" + "uuid": "bca7dd2a-0a26-44d5-975e-ab1e1f600db4" } }, "jsonapi": { diff --git a/public/api/examples/studyPost.json b/public/api/examples/studyPost.json index e04d5f7ebf..4b145b0b5e 100644 --- a/public/api/examples/studyPost.json +++ b/public/api/examples/studyPost.json @@ -11,7 +11,7 @@ "permissions": [ { "resource": { - "id": "1022250774", + "id": "1022266602", "type": "projects" }, "access": "view" @@ -19,7 +19,7 @@ ] }, "extended_attributes": { - "extended_metadata_type_id": "25", + "extended_metadata_type_id": "418", "attribute_map": { "name": "Fred Bloggs", "age": 44, @@ -30,14 +30,14 @@ "relationships": { "investigation": { "data": { - "id": "973654871", + "id": "973656083", "type": "investigations" } }, "publications": { "data": [ { - "id": "25", + "id": "381", "type": "publications" } ] @@ -45,7 +45,7 @@ "creators": { "data": [ { - "id": "1039986616", + "id": "1040002528", "type": "people" } ] diff --git a/public/api/examples/studyPostResponse.json b/public/api/examples/studyPostResponse.json index 6189559716..888b4d58eb 100644 --- a/public/api/examples/studyPostResponse.json +++ b/public/api/examples/studyPostResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "1060384911", + "id": "1060385911", "type": "studies", "attributes": { "policy": { @@ -8,27 +8,23 @@ "permissions": [ { "resource": { - "id": "1022250774", + "id": "1022266602", "type": "projects" }, "access": "view" } ] }, - "discussion_links": [ - - ], + "discussion_links": [], "extended_attributes": { - "extended_metadata_type_id": "25", + "extended_metadata_type_id": "418", "attribute_map": { "age": 44, "name": "Fred Bloggs", "datetime": "2024-01-01" } }, - "snapshots": [ - - ], + "snapshots": [], "title": "A Maximal Study", "description": "The Study of many things", "experimentalists": "Wet lab people", @@ -36,10 +32,10 @@ "position": null, "creators": [ { - "profile": "/people/1039986616", + "profile": "/people/1040002528", "family_name": "Last", - "given_name": "Person120", - "affiliation": "An Institution: 148", + "given_name": "Person2889", + "affiliation": "An Institution: 3361", "orcid": null } ] @@ -48,7 +44,7 @@ "creators": { "data": [ { - "id": "1039986616", + "id": "1040002528", "type": "people" } ] @@ -56,7 +52,7 @@ "submitter": { "data": [ { - "id": "1039986616", + "id": "1040002528", "type": "people" } ] @@ -64,7 +60,7 @@ "people": { "data": [ { - "id": "1039986616", + "id": "1040002528", "type": "people" } ] @@ -72,60 +68,50 @@ "projects": { "data": [ { - "id": "1022250774", + "id": "1022266602", "type": "projects" } ] }, "investigation": { "data": { - "id": "973654871", + "id": "973656083", "type": "investigations" } }, "assays": { - "data": [ - - ] + "data": [] }, "data_files": { - "data": [ - - ] + "data": [] }, "models": { - "data": [ - - ] + "data": [] }, "sops": { - "data": [ - - ] + "data": [] }, "publications": { "data": [ { - "id": "25", + "id": "381", "type": "publications" } ] }, "documents": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/studies/1060384911" + "self": "/studies/1060385911" }, "meta": { - "created": "2026-06-16T14:20:56.676Z", - "modified": "2026-06-16T14:20:56.648Z", + "created": "2026-08-27T08:45:05.206Z", + "modified": "2026-08-27T08:45:05.166Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "f6036609-f738-4943-8bd7-96e75111562d" + "uuid": "05cf4982-3a73-4276-ba49-340d1b7dd9c8" } }, "jsonapi": { diff --git a/public/api/examples/studyResponse.json b/public/api/examples/studyResponse.json index a503106437..a632d023fd 100644 --- a/public/api/examples/studyResponse.json +++ b/public/api/examples/studyResponse.json @@ -1,32 +1,28 @@ { "data": { - "id": "1060384928", + "id": "1060385928", "type": "studies", "attributes": { "policy": { "access": "no_access", - "permissions": [ - - ] + "permissions": [] }, "discussion_links": [ { - "id": "10", + "id": "349", "label": "Slack", "url": "http://www.slack.com/" } ], "extended_attributes": { - "extended_metadata_type_id": "29", + "extended_metadata_type_id": "422", "attribute_map": { "age": 44, "name": "Fred Bloggs", "datetime": "2024-01-01" } }, - "snapshots": [ - - ], + "snapshots": [], "title": "A Maximal Study", "description": "The Study of many things", "experimentalists": "Wet lab people", @@ -34,7 +30,7 @@ "position": null, "creators": [ { - "profile": "/people/1039986648", + "profile": "/people/1040002560", "family_name": "One", "given_name": "Some", "affiliation": "University of Somewhere", @@ -46,7 +42,7 @@ "creators": { "data": [ { - "id": "1039986648", + "id": "1040002560", "type": "people" } ] @@ -54,7 +50,7 @@ "submitter": { "data": [ { - "id": "1039986646", + "id": "1040002558", "type": "people" } ] @@ -62,11 +58,11 @@ "people": { "data": [ { - "id": "1039986646", + "id": "1040002558", "type": "people" }, { - "id": "1039986648", + "id": "1040002560", "type": "people" } ] @@ -74,21 +70,21 @@ "projects": { "data": [ { - "id": "1022250804", + "id": "1022266632", "type": "projects" } ] }, "investigation": { "data": { - "id": "973654885", + "id": "973656097", "type": "investigations" } }, "assays": { "data": [ { - "id": "1035386679", + "id": "1035387566", "type": "assays" } ] @@ -96,7 +92,7 @@ "data_files": { "data": [ { - "id": "883654270", + "id": "1055250884", "type": "data_files" } ] @@ -104,7 +100,7 @@ "models": { "data": [ { - "id": "1004285490", + "id": "1004285928", "type": "models" } ] @@ -112,7 +108,7 @@ "sops": { "data": [ { - "id": "1055250444", + "id": "1055250960", "type": "sops" } ] @@ -120,7 +116,7 @@ "publications": { "data": [ { - "id": "29", + "id": "385", "type": "publications" } ] @@ -128,21 +124,21 @@ "documents": { "data": [ { - "id": "5", + "id": "542", "type": "documents" } ] } }, "links": { - "self": "/studies/1060384928" + "self": "/studies/1060385928" }, "meta": { - "created": "2026-06-16T14:21:04.542Z", - "modified": "2026-06-16T14:21:04.542Z", + "created": "2026-08-27T08:45:13.964Z", + "modified": "2026-08-27T08:45:13.964Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "4c492943-0841-4d9f-aeb3-1fbf81c08e28" + "uuid": "71105444-0404-4ddd-84e7-874be9eab421" } }, "jsonapi": { diff --git a/public/api/examples/workflowPatch.json b/public/api/examples/workflowPatch.json index 937d91afb8..f404ab9636 100644 --- a/public/api/examples/workflowPatch.json +++ b/public/api/examples/workflowPatch.json @@ -1,7 +1,7 @@ { "data": { "type": "workflows", - "id": "105", + "id": "1516", "attributes": { "title": "A Maximally Patched Workflow", "description": "A workflow to do important stuff", @@ -46,7 +46,7 @@ "permissions": [ { "resource": { - "id": "1022251883", + "id": "1022267454", "type": "projects" }, "access": "edit" @@ -58,7 +58,7 @@ "creators": { "data": [ { - "id": "1039987833", + "id": "1040003489", "type": "people" } ] @@ -66,7 +66,7 @@ "projects": { "data": [ { - "id": "1022251883", + "id": "1022267454", "type": "projects" } ] @@ -74,7 +74,7 @@ "assays": { "data": [ { - "id": "1035386858", + "id": "1035387636", "type": "assays" } ] @@ -82,7 +82,7 @@ "publications": { "data": [ { - "id": "161", + "id": "448", "type": "publications" } ] @@ -90,7 +90,7 @@ "presentations": { "data": [ { - "id": "56", + "id": "210", "type": "presentations" } ] @@ -98,7 +98,7 @@ "data_files": { "data": [ { - "id": "883654405", + "id": "1055250987", "type": "data_files" } ] @@ -106,7 +106,7 @@ "documents": { "data": [ { - "id": "68", + "id": "567", "type": "documents" } ] @@ -114,7 +114,7 @@ "sops": { "data": [ { - "id": "1055250543", + "id": "1055250985", "type": "sops" } ] diff --git a/public/api/examples/workflowPatchResponse.json b/public/api/examples/workflowPatchResponse.json index 0743b6ed59..97dc00fa20 100644 --- a/public/api/examples/workflowPatchResponse.json +++ b/public/api/examples/workflowPatchResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "105", + "id": "1516", "type": "workflows", "attributes": { "policy": { @@ -8,16 +8,14 @@ "permissions": [ { "resource": { - "id": "1022251883", + "id": "1022267454", "type": "projects" }, "access": "edit" } ] }, - "discussion_links": [ - - ], + "discussion_links": [], "title": "A Maximally Patched Workflow", "license": "CC-BY-4.0", "description": "A workflow to do important stuff", @@ -31,14 +29,14 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/workflows/105?version=1", + "url": "http://localhost:3000/workflows/1516?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:25:23.664Z", - "updated_at": "2026-06-16T14:25:24.065Z", + "created_at": "2026-08-27T08:51:35.585Z", + "updated_at": "2026-08-27T08:51:35.885Z", "doi": null, "content_blobs": [ { @@ -47,16 +45,16 @@ "md5sum": "ef2ea32522098acc937199f6c2b64f41", "sha1sum": "a5133ccdb0376324d039431e4eff4f7d21a751cd", "content_type": "application/x-yaml", - "link": "http://localhost:3000/workflows/105/content_blobs/1050453041", + "link": "http://localhost:3000/workflows/1516/content_blobs/1050456815", "size": 732 } ], "creators": [ { - "profile": "/people/1039987833", + "profile": "/people/1040003489", "family_name": "Last", - "given_name": "Person1157", - "affiliation": "An Institution: 1367", + "given_name": "Person3667", + "affiliation": "An Institution: 4345", "orcid": null } ], @@ -86,8 +84,7 @@ "identifier": "http://edamontology.org/topic_3277" } ], - "internals": { - }, + "internals": {}, "tools": [ { "name": "BioPython", @@ -99,7 +96,7 @@ "creators": { "data": [ { - "id": "1039987833", + "id": "1040003489", "type": "people" } ] @@ -107,7 +104,7 @@ "submitter": { "data": [ { - "id": "1039987831", + "id": "1040003487", "type": "people" } ] @@ -115,11 +112,11 @@ "people": { "data": [ { - "id": "1039987831", + "id": "1040003487", "type": "people" }, { - "id": "1039987833", + "id": "1040003489", "type": "people" } ] @@ -127,7 +124,7 @@ "projects": { "data": [ { - "id": "1022251883", + "id": "1022267454", "type": "projects" } ] @@ -135,7 +132,7 @@ "investigations": { "data": [ { - "id": "973655102", + "id": "973656226", "type": "investigations" } ] @@ -143,7 +140,7 @@ "studies": { "data": [ { - "id": "1060385134", + "id": "1060386050", "type": "studies" } ] @@ -151,7 +148,7 @@ "assays": { "data": [ { - "id": "1035386858", + "id": "1035387636", "type": "assays" } ] @@ -159,7 +156,7 @@ "publications": { "data": [ { - "id": "161", + "id": "448", "type": "publications" } ] @@ -167,7 +164,7 @@ "sops": { "data": [ { - "id": "1055250543", + "id": "1055250985", "type": "sops" } ] @@ -175,7 +172,7 @@ "presentations": { "data": [ { - "id": "56", + "id": "210", "type": "presentations" } ] @@ -183,7 +180,7 @@ "data_files": { "data": [ { - "id": "883654405", + "id": "1055250987", "type": "data_files" } ] @@ -191,21 +188,25 @@ "documents": { "data": [ { - "id": "68", + "id": "567", "type": "documents" } ] } }, "links": { - "self": "/workflows/105?version=1" + "self": "/workflows/1516?version=1" }, "meta": { - "created": "2026-06-16T14:25:23.618Z", - "modified": "2026-06-16T14:25:24.000Z", + "created": "2026-08-27T08:51:35.561Z", + "modified": "2026-08-27T08:51:35.786Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "de973945-b268-4781-aeec-87b1789e01a1" + "uuid": "957cbac2-00b4-483f-ae4c-59fb252f57f3", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/workflowPost.json b/public/api/examples/workflowPost.json index 50e0408f98..2a7e021c20 100644 --- a/public/api/examples/workflowPost.json +++ b/public/api/examples/workflowPost.json @@ -50,7 +50,7 @@ "permissions": [ { "resource": { - "id": "1022251854", + "id": "1022267425", "type": "projects" }, "access": "edit" @@ -62,7 +62,7 @@ "creators": { "data": [ { - "id": "1039987801", + "id": "1040003457", "type": "people" } ] @@ -70,7 +70,7 @@ "projects": { "data": [ { - "id": "1022251854", + "id": "1022267425", "type": "projects" } ] @@ -78,7 +78,7 @@ "assays": { "data": [ { - "id": "1035386853", + "id": "1035387631", "type": "assays" } ] @@ -86,7 +86,7 @@ "publications": { "data": [ { - "id": "156", + "id": "443", "type": "publications" } ] @@ -94,7 +94,7 @@ "presentations": { "data": [ { - "id": "53", + "id": "207", "type": "presentations" } ] @@ -102,7 +102,7 @@ "data_files": { "data": [ { - "id": "883654402", + "id": "1055250984", "type": "data_files" } ] @@ -110,7 +110,7 @@ "documents": { "data": [ { - "id": "65", + "id": "564", "type": "documents" } ] @@ -118,7 +118,7 @@ "sops": { "data": [ { - "id": "1055250540", + "id": "1055250982", "type": "sops" } ] diff --git a/public/api/examples/workflowPostResponse.json b/public/api/examples/workflowPostResponse.json index 8ecd1e99b4..1e256ea3a4 100644 --- a/public/api/examples/workflowPostResponse.json +++ b/public/api/examples/workflowPostResponse.json @@ -1,6 +1,6 @@ { "data": { - "id": "99", + "id": "1510", "type": "workflows", "attributes": { "policy": { @@ -8,16 +8,14 @@ "permissions": [ { "resource": { - "id": "1022251854", + "id": "1022267425", "type": "projects" }, "access": "edit" } ] }, - "discussion_links": [ - - ], + "discussion_links": [], "title": "A Maximal Workflow", "license": "CC-BY-4.0", "description": "This is the description", @@ -30,14 +28,14 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/workflows/99?version=1", + "url": "http://localhost:3000/workflows/1510?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:25:15.793Z", - "updated_at": "2026-06-16T14:25:15.793Z", + "created_at": "2026-08-27T08:51:18.897Z", + "updated_at": "2026-08-27T08:51:18.897Z", "doi": null, "content_blobs": [ { @@ -46,16 +44,16 @@ "md5sum": null, "sha1sum": null, "content_type": "application/x-yaml", - "link": "http://localhost:3000/workflows/99/content_blobs/1050453021", + "link": "http://localhost:3000/workflows/1510/content_blobs/1050456795", "size": null } ], "creators": [ { - "profile": "/people/1039987801", + "profile": "/people/1040003457", "family_name": "Last", - "given_name": "Person1130", - "affiliation": "An Institution: 1335", + "given_name": "Person3640", + "affiliation": "An Institution: 4313", "orcid": null } ], @@ -85,8 +83,7 @@ "identifier": "http://edamontology.org/topic_3314" } ], - "internals": { - }, + "internals": {}, "tools": [ { "name": "BioRuby", @@ -98,7 +95,7 @@ "creators": { "data": [ { - "id": "1039987801", + "id": "1040003457", "type": "people" } ] @@ -106,7 +103,7 @@ "submitter": { "data": [ { - "id": "1039987799", + "id": "1040003455", "type": "people" } ] @@ -114,11 +111,11 @@ "people": { "data": [ { - "id": "1039987799", + "id": "1040003455", "type": "people" }, { - "id": "1039987801", + "id": "1040003457", "type": "people" } ] @@ -126,7 +123,7 @@ "projects": { "data": [ { - "id": "1022251854", + "id": "1022267425", "type": "projects" } ] @@ -134,7 +131,7 @@ "investigations": { "data": [ { - "id": "973655097", + "id": "973656221", "type": "investigations" } ] @@ -142,7 +139,7 @@ "studies": { "data": [ { - "id": "1060385129", + "id": "1060386045", "type": "studies" } ] @@ -150,7 +147,7 @@ "assays": { "data": [ { - "id": "1035386853", + "id": "1035387631", "type": "assays" } ] @@ -158,7 +155,7 @@ "publications": { "data": [ { - "id": "156", + "id": "443", "type": "publications" } ] @@ -166,7 +163,7 @@ "sops": { "data": [ { - "id": "1055250540", + "id": "1055250982", "type": "sops" } ] @@ -174,7 +171,7 @@ "presentations": { "data": [ { - "id": "53", + "id": "207", "type": "presentations" } ] @@ -182,7 +179,7 @@ "data_files": { "data": [ { - "id": "883654402", + "id": "1055250984", "type": "data_files" } ] @@ -190,21 +187,25 @@ "documents": { "data": [ { - "id": "65", + "id": "564", "type": "documents" } ] } }, "links": { - "self": "/workflows/99?version=1" + "self": "/workflows/1510?version=1" }, "meta": { - "created": "2026-06-16T14:25:15.747Z", - "modified": "2026-06-16T14:25:15.793Z", + "created": "2026-08-27T08:51:18.738Z", + "modified": "2026-08-27T08:51:18.897Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "ca806bbc-d75e-46cf-89bd-242886c289f9" + "uuid": "39ca402f-c75d-4567-b562-869930751149", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/workflowResponse.json b/public/api/examples/workflowResponse.json index dd2348e92a..81e758b34d 100644 --- a/public/api/examples/workflowResponse.json +++ b/public/api/examples/workflowResponse.json @@ -1,17 +1,15 @@ { "data": { - "id": "104", + "id": "1515", "type": "workflows", "attributes": { "policy": { "access": "no_access", - "permissions": [ - - ] + "permissions": [] }, "discussion_links": [ { - "id": "43", + "id": "372", "label": "Slack", "url": "http://www.slack.com/" } @@ -31,14 +29,14 @@ { "version": 1, "revision_comments": null, - "url": "http://localhost:3000/workflows/104?version=1", + "url": "http://localhost:3000/workflows/1515?version=1", "doi": null } ], "version": 1, "revision_comments": null, - "created_at": "2026-06-16T14:25:20.185Z", - "updated_at": "2026-06-16T14:25:20.185Z", + "created_at": "2026-08-27T08:51:33.053Z", + "updated_at": "2026-08-27T08:51:33.053Z", "doi": null, "content_blobs": [ { @@ -47,13 +45,13 @@ "md5sum": "ef2ea32522098acc937199f6c2b64f41", "sha1sum": "a5133ccdb0376324d039431e4eff4f7d21a751cd", "content_type": "application/x-yaml", - "link": "http://localhost:3000/workflows/104/content_blobs/1050453036", + "link": "http://localhost:3000/workflows/1515/content_blobs/1050456810", "size": 732 } ], "creators": [ { - "profile": "/people/1039987828", + "profile": "/people/1040003484", "family_name": "One", "given_name": "Some", "affiliation": "University of Somewhere", @@ -78,8 +76,7 @@ "identifier": "http://edamontology.org/topic_3314" } ], - "internals": { - }, + "internals": {}, "tools": [ { "name": "WorkflowHub", @@ -99,7 +96,7 @@ "creators": { "data": [ { - "id": "1039987828", + "id": "1040003484", "type": "people" } ] @@ -107,7 +104,7 @@ "submitter": { "data": [ { - "id": "1039987829", + "id": "1040003485", "type": "people" } ] @@ -115,11 +112,11 @@ "people": { "data": [ { - "id": "1039987828", + "id": "1040003484", "type": "people" }, { - "id": "1039987829", + "id": "1040003485", "type": "people" } ] @@ -127,7 +124,7 @@ "projects": { "data": [ { - "id": "1022251881", + "id": "1022267452", "type": "projects" } ] @@ -135,7 +132,7 @@ "investigations": { "data": [ { - "id": "973655101", + "id": "973656225", "type": "investigations" } ] @@ -143,7 +140,7 @@ "studies": { "data": [ { - "id": "1060385133", + "id": "1060386049", "type": "studies" } ] @@ -151,7 +148,7 @@ "assays": { "data": [ { - "id": "1035386857", + "id": "1035387635", "type": "assays" } ] @@ -159,41 +156,37 @@ "publications": { "data": [ { - "id": "160", + "id": "447", "type": "publications" } ] }, "sops": { - "data": [ - - ] + "data": [] }, "presentations": { - "data": [ - - ] + "data": [] }, "data_files": { - "data": [ - - ] + "data": [] }, "documents": { - "data": [ - - ] + "data": [] } }, "links": { - "self": "/workflows/104?version=1" + "self": "/workflows/1515?version=1" }, "meta": { - "created": "2026-06-16T14:25:20.130Z", - "modified": "2026-06-16T14:25:20.185Z", + "created": "2026-08-27T08:51:32.904Z", + "modified": "2026-08-27T08:51:33.053Z", "api_version": "0.3", "base_url": "http://localhost:3000", - "uuid": "b9e71233-8593-4328-bf41-667bed78ddbd" + "uuid": "d7009859-b6f5-4e06-bb0c-1d2117161edd", + "metrics": { + "view_count": 0, + "download_count": 0 + } } }, "jsonapi": { diff --git a/public/api/examples/workflowsResponse.json b/public/api/examples/workflowsResponse.json index e25ee72206..f62e5b091d 100644 --- a/public/api/examples/workflowsResponse.json +++ b/public/api/examples/workflowsResponse.json @@ -1,7 +1,5 @@ { - "data": [ - - ], + "data": [], "jsonapi": { "version": "1.0" }, From 69c40d89427cd52ac52b8908827e1334dabef0fc Mon Sep 17 00:00:00 2001 From: Abby Gavin <146940380+AbbyGavin@users.noreply.github.com> Date: Tue, 1 Sep 2026 10:38:25 +0100 Subject: [PATCH 7/9] Validating that these are the only allowed properties --- public/api/definitions/_schemas.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/public/api/definitions/_schemas.yml b/public/api/definitions/_schemas.yml index 50922ff9f0..a4cf33c38d 100644 --- a/public/api/definitions/_schemas.yml +++ b/public/api/definitions/_schemas.yml @@ -353,6 +353,7 @@ metrics: $ref: "#/components/schemas/nullableInteger" run_count: $ref: "#/components/schemas/nullableInteger" + additionalProperties: false collectionItemMeta: type: object properties: From be41f812b583a3f90855310a59039d471c5b4ea9 Mon Sep 17 00:00:00 2001 From: Abby Gavin <146940380+AbbyGavin@users.noreply.github.com> Date: Tue, 1 Sep 2026 10:38:37 +0100 Subject: [PATCH 8/9] Made view count required in metrics --- public/api/definitions/_schemas.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/api/definitions/_schemas.yml b/public/api/definitions/_schemas.yml index a4cf33c38d..aeffc24166 100644 --- a/public/api/definitions/_schemas.yml +++ b/public/api/definitions/_schemas.yml @@ -353,6 +353,8 @@ metrics: $ref: "#/components/schemas/nullableInteger" run_count: $ref: "#/components/schemas/nullableInteger" + required: + - view_count additionalProperties: false collectionItemMeta: type: object From 1aa829f37ca01288859f85649138c4723aa09644 Mon Sep 17 00:00:00 2001 From: Abby Gavin <146940380+AbbyGavin@users.noreply.github.com> Date: Tue, 1 Sep 2026 11:20:16 +0100 Subject: [PATCH 9/9] Added numbers for the activites to check --- test/functional/workflows_controller_test.rb | 30 ++++++++++++++++---- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/test/functional/workflows_controller_test.rb b/test/functional/workflows_controller_test.rb index d64ebff62c..d1c3800780 100644 --- a/test/functional/workflows_controller_test.rb +++ b/test/functional/workflows_controller_test.rb @@ -1414,27 +1414,47 @@ def bad_generator.write_graph(struct) test 'json of workflow contains activity data' do workflow = FactoryBot.create(:public_workflow) + 2.times do + FactoryBot.create(:activity_log, action: 'show', activity_loggable: workflow) + end + + 3.times do + FactoryBot.create(:activity_log, action: 'download', activity_loggable: workflow) + end + get :show, params: { id: workflow.id, format: :json } json = JSON.parse(response.body) refute_nil json['data'] refute_nil json['data']['meta'] refute_nil json['data']['meta']['metrics'] - assert_equal 0, json['data']['meta']['metrics']['view_count'] - assert_equal 0, json['data']['meta']['metrics']['download_count'] + assert_equal 2, json['data']['meta']['metrics']['view_count'] + assert_equal 3, json['data']['meta']['metrics']['download_count'] assert_nil json['data']['meta']['metrics']['run_count'] end test 'json of workflow contains activity data of runnable workflow' do workflow = FactoryBot.create(:existing_galaxy_ro_crate_workflow, policy: FactoryBot.create(:public_policy)) + 2.times do + FactoryBot.create(:activity_log, action: 'show', activity_loggable: workflow) + end + + 3.times do + FactoryBot.create(:activity_log, action: 'download', activity_loggable: workflow) + end + + 4.times do + FactoryBot.create(:activity_log, action: 'run', activity_loggable: workflow) + end + get :show, params: { id: workflow.id, format: :json } json = JSON.parse(response.body) refute_nil json['data'] refute_nil json['data']['meta'] refute_nil json['data']['meta']['metrics'] - assert_equal 0, json['data']['meta']['metrics']['view_count'] - assert_equal 0, json['data']['meta']['metrics']['download_count'] - assert_equal 0, json['data']['meta']['metrics']['run_count'] + assert_equal 2, json['data']['meta']['metrics']['view_count'] + assert_equal 3, json['data']['meta']['metrics']['download_count'] + assert_equal 4, json['data']['meta']['metrics']['run_count'] end test 'license should be overwritable by project default if not present' do