Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openapi/v1/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ paths:
description: |-
In order to import a file as an attachment to a study, please fill in the following fields:

* `source` - file source with the following possible values: `S3`, `HTTP`, `LOCAL`.
* `source` - The source parameter is ignored and will be removed in version 1.61. The source is automatically extracted from the link.
* `dataLink` - a link to a file to import as an attachment.
The file will be associated with a study and will be searchable by its name and metadata.
* `metadataLink` - an optional URL of a metadata file to be used as the original metadata
Expand Down
33 changes: 17 additions & 16 deletions openapi/v1/odmApi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16067,22 +16067,23 @@ paths:
/api/v1/jobs/import/file:
post:
description: "In order to import a file as an attachment to a study, please\
\ fill in the following fields:\n\n* `source` - file source with the following\
\ possible values: `S3`, `HTTP`, `LOCAL`.\n* `dataLink` - a link to a file\
\ to import as an attachment.\nThe file will be associated with a study and\
\ will be searchable by its name and metadata.\n* `metadataLink` - an optional\
\ URL of a metadata file to be used as the original metadata\nfor the created\
\ objects. The file must contain a single record describing the uploaded attachment.\n\
* `studyAccession` - an accession of a study the file will be associated with.\n\
* `dataClass` - file data class with the following possible values: `Bulk\n\
transcriptomics`, `Single-cell transcriptomics`, `Differential abundance (FC,\n\
pval, etc.)`, `Pathway analysis`, `Proteomics`, `Single-cell proteomics`,\
\ `Metabolomics`,\n`Lipidomics`, `Epigenomics`, `DNA methylation`, `Chemoinformatics`,\
\ `Imaging features`,\n`Gene panel data`, `Biomarker data`, `Physical measures`,\
\ `Blood counts`, `Other body\nfluid counts`, `Nanopore`, `Flow Cytometry\
\ (FCS)`, `Document`, `Other`.\n\nWhen job finishes successfully the following\
\ **result** object can be obtained using `GET /job/{id}/output` request:\n\
\n```\n{\n \"accession\": \"GSF1234567\"\n}\n```"
\ fill in the following fields:\n\n* `source` - The source parameter is ignored\
\ and will be removed in version 1.61. The source is automatically extracted\
\ from the link.\n* `dataLink` - a link to a file to import as an attachment.\n\
The file will be associated with a study and will be searchable by its name\
\ and metadata.\n* `metadataLink` - an optional URL of a metadata file to\
\ be used as the original metadata\nfor the created objects. The file must\
\ contain a single record describing the uploaded attachment.\n* `studyAccession`\
\ - an accession of a study the file will be associated with.\n* `dataClass`\
\ - file data class with the following possible values: `Bulk\ntranscriptomics`,\
\ `Single-cell transcriptomics`, `Differential abundance (FC,\npval, etc.)`,\
\ `Pathway analysis`, `Proteomics`, `Single-cell proteomics`, `Metabolomics`,\n\
`Lipidomics`, `Epigenomics`, `DNA methylation`, `Chemoinformatics`, `Imaging\
\ features`,\n`Gene panel data`, `Biomarker data`, `Physical measures`, `Blood\
\ counts`, `Other body\nfluid counts`, `Nanopore`, `Flow Cytometry (FCS)`,\
\ `Document`, `Other`.\n\nWhen job finishes successfully the following **result**\
\ object can be obtained using `GET /job/{id}/output` request:\n\n```\n{\n\
\ \"accession\": \"GSF1234567\"\n}\n```"
operationId: "startImportAFile"
requestBody:
content:
Expand Down
2 changes: 1 addition & 1 deletion openapi/v1/schemas/job/ImportAFileRequest.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
example:
source: HTTP
metadataLink: https://mybucket.s3.amazonaws.com/my-experiment/my-object-metadata.tsv
dataLink: https://mybucket.s3.amazonaws.com/my-experiment/my-object.pdf
studyAccession: GSF334953
Expand All @@ -12,6 +11,7 @@ properties:
- LOCAL
example: HTTP
type: string
description: The source parameter is ignored and will be removed in version 1.61. The source is automatically extracted from the link
metadataLink:
example: https://mybucket.s3.amazonaws.com/my-experiment/my-object-metadata.tsv
type: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
allOf:
- $ref: "#/components/schemas/ImportSignalRunRequest"
example:
source: HTTP
metadataLink: https://mybucket.s3.amazonaws.com/my-experiment/my-omics-metadata.tsv
dataLink: https://mybucket.s3.amazonaws.com/my-experiment/my-omics-data.gz
templateId: GSF334953
Expand Down
2 changes: 1 addition & 1 deletion openapi/v1/schemas/job/ImportMetadataRequest.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
example:
source: HTTP
metadataLink: https://mybucket.s3.amazonaws.com/my-experiment/my-object-metadata.tsv
templateId: GSF334953
properties:
Expand All @@ -10,6 +9,7 @@ properties:
- LOCAL
example: HTTP
type: string
description: The source parameter is ignored and will be removed in version 1.61. The source is automatically extracted from the link
metadataLink:
example: https://mybucket.s3.amazonaws.com/my-experiment/my-object-metadata.tsv
type: string
Expand Down
2 changes: 1 addition & 1 deletion openapi/v1/schemas/job/ImportSignalRunRequest.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
description: import signal data request
example:
source: HTTP
metadataLink: https://mybucket.s3.amazonaws.com/my-experiment/my-omics-metadata.tsv
dataLink: https://mybucket.s3.amazonaws.com/my-experiment/my-omics-data.gz
templateId: GSF334953
Expand All @@ -13,6 +12,7 @@ properties:
- LOCAL
example: HTTP
type: string
description: The source parameter is ignored and will be removed in version 1.61. The source is automatically extracted from the link
metadataLink:
example: https://mybucket.s3.amazonaws.com/my-experiment/my-omics-metadata.tsv
type: string
Expand Down