diff --git a/docs/vdi-api.html b/docs/vdi-api.html index 2a1c2cf4..776fe898 100644 --- a/docs/vdi-api.html +++ b/docs/vdi-api.html @@ -1222,7 +1222,7 @@ bindFilters(); }); -

VEuPathDB Dataset Installer v1.0.0

link

Resources

get /vdi-datasets

List Datasets  

Returns a list of datasets available to the requesting user, optionally filtered by query parameters.

Results are sorted by creation date in reverse order. This means the most recently created datasets will be first and the oldest dataset will be last in the list.

Parameters chevron_right expand_more

ParameterTypeDescription
Query
project_id Project IDstring

ID of the VEuPathDB project that results should be filtered to.

This means only datasets that are relevant to the project ID given will be returned.

Additionally, this controls the sites on which the dataset installation status will be checked. Meaning, if this parameter is specified and set to, for example, PlasmoDB, the status block in the response objects will only include installation status details for PlasmoDB and not any other sites that the dataset may have been installed into.

Inherits: string

ownership Dataset Ownership Filterstring

Ownership status filter.

Enum of:

  • any
  • owned
  • shared

If set to any the results are not filtered.

If set to owned, the results will be filtered to only results that are owned by the requesting user.

If set to shared, the results will be filtered to only results that are shared with the requesting user.

Default value: "any"

offset Result Offsetinteger

This many results will be skipped before the first result returned.

Used to implement result pagination.

limit Result Count Limitinteger

Limits the number of results returned to this count.

Used to implement result pagination.

Min. value: 1

Max. value: 100

Default value: 100

sort_field Sorting Fieldstring

Field used to sort the results of this endpoint.

Valid options are:

  • creation_timestamp
  • name

By default, results are sorted by creation_timestamp with a sort_order query param value of descending, however if the sort field is changed, then the default value of the sort_order query param will be ascending.

This means that given the URI {site}/vdi-datasets the results will be returned in descending order by the creation timestamp of the results.

However, given the URI {site}/vdi-datasets?sort_field=name the results will be returned in ascending order by the user provided name for the datasets.

Default value: "creation_timestamp"

sort_order* Sorting Orderstring

Sort ordering of the results of this endpoint.

Valid options are:

  • ascending
  • descending

By default, results are sorted by the sort_field value "creation_timestamp" in "descending" order, however if the sort field is changed then the default value of this query parameter becomes "ascending" by default.

This means that given the URI {site}/vdi-datasets the results will be returned in descending order by the creation timestamp of the results.

However, given the URI {site}/vdi-datasets?sort_field=name the results will be returned in ascending order by the user provided name for the datasets.

curl -X GET \
+		

VEuPathDB Dataset Installer v1.0.0

link

Resources

get /vdi-datasets

List Datasets  

Returns a list of datasets available to the requesting user, optionally filtered by query parameters.

Results are sorted by creation date in reverse order. This means the most recently created datasets will be first and the oldest dataset will be last in the list.

Parameters chevron_right expand_more

ParameterTypeDescription
Query
project_id Project IDstring

ID of the VEuPathDB project that results should be filtered to.

This means only datasets that are relevant to the project ID given will be returned.

Additionally, this controls the sites on which the dataset installation status will be checked. Meaning, if this parameter is specified and set to, for example, PlasmoDB, the status block in the response objects will only include installation status details for PlasmoDB and not any other sites that the dataset may have been installed into.

Inherits: string

ownership Dataset Ownership Filterstring

Ownership status filter.

Enum of:

  • any
  • owned
  • shared

If set to any the results are not filtered.

If set to owned, the results will be filtered to only results that are owned by the requesting user.

If set to shared, the results will be filtered to only results that are shared with the requesting user.

Default value: "any"

offset Result Offsetinteger

This many results will be skipped before the first result returned.

Used to implement result pagination.

limit Result Count Limitinteger

Limits the number of results returned to this count.

Used to implement result pagination.

Min. value: 1

Max. value: 100

Default value: 100

sort_field Sorting Fieldstring

Field used to sort the results of this endpoint.

Valid options are:

  • creation_timestamp
  • name

By default, results are sorted by creation_timestamp with a sort_order query param value of descending, however if the sort field is changed, then the default value of the sort_order query param will be ascending.

This means that given the URI {site}/vdi-datasets the results will be returned in descending order by the creation timestamp of the results.

However, given the URI {site}/vdi-datasets?sort_field=name the results will be returned in ascending order by the user provided name for the datasets.

Default value: "creation_timestamp"

sort_order* Sorting Orderstring

Sort ordering of the results of this endpoint.

Valid options are:

  • asc
  • desc

By default, results are sorted by the sort_field value "creation_timestamp" in "desc" order, however if the sort field is changed then the default value of this query parameter becomes "asc" by default.

This means that given the URI {site}/vdi-datasets the results will be returned in descending order by the creation timestamp of the results.

However, given the URI {site}/vdi-datasets?sort_field=name the results will be returned in ascending order by the user provided name for the datasets.

curl -X GET \
   undefined/vdi-datasets?ProjectID=<value>&ownership=<value>&offset=<value>&limit=<value>&sort_field=<value>&sort_order=<value>

200 OK chevron_right expand_more

Success.

This response means that all checks passed and zero or more dataset records were found for the requesting user.

application/json

application/json

ParameterTypeDescription
[] Dataset List Itemobject

Short entry with basic details about a dataset.

Inherits: object

[].datasetID* Dataset IDstring

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

[].owner* Owner Detailsobject

Details about the owner of a VDI dataset.

Inherits: lib.DatasetOwner

[].owner.userID* Owner User IDinteger

VEuPathDB user ID of the owner of the dataset.

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

[].owner.firstName Owner First Namestring
[].owner.lastName Owner Last Namestring
[].owner.email Owner Emailstring
[].owner.organization Owner Organizationstring
[].datasetType* Dataset Typeobject

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

[].datasetType.name* Type Namestring
[].datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

[].datasetType.version* Type Versionstring
[].visibility* Dataset Visibilitystring
Enum:
  • private
  • protected
  • public

Inherits: lib.DatasetVisibility

[].name* Dataset Namestring

User provided name for the dataset.

[].summary Dataset Summarystring

User provided summary of the dataset.

[].description Dataset Descriptionstring

User provided description of the dataset.

[].sourceUrl Source URLstring

URL of the dataset data source, if the dataset was uploaded via URL.

[].origin* Dataset Originstring

String representing the origin of the dataset. Examples include direct-upload, nephele, or galaxy.

[].projectIDs* Project IDsarray

Project IDs for projects the dataset record was submitted to.

[].projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

[].status* Status Infoobject

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

[].status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

[].status.installarray
[].status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

[].status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

[].status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

[].status.install[].metaMessagestring
[].status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

[].status.install[].dataMessagestring
[].shares* Shared Witharray
[].shares[]object

Inherits: object

[].shares[].userID*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

[].shares[].firstName*string
[].shares[].lastName*string
[].shares[].organization*string
[].shares[].accepted*boolean
[].fileCount* File Countinteger

Number of files uploaded for this dataset.

[].fileSizeTotal* File Size Totalinteger

Sum of the sizes of all the files uploaded for this dataset.

Format: int64

[].created* Creation Timestampdatetime

Timestamp of the creation of this dataset.

Response Body

[
   {
     "datasetID": "zaZqAAGLGJhBgg",
@@ -1341,7 +1341,9 @@
   "status": "server-error",
   "message": "Dataset store is unreachable",
   "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
-}

get /vdi-datasets/admin/list-broken

List Broken Installs  

Lists datasets that failed installation due to non-user error.

Parameters chevron_right expand_more

ParameterTypeDescription
Query
expanded Expanded Dataset Listboolean

Whether the returned broken dataset install list should be expanded to include additional details about each dataset or should be just a simple list of dataset IDs.

Default value: true

Headers chevron_right expand_more

ParameterTypeDescription
Admin-Token* Admin Auth Secret Keystring

Secret key used to authenticate admin endpoint requests.

curl -X GET \
+}

get /vdi-datasets/admin/failed-imports

List  

Lists datasets that failed to import.

Parameters chevron_right expand_more

ParameterTypeDescription
Query
user VEuPathDB User IDinteger

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: integer

beforestring

Filter results to only those records created before the given date-time value.

Examples:

  • 2023
  • 2023-10
  • 2023-10-02
  • 2023-10-02T17:10
  • 2023-10-02T17:10:00
  • 2023-10-02T17:10:00.000
  • 2023-10-02T17:10:00.000Z

If no timezone is provided, the service will assume its local zone.

afterstring

Filter results to only those records created after the given date-time value.

Examples:

  • 2023
  • 2023-10
  • 2023-10-02
  • 2023-10-02T17:10
  • 2023-10-02T17:10:00
  • 2023-10-02T17:10:00.000
  • 2023-10-02T17:10:00.000Z

If no timezone is provided, the service will assume its local zone.

limitinteger

Max. value: 250

Default value: 100

offsetinteger
sortstring

One of:

  • date

Default value: "date"

orderstring

One of:

  • asc
  • desc

Default value: "desc"

Headers chevron_right expand_more

ParameterTypeDescription
Admin-Token* Admin Auth Secret Keystring

Secret key used to authenticate admin endpoint requests.

curl -X GET \
+  -H "Admin-Token: <value>" \
+  undefined/vdi-datasets/admin/failed-imports?User-ID=<value>&before=<value>&after=<value>&limit=<value>&offset=<value>&sort=<value>&order=<value>

200 OK chevron_right expand_more

Broken Import Listing BrokenImportListing

application/json

Inherits: object

ParameterTypeDescription
meta*object

Inherits: lib.BrokenImportListingMeta

meta.count*integer
meta.beforestring
meta.afterstring
meta.userinteger

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

meta.limitinteger
meta.offsetinteger
results*array
results[] Broken Import Detailsobject

Inherits: lib.BrokenImportDetails

results[].datasetId*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

results[].owner*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

results[].datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

results[].datasetType.name* Type Namestring
results[].datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

results[].datasetType.version* Type Versionstring
results[].projectIds*array
results[].projectIds[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

results[].messages*array
results[].messages[]string

get /vdi-datasets/admin/list-broken

List Broken Installs  

Lists datasets that failed installation due to non-user error.

Parameters chevron_right expand_more

ParameterTypeDescription
Query
expanded Expanded Dataset Listboolean

Whether the returned broken dataset install list should be expanded to include additional details about each dataset or should be just a simple list of dataset IDs.

Default value: true

Headers chevron_right expand_more

ParameterTypeDescription
Admin-Token* Admin Auth Secret Keystring

Secret key used to authenticate admin endpoint requests.

curl -X GET \
   -H "Admin-Token: <value>" \
   undefined/vdi-datasets/admin/list-broken?expanded=<value>

200 OK chevron_right expand_more

Success.

Broken dataset install list successfully generated.

Broken Dataset Listing BrokenDatasetListing

application/json

Inherits: object

ParameterTypeDescription
detailsarray
details[] Broken Dataset Detailsobject

Inherits: lib.BrokenDatasetDetails

details[].datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

details[].owner*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

details[].datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

details[].datasetType.name* Type Namestring
details[].datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

details[].datasetType.version* Type Versionstring
details[].projectIDs*array
details[].projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

details[].status*object

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

details[].status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

details[].status.installarray
details[].status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

details[].status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

details[].status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

details[].status.install[].metaMessagestring
details[].status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

details[].status.install[].dataMessagestring
idsarray
ids[] VDI IDstring

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

401 Unauthorized chevron_right expand_more

Unauthorized

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: lib.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: lib.ErrorType

message*string

Response Body

{
   "status": "unauthorized",
@@ -1641,7 +1643,7 @@
   "message": "Datastore connection lost",
   "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
 }

get /metrics

 

Prometheus metrics for the service.

curl -X GET \
-  undefined/metrics

200 OK chevron_right expand_more

text/plain

text/plain

Security Schemes

Types

Type BrokenDatasetListing (object)

Broken Dataset Listing

Inherits: object

Model

ParameterTypeDescription
detailsarray
details[] Broken Dataset Detailsobject

Inherits: lib.BrokenDatasetDetails

details[].datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

details[].owner*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

details[].datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

details[].datasetType.name* Type Namestring
details[].datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

details[].datasetType.version* Type Versionstring
details[].projectIDs*array
details[].projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

details[].status*object

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

details[].status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

details[].status.installarray
details[].status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

details[].status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

details[].status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

details[].status.install[].metaMessagestring
details[].status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

details[].status.install[].dataMessagestring
idsarray
ids[] VDI IDstring

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

Type BrokenDatasetDetails (object)

Broken Dataset Details

Inherits: object

Model

ParameterTypeDescription
datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

owner*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

datasetType.name* Type Namestring
datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

datasetType.version* Type Versionstring
projectIDs*array
projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status*object

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

status.installarray
status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].metaMessagestring
status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].dataMessagestring

Type InstallCleanupRequest (object)

Install Cleanup Request

Object controlling the install cleanup process and what datasets it should target.

Requesters should specify one of the fields all or targets to control what datasets will be cleaned up. If neither is specified the endpoint will do nothing.

Inherits: object

Model

ParameterTypeDescription
allboolean
targetsarray

Unique items: Yes

targets[] Install Cleanup Targetobject

Inherits: lib.InstallCleanupTarget

targets[].datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

targets[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

Type InstallCleanupTarget (object)

Install Cleanup Target

Inherits: object

Model

ParameterTypeDescription
datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

Type DatasetListShareUser (object)

DatasetListShareUser

Inherits: object

Model

ParameterTypeDescription
userID*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

firstName*string
lastName*string
organization*string
accepted*boolean

Type DatasetListEntry (object)

Dataset List Item

Short entry with basic details about a dataset.

Inherits: object

Model

ParameterTypeDescription
datasetID* Dataset IDstring

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

owner* Owner Detailsobject

Details about the owner of a VDI dataset.

Inherits: lib.DatasetOwner

owner.userID* Owner User IDinteger

VEuPathDB user ID of the owner of the dataset.

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

owner.firstName Owner First Namestring
owner.lastName Owner Last Namestring
owner.email Owner Emailstring
owner.organization Owner Organizationstring
datasetType* Dataset Typeobject

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

datasetType.name* Type Namestring
datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

datasetType.version* Type Versionstring
visibility* Dataset Visibilitystring
Enum:
  • private
  • protected
  • public

Inherits: lib.DatasetVisibility

name* Dataset Namestring

User provided name for the dataset.

summary Dataset Summarystring

User provided summary of the dataset.

description Dataset Descriptionstring

User provided description of the dataset.

sourceUrl Source URLstring

URL of the dataset data source, if the dataset was uploaded via URL.

origin* Dataset Originstring

String representing the origin of the dataset. Examples include direct-upload, nephele, or galaxy.

projectIDs* Project IDsarray

Project IDs for projects the dataset record was submitted to.

projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status* Status Infoobject

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

status.installarray
status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].metaMessagestring
status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].dataMessagestring
shares* Shared Witharray
shares[]object

Inherits: object

shares[].userID*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

shares[].firstName*string
shares[].lastName*string
shares[].organization*string
shares[].accepted*boolean
fileCount* File Countinteger

Number of files uploaded for this dataset.

fileSizeTotal* File Size Totalinteger

Sum of the sizes of all the files uploaded for this dataset.

Format: int64

created* Creation Timestampdatetime

Timestamp of the creation of this dataset.

Type DatasetPostRequest (object)

Dataset Post Request

HTTP POST request body requesting the creation of a dataset from the components included in the request.

For a request to be considered valid, it must contain exactly 1 of the optional parameters file or url. If a request body contains both a file and a url field value, the service will return a 400 error.

Inherits: object

Model

ParameterTypeDescription
meta* Dataset Metaobject

Metadata about the dataset being submitted.

Inherits: lib.DatasetPostMeta

meta.datasetType* Dataset Typeobject

Type of the dataset that is being uploaded.

Inherits: lib.DatasetPostType

meta.datasetType.name*string
meta.datasetType.version*string
meta.name* Dataset Namestring

User provided name for the dataset.

meta.visibility Dataset Visibilitystring

Default value: "private"

Enum:
  • private
  • protected
  • public

Inherits: lib.DatasetVisibility

meta.summary Dataset Summarystring

User provided summary for the dataset.

meta.description Dataset Descriptionstring

User provided description for the dataset.

meta.origin* Dataset Originstring

String representing the origin of the dataset. Examples include direct-upload, nephele, or galaxy.

meta.projects* Project IDsarray

IDs of the projects this dataset is being submitted to.

meta.projects[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

meta.dependencies* Dataset Dependenciesarray
meta.dependencies[]object

Inherits: lib.DatasetDependency

meta.dependencies[].resourceIdentifier*string
meta.dependencies[].resourceDisplayName*string
meta.dependencies[].resourceVersion*string
file Dataset Filefile

Dataset file to upload.

This field is incompatible with the url field.

url Dataset URLstring

URL to a dataset file to upload.

This field is incompatible with the file field.

Type DatasetPostMeta (object)

DatasetPostMeta

Inherits: object

Model

ParameterTypeDescription
datasetType* Dataset Typeobject

Type of the dataset that is being uploaded.

Inherits: lib.DatasetPostType

datasetType.name*string
datasetType.version*string
name* Dataset Namestring

User provided name for the dataset.

visibility Dataset Visibilitystring

Default value: "private"

Enum:
  • private
  • protected
  • public

Inherits: lib.DatasetVisibility

summary Dataset Summarystring

User provided summary for the dataset.

description Dataset Descriptionstring

User provided description for the dataset.

origin* Dataset Originstring

String representing the origin of the dataset. Examples include direct-upload, nephele, or galaxy.

projects* Project IDsarray

IDs of the projects this dataset is being submitted to.

projects[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

dependencies* Dataset Dependenciesarray
dependencies[]object

Inherits: lib.DatasetDependency

dependencies[].resourceIdentifier*string
dependencies[].resourceDisplayName*string
dependencies[].resourceVersion*string

Type DatasetPostType (object)

DatasetPostType

Inherits: object

Model

ParameterTypeDescription
name*string
version*string

Type DatasetDependency (object)

DatasetDependency

Inherits: object

Model

ParameterTypeDescription
resourceIdentifier*string
resourceDisplayName*string
resourceVersion*string

Type DatasetPostResponse (object)

Dataset Upload Response

Response object returned on successful upload of a dataset.

Note that this response does not mean the uploaded dataset has been made available on the target site(s). The upload must first be processed and installed into the target sites before the dataset will become available for use.

Inherits: object

Model

ParameterTypeDescription
datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

Type ShareOfferEntry (object)

Share Offer

Inherits: object

Model

ParameterTypeDescription
datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

owner*object

Details about the owner of a VDI dataset.

Inherits: lib.DatasetOwner

owner.userID* Owner User IDinteger

VEuPathDB user ID of the owner of the dataset.

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

owner.firstName Owner First Namestring
owner.lastName Owner Last Namestring
owner.email Owner Emailstring
owner.organization Owner Organizationstring
shareStatus*string
Enum:
  • open
  • accepted
  • rejected

Inherits: lib.ShareOfferStatus

datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

datasetType.name* Type Namestring
datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

datasetType.version* Type Versionstring
projectIDs*array
projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

Type ShareOfferStatus (string)

Share Offer Status
Enum:
  • open
  • accepted
  • rejected

Inherits: string

Type DatasetFileListing (object)

Dataset File Listing

Inherits: object

Model

ParameterTypeDescription
uploadFiles*array
uploadFiles[] Dataset File Detailsobject

Inherits: lib.DatasetFileDetails

uploadFiles[].name* File Namestring
uploadFiles[].size* File Sizeinteger

Size of the file in bytes.

Format: int64

dataFiles*array
dataFiles[] Dataset File Detailsobject

Inherits: lib.DatasetFileDetails

dataFiles[].name* File Namestring
dataFiles[].size* File Sizeinteger

Size of the file in bytes.

Format: int64

Type DatasetFileDetails (object)

Dataset File Details

Inherits: object

Model

ParameterTypeDescription
name* File Namestring
size* File Sizeinteger

Size of the file in bytes.

Format: int64

Type DatasetDetails (object)

Dataset Details

Details about a specific singular dataset.

Inherits: object

Model

ParameterTypeDescription
datasetID* Dataset IDstring

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

owner* Owner Detailsobject

Details about the owner of a VDI dataset.

Inherits: lib.DatasetOwner

owner.userID* Owner User IDinteger

VEuPathDB user ID of the owner of the dataset.

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

owner.firstName Owner First Namestring
owner.lastName Owner Last Namestring
owner.email Owner Emailstring
owner.organization Owner Organizationstring
datasetType* Dataset Type Infoobject

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

datasetType.name* Type Namestring
datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

datasetType.version* Type Versionstring
name* Dataset Namestring
summary Dataset Summarystring
description Dataset Descriptionstring
sourceUrl Source URLstring

URL of the dataset data source, if the dataset was uploaded via URL.

origin* Dataset Originstring

String representing the origin of the dataset. Examples include direct-upload, nephele, or galaxy.

projectIDs* Project IDsarray

Project IDs for projects the user dataset record was submitted to.

projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

visibility* Dataset Visibilitystring
Enum:
  • private
  • protected
  • public

Inherits: lib.DatasetVisibility

importMessages Import Messagesarray

Log lines from the import process.

These messages will be warnings and/or validation errors.

Default value: []

importMessages[]string
status* Dataset Status Infoobject

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

status.installarray
status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].metaMessagestring
status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].dataMessagestring
shares Sharesarray

Array of share offers that have been created by the owner of this dataset to share it with other users.

shares[] Share Offerobject

Inherits: lib.ShareOffer

shares[].recipient*object

I AM A UNION!

Inherits: lib.ShareOfferRecipient

shares[].recipient.firstName First Namestring
shares[].recipient.lastName Last Namestring
shares[].recipient.organization Organizationstring
shares[].recipient.email Emailstring
shares[].status*string
Enum:
  • grant
  • revoke

Inherits: lib.ShareOfferAction

files* Filesarray

List of files uploaded to the dataset import service.

files[] File Summaryobject

Inherits: lib.FileSummary

files[].name*string
files[].size*integer

Format: int64

created* Creation Timestampdatetime

Timestamp for when this dataset was created.

Type FileSummary (object)

File Summary

Inherits: object

Model

ParameterTypeDescription
name*string
size*integer

Format: int64

Type ShareOffer (object)

Share Offer

Inherits: object

Model

ParameterTypeDescription
recipient*object

I AM A UNION!

Inherits: lib.ShareOfferRecipient

recipient.firstName First Namestring
recipient.lastName Last Namestring
recipient.organization Organizationstring
recipient.email Emailstring
status*string
Enum:
  • grant
  • revoke

Inherits: lib.ShareOfferAction

Examples

{
+  undefined/metrics

200 OK chevron_right expand_more

text/plain

text/plain

Security Schemes

Types

Type BrokenDatasetListing (object)

Broken Dataset Listing

Inherits: object

Model

ParameterTypeDescription
detailsarray
details[] Broken Dataset Detailsobject

Inherits: lib.BrokenDatasetDetails

details[].datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

details[].owner*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

details[].datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

details[].datasetType.name* Type Namestring
details[].datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

details[].datasetType.version* Type Versionstring
details[].projectIDs*array
details[].projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

details[].status*object

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

details[].status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

details[].status.installarray
details[].status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

details[].status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

details[].status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

details[].status.install[].metaMessagestring
details[].status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

details[].status.install[].dataMessagestring
idsarray
ids[] VDI IDstring

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

Type BrokenDatasetDetails (object)

Broken Dataset Details

Inherits: object

Model

ParameterTypeDescription
datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

owner*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

datasetType.name* Type Namestring
datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

datasetType.version* Type Versionstring
projectIDs*array
projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status*object

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

status.installarray
status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].metaMessagestring
status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].dataMessagestring

Type BrokenImportListing (object)

Broken Import Listing

Inherits: object

Model

ParameterTypeDescription
meta*object

Inherits: lib.BrokenImportListingMeta

meta.count*integer
meta.beforestring
meta.afterstring
meta.userinteger

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

meta.limitinteger
meta.offsetinteger
results*array
results[] Broken Import Detailsobject

Inherits: lib.BrokenImportDetails

results[].datasetId*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

results[].owner*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

results[].datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

results[].datasetType.name* Type Namestring
results[].datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

results[].datasetType.version* Type Versionstring
results[].projectIds*array
results[].projectIds[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

results[].messages*array
results[].messages[]string

Type BrokenImportListingMeta (object)

BrokenImportListingMeta

Inherits: object

Model

ParameterTypeDescription
count*integer
beforestring
afterstring
userinteger

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

limitinteger
offsetinteger

Type BrokenImportDetails (object)

Broken Import Details

Inherits: object

Model

ParameterTypeDescription
datasetId*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

owner*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

datasetType.name* Type Namestring
datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

datasetType.version* Type Versionstring
projectIds*array
projectIds[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

messages*array
messages[]string

Type InstallCleanupRequest (object)

Install Cleanup Request

Object controlling the install cleanup process and what datasets it should target.

Requesters should specify one of the fields all or targets to control what datasets will be cleaned up. If neither is specified the endpoint will do nothing.

Inherits: object

Model

ParameterTypeDescription
allboolean
targetsarray

Unique items: Yes

targets[] Install Cleanup Targetobject

Inherits: lib.InstallCleanupTarget

targets[].datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

targets[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

Type InstallCleanupTarget (object)

Install Cleanup Target

Inherits: object

Model

ParameterTypeDescription
datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

Type DatasetListShareUser (object)

DatasetListShareUser

Inherits: object

Model

ParameterTypeDescription
userID*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

firstName*string
lastName*string
organization*string
accepted*boolean

Type DatasetListEntry (object)

Dataset List Item

Short entry with basic details about a dataset.

Inherits: object

Model

ParameterTypeDescription
datasetID* Dataset IDstring

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

owner* Owner Detailsobject

Details about the owner of a VDI dataset.

Inherits: lib.DatasetOwner

owner.userID* Owner User IDinteger

VEuPathDB user ID of the owner of the dataset.

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

owner.firstName Owner First Namestring
owner.lastName Owner Last Namestring
owner.email Owner Emailstring
owner.organization Owner Organizationstring
datasetType* Dataset Typeobject

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

datasetType.name* Type Namestring
datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

datasetType.version* Type Versionstring
visibility* Dataset Visibilitystring
Enum:
  • private
  • protected
  • public

Inherits: lib.DatasetVisibility

name* Dataset Namestring

User provided name for the dataset.

summary Dataset Summarystring

User provided summary of the dataset.

description Dataset Descriptionstring

User provided description of the dataset.

sourceUrl Source URLstring

URL of the dataset data source, if the dataset was uploaded via URL.

origin* Dataset Originstring

String representing the origin of the dataset. Examples include direct-upload, nephele, or galaxy.

projectIDs* Project IDsarray

Project IDs for projects the dataset record was submitted to.

projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status* Status Infoobject

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

status.installarray
status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].metaMessagestring
status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].dataMessagestring
shares* Shared Witharray
shares[]object

Inherits: object

shares[].userID*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

shares[].firstName*string
shares[].lastName*string
shares[].organization*string
shares[].accepted*boolean
fileCount* File Countinteger

Number of files uploaded for this dataset.

fileSizeTotal* File Size Totalinteger

Sum of the sizes of all the files uploaded for this dataset.

Format: int64

created* Creation Timestampdatetime

Timestamp of the creation of this dataset.

Type DatasetPostRequest (object)

Dataset Post Request

HTTP POST request body requesting the creation of a dataset from the components included in the request.

For a request to be considered valid, it must contain exactly 1 of the optional parameters file or url. If a request body contains both a file and a url field value, the service will return a 400 error.

Inherits: object

Model

ParameterTypeDescription
meta* Dataset Metaobject

Metadata about the dataset being submitted.

Inherits: lib.DatasetPostMeta

meta.datasetType* Dataset Typeobject

Type of the dataset that is being uploaded.

Inherits: lib.DatasetPostType

meta.datasetType.name*string
meta.datasetType.version*string
meta.name* Dataset Namestring

User provided name for the dataset.

meta.visibility Dataset Visibilitystring

Default value: "private"

Enum:
  • private
  • protected
  • public

Inherits: lib.DatasetVisibility

meta.summary Dataset Summarystring

User provided summary for the dataset.

meta.description Dataset Descriptionstring

User provided description for the dataset.

meta.origin* Dataset Originstring

String representing the origin of the dataset. Examples include direct-upload, nephele, or galaxy.

meta.projects* Project IDsarray

IDs of the projects this dataset is being submitted to.

meta.projects[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

meta.dependencies* Dataset Dependenciesarray
meta.dependencies[]object

Inherits: lib.DatasetDependency

meta.dependencies[].resourceIdentifier*string
meta.dependencies[].resourceDisplayName*string
meta.dependencies[].resourceVersion*string
file Dataset Filefile

Dataset file to upload.

This field is incompatible with the url field.

url Dataset URLstring

URL to a dataset file to upload.

This field is incompatible with the file field.

Type DatasetPostMeta (object)

DatasetPostMeta

Inherits: object

Model

ParameterTypeDescription
datasetType* Dataset Typeobject

Type of the dataset that is being uploaded.

Inherits: lib.DatasetPostType

datasetType.name*string
datasetType.version*string
name* Dataset Namestring

User provided name for the dataset.

visibility Dataset Visibilitystring

Default value: "private"

Enum:
  • private
  • protected
  • public

Inherits: lib.DatasetVisibility

summary Dataset Summarystring

User provided summary for the dataset.

description Dataset Descriptionstring

User provided description for the dataset.

origin* Dataset Originstring

String representing the origin of the dataset. Examples include direct-upload, nephele, or galaxy.

projects* Project IDsarray

IDs of the projects this dataset is being submitted to.

projects[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

dependencies* Dataset Dependenciesarray
dependencies[]object

Inherits: lib.DatasetDependency

dependencies[].resourceIdentifier*string
dependencies[].resourceDisplayName*string
dependencies[].resourceVersion*string

Type DatasetPostType (object)

DatasetPostType

Inherits: object

Model

ParameterTypeDescription
name*string
version*string

Type DatasetDependency (object)

DatasetDependency

Inherits: object

Model

ParameterTypeDescription
resourceIdentifier*string
resourceDisplayName*string
resourceVersion*string

Type DatasetPostResponse (object)

Dataset Upload Response

Response object returned on successful upload of a dataset.

Note that this response does not mean the uploaded dataset has been made available on the target site(s). The upload must first be processed and installed into the target sites before the dataset will become available for use.

Inherits: object

Model

ParameterTypeDescription
datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

Type ShareOfferEntry (object)

Share Offer

Inherits: object

Model

ParameterTypeDescription
datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

owner*object

Details about the owner of a VDI dataset.

Inherits: lib.DatasetOwner

owner.userID* Owner User IDinteger

VEuPathDB user ID of the owner of the dataset.

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

owner.firstName Owner First Namestring
owner.lastName Owner Last Namestring
owner.email Owner Emailstring
owner.organization Owner Organizationstring
shareStatus*string
Enum:
  • open
  • accepted
  • rejected

Inherits: lib.ShareOfferStatus

datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

datasetType.name* Type Namestring
datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

datasetType.version* Type Versionstring
projectIDs*array
projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

Type ShareOfferStatus (string)

Share Offer Status
Enum:
  • open
  • accepted
  • rejected

Inherits: string

Type DatasetFileListing (object)

Dataset File Listing

Inherits: object

Model

ParameterTypeDescription
uploadFiles*array
uploadFiles[] Dataset File Detailsobject

Inherits: lib.DatasetFileDetails

uploadFiles[].name* File Namestring
uploadFiles[].size* File Sizeinteger

Size of the file in bytes.

Format: int64

dataFiles*array
dataFiles[] Dataset File Detailsobject

Inherits: lib.DatasetFileDetails

dataFiles[].name* File Namestring
dataFiles[].size* File Sizeinteger

Size of the file in bytes.

Format: int64

Type DatasetFileDetails (object)

Dataset File Details

Inherits: object

Model

ParameterTypeDescription
name* File Namestring
size* File Sizeinteger

Size of the file in bytes.

Format: int64

Type DatasetDetails (object)

Dataset Details

Details about a specific singular dataset.

Inherits: object

Model

ParameterTypeDescription
datasetID* Dataset IDstring

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

owner* Owner Detailsobject

Details about the owner of a VDI dataset.

Inherits: lib.DatasetOwner

owner.userID* Owner User IDinteger

VEuPathDB user ID of the owner of the dataset.

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

owner.firstName Owner First Namestring
owner.lastName Owner Last Namestring
owner.email Owner Emailstring
owner.organization Owner Organizationstring
datasetType* Dataset Type Infoobject

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

datasetType.name* Type Namestring
datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

datasetType.version* Type Versionstring
name* Dataset Namestring
summary Dataset Summarystring
description Dataset Descriptionstring
sourceUrl Source URLstring

URL of the dataset data source, if the dataset was uploaded via URL.

origin* Dataset Originstring

String representing the origin of the dataset. Examples include direct-upload, nephele, or galaxy.

projectIDs* Project IDsarray

Project IDs for projects the user dataset record was submitted to.

projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

visibility* Dataset Visibilitystring
Enum:
  • private
  • protected
  • public

Inherits: lib.DatasetVisibility

importMessages Import Messagesarray

Log lines from the import process.

These messages will be warnings and/or validation errors.

Default value: []

importMessages[]string
status* Dataset Status Infoobject

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

status.installarray
status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].metaMessagestring
status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].dataMessagestring
shares Sharesarray

Array of share offers that have been created by the owner of this dataset to share it with other users.

shares[] Share Offerobject

Inherits: lib.ShareOffer

shares[].recipient*object

I AM A UNION!

Inherits: lib.ShareOfferRecipient

shares[].recipient.firstName First Namestring
shares[].recipient.lastName Last Namestring
shares[].recipient.organization Organizationstring
shares[].recipient.email Emailstring
shares[].status*string
Enum:
  • grant
  • revoke

Inherits: lib.ShareOfferAction

files* Filesarray

List of files uploaded to the dataset import service.

files[] File Summaryobject

Inherits: lib.FileSummary

files[].name*string
files[].size*integer

Format: int64

created* Creation Timestampdatetime

Timestamp for when this dataset was created.

Type FileSummary (object)

File Summary

Inherits: object

Model

ParameterTypeDescription
name*string
size*integer

Format: int64

Type ShareOffer (object)

Share Offer

Inherits: object

Model

ParameterTypeDescription
recipient*object

I AM A UNION!

Inherits: lib.ShareOfferRecipient

recipient.firstName First Namestring
recipient.lastName Last Namestring
recipient.organization Organizationstring
recipient.email Emailstring
status*string
Enum:
  • grant
  • revoke

Inherits: lib.ShareOfferAction

Examples

{
   "recipient": {
     "firstName": "Joe",
     "lastName": "User",
diff --git a/modules/rest-service/src/main/resources/api.html b/modules/rest-service/src/main/resources/api.html
index 2a1c2cf4..776fe898 100644
--- a/modules/rest-service/src/main/resources/api.html
+++ b/modules/rest-service/src/main/resources/api.html
@@ -1222,7 +1222,7 @@
 	bindFilters();
 
 });
-		

VEuPathDB Dataset Installer v1.0.0

link

Resources

get /vdi-datasets

List Datasets  

Returns a list of datasets available to the requesting user, optionally filtered by query parameters.

Results are sorted by creation date in reverse order. This means the most recently created datasets will be first and the oldest dataset will be last in the list.

Parameters chevron_right expand_more

ParameterTypeDescription
Query
project_id Project IDstring

ID of the VEuPathDB project that results should be filtered to.

This means only datasets that are relevant to the project ID given will be returned.

Additionally, this controls the sites on which the dataset installation status will be checked. Meaning, if this parameter is specified and set to, for example, PlasmoDB, the status block in the response objects will only include installation status details for PlasmoDB and not any other sites that the dataset may have been installed into.

Inherits: string

ownership Dataset Ownership Filterstring

Ownership status filter.

Enum of:

  • any
  • owned
  • shared

If set to any the results are not filtered.

If set to owned, the results will be filtered to only results that are owned by the requesting user.

If set to shared, the results will be filtered to only results that are shared with the requesting user.

Default value: "any"

offset Result Offsetinteger

This many results will be skipped before the first result returned.

Used to implement result pagination.

limit Result Count Limitinteger

Limits the number of results returned to this count.

Used to implement result pagination.

Min. value: 1

Max. value: 100

Default value: 100

sort_field Sorting Fieldstring

Field used to sort the results of this endpoint.

Valid options are:

  • creation_timestamp
  • name

By default, results are sorted by creation_timestamp with a sort_order query param value of descending, however if the sort field is changed, then the default value of the sort_order query param will be ascending.

This means that given the URI {site}/vdi-datasets the results will be returned in descending order by the creation timestamp of the results.

However, given the URI {site}/vdi-datasets?sort_field=name the results will be returned in ascending order by the user provided name for the datasets.

Default value: "creation_timestamp"

sort_order* Sorting Orderstring

Sort ordering of the results of this endpoint.

Valid options are:

  • ascending
  • descending

By default, results are sorted by the sort_field value "creation_timestamp" in "descending" order, however if the sort field is changed then the default value of this query parameter becomes "ascending" by default.

This means that given the URI {site}/vdi-datasets the results will be returned in descending order by the creation timestamp of the results.

However, given the URI {site}/vdi-datasets?sort_field=name the results will be returned in ascending order by the user provided name for the datasets.

curl -X GET \
+		

VEuPathDB Dataset Installer v1.0.0

link

Resources

get /vdi-datasets

List Datasets  

Returns a list of datasets available to the requesting user, optionally filtered by query parameters.

Results are sorted by creation date in reverse order. This means the most recently created datasets will be first and the oldest dataset will be last in the list.

Parameters chevron_right expand_more

ParameterTypeDescription
Query
project_id Project IDstring

ID of the VEuPathDB project that results should be filtered to.

This means only datasets that are relevant to the project ID given will be returned.

Additionally, this controls the sites on which the dataset installation status will be checked. Meaning, if this parameter is specified and set to, for example, PlasmoDB, the status block in the response objects will only include installation status details for PlasmoDB and not any other sites that the dataset may have been installed into.

Inherits: string

ownership Dataset Ownership Filterstring

Ownership status filter.

Enum of:

  • any
  • owned
  • shared

If set to any the results are not filtered.

If set to owned, the results will be filtered to only results that are owned by the requesting user.

If set to shared, the results will be filtered to only results that are shared with the requesting user.

Default value: "any"

offset Result Offsetinteger

This many results will be skipped before the first result returned.

Used to implement result pagination.

limit Result Count Limitinteger

Limits the number of results returned to this count.

Used to implement result pagination.

Min. value: 1

Max. value: 100

Default value: 100

sort_field Sorting Fieldstring

Field used to sort the results of this endpoint.

Valid options are:

  • creation_timestamp
  • name

By default, results are sorted by creation_timestamp with a sort_order query param value of descending, however if the sort field is changed, then the default value of the sort_order query param will be ascending.

This means that given the URI {site}/vdi-datasets the results will be returned in descending order by the creation timestamp of the results.

However, given the URI {site}/vdi-datasets?sort_field=name the results will be returned in ascending order by the user provided name for the datasets.

Default value: "creation_timestamp"

sort_order* Sorting Orderstring

Sort ordering of the results of this endpoint.

Valid options are:

  • asc
  • desc

By default, results are sorted by the sort_field value "creation_timestamp" in "desc" order, however if the sort field is changed then the default value of this query parameter becomes "asc" by default.

This means that given the URI {site}/vdi-datasets the results will be returned in descending order by the creation timestamp of the results.

However, given the URI {site}/vdi-datasets?sort_field=name the results will be returned in ascending order by the user provided name for the datasets.

curl -X GET \
   undefined/vdi-datasets?ProjectID=<value>&ownership=<value>&offset=<value>&limit=<value>&sort_field=<value>&sort_order=<value>

200 OK chevron_right expand_more

Success.

This response means that all checks passed and zero or more dataset records were found for the requesting user.

application/json

application/json

ParameterTypeDescription
[] Dataset List Itemobject

Short entry with basic details about a dataset.

Inherits: object

[].datasetID* Dataset IDstring

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

[].owner* Owner Detailsobject

Details about the owner of a VDI dataset.

Inherits: lib.DatasetOwner

[].owner.userID* Owner User IDinteger

VEuPathDB user ID of the owner of the dataset.

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

[].owner.firstName Owner First Namestring
[].owner.lastName Owner Last Namestring
[].owner.email Owner Emailstring
[].owner.organization Owner Organizationstring
[].datasetType* Dataset Typeobject

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

[].datasetType.name* Type Namestring
[].datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

[].datasetType.version* Type Versionstring
[].visibility* Dataset Visibilitystring
Enum:
  • private
  • protected
  • public

Inherits: lib.DatasetVisibility

[].name* Dataset Namestring

User provided name for the dataset.

[].summary Dataset Summarystring

User provided summary of the dataset.

[].description Dataset Descriptionstring

User provided description of the dataset.

[].sourceUrl Source URLstring

URL of the dataset data source, if the dataset was uploaded via URL.

[].origin* Dataset Originstring

String representing the origin of the dataset. Examples include direct-upload, nephele, or galaxy.

[].projectIDs* Project IDsarray

Project IDs for projects the dataset record was submitted to.

[].projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

[].status* Status Infoobject

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

[].status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

[].status.installarray
[].status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

[].status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

[].status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

[].status.install[].metaMessagestring
[].status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

[].status.install[].dataMessagestring
[].shares* Shared Witharray
[].shares[]object

Inherits: object

[].shares[].userID*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

[].shares[].firstName*string
[].shares[].lastName*string
[].shares[].organization*string
[].shares[].accepted*boolean
[].fileCount* File Countinteger

Number of files uploaded for this dataset.

[].fileSizeTotal* File Size Totalinteger

Sum of the sizes of all the files uploaded for this dataset.

Format: int64

[].created* Creation Timestampdatetime

Timestamp of the creation of this dataset.

Response Body

[
   {
     "datasetID": "zaZqAAGLGJhBgg",
@@ -1341,7 +1341,9 @@
   "status": "server-error",
   "message": "Dataset store is unreachable",
   "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
-}

get /vdi-datasets/admin/list-broken

List Broken Installs  

Lists datasets that failed installation due to non-user error.

Parameters chevron_right expand_more

ParameterTypeDescription
Query
expanded Expanded Dataset Listboolean

Whether the returned broken dataset install list should be expanded to include additional details about each dataset or should be just a simple list of dataset IDs.

Default value: true

Headers chevron_right expand_more

ParameterTypeDescription
Admin-Token* Admin Auth Secret Keystring

Secret key used to authenticate admin endpoint requests.

curl -X GET \
+}

get /vdi-datasets/admin/failed-imports

List  

Lists datasets that failed to import.

Parameters chevron_right expand_more

ParameterTypeDescription
Query
user VEuPathDB User IDinteger

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: integer

beforestring

Filter results to only those records created before the given date-time value.

Examples:

  • 2023
  • 2023-10
  • 2023-10-02
  • 2023-10-02T17:10
  • 2023-10-02T17:10:00
  • 2023-10-02T17:10:00.000
  • 2023-10-02T17:10:00.000Z

If no timezone is provided, the service will assume its local zone.

afterstring

Filter results to only those records created after the given date-time value.

Examples:

  • 2023
  • 2023-10
  • 2023-10-02
  • 2023-10-02T17:10
  • 2023-10-02T17:10:00
  • 2023-10-02T17:10:00.000
  • 2023-10-02T17:10:00.000Z

If no timezone is provided, the service will assume its local zone.

limitinteger

Max. value: 250

Default value: 100

offsetinteger
sortstring

One of:

  • date

Default value: "date"

orderstring

One of:

  • asc
  • desc

Default value: "desc"

Headers chevron_right expand_more

ParameterTypeDescription
Admin-Token* Admin Auth Secret Keystring

Secret key used to authenticate admin endpoint requests.

curl -X GET \
+  -H "Admin-Token: <value>" \
+  undefined/vdi-datasets/admin/failed-imports?User-ID=<value>&before=<value>&after=<value>&limit=<value>&offset=<value>&sort=<value>&order=<value>

200 OK chevron_right expand_more

Broken Import Listing BrokenImportListing

application/json

Inherits: object

ParameterTypeDescription
meta*object

Inherits: lib.BrokenImportListingMeta

meta.count*integer
meta.beforestring
meta.afterstring
meta.userinteger

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

meta.limitinteger
meta.offsetinteger
results*array
results[] Broken Import Detailsobject

Inherits: lib.BrokenImportDetails

results[].datasetId*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

results[].owner*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

results[].datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

results[].datasetType.name* Type Namestring
results[].datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

results[].datasetType.version* Type Versionstring
results[].projectIds*array
results[].projectIds[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

results[].messages*array
results[].messages[]string

get /vdi-datasets/admin/list-broken

List Broken Installs  

Lists datasets that failed installation due to non-user error.

Parameters chevron_right expand_more

ParameterTypeDescription
Query
expanded Expanded Dataset Listboolean

Whether the returned broken dataset install list should be expanded to include additional details about each dataset or should be just a simple list of dataset IDs.

Default value: true

Headers chevron_right expand_more

ParameterTypeDescription
Admin-Token* Admin Auth Secret Keystring

Secret key used to authenticate admin endpoint requests.

curl -X GET \
   -H "Admin-Token: <value>" \
   undefined/vdi-datasets/admin/list-broken?expanded=<value>

200 OK chevron_right expand_more

Success.

Broken dataset install list successfully generated.

Broken Dataset Listing BrokenDatasetListing

application/json

Inherits: object

ParameterTypeDescription
detailsarray
details[] Broken Dataset Detailsobject

Inherits: lib.BrokenDatasetDetails

details[].datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

details[].owner*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

details[].datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

details[].datasetType.name* Type Namestring
details[].datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

details[].datasetType.version* Type Versionstring
details[].projectIDs*array
details[].projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

details[].status*object

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

details[].status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

details[].status.installarray
details[].status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

details[].status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

details[].status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

details[].status.install[].metaMessagestring
details[].status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

details[].status.install[].dataMessagestring
idsarray
ids[] VDI IDstring

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

401 Unauthorized chevron_right expand_more

Unauthorized

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: lib.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: lib.ErrorType

message*string

Response Body

{
   "status": "unauthorized",
@@ -1641,7 +1643,7 @@
   "message": "Datastore connection lost",
   "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
 }

get /metrics

 

Prometheus metrics for the service.

curl -X GET \
-  undefined/metrics

200 OK chevron_right expand_more

text/plain

text/plain

Security Schemes

Types

Type BrokenDatasetListing (object)

Broken Dataset Listing

Inherits: object

Model

ParameterTypeDescription
detailsarray
details[] Broken Dataset Detailsobject

Inherits: lib.BrokenDatasetDetails

details[].datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

details[].owner*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

details[].datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

details[].datasetType.name* Type Namestring
details[].datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

details[].datasetType.version* Type Versionstring
details[].projectIDs*array
details[].projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

details[].status*object

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

details[].status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

details[].status.installarray
details[].status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

details[].status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

details[].status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

details[].status.install[].metaMessagestring
details[].status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

details[].status.install[].dataMessagestring
idsarray
ids[] VDI IDstring

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

Type BrokenDatasetDetails (object)

Broken Dataset Details

Inherits: object

Model

ParameterTypeDescription
datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

owner*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

datasetType.name* Type Namestring
datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

datasetType.version* Type Versionstring
projectIDs*array
projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status*object

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

status.installarray
status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].metaMessagestring
status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].dataMessagestring

Type InstallCleanupRequest (object)

Install Cleanup Request

Object controlling the install cleanup process and what datasets it should target.

Requesters should specify one of the fields all or targets to control what datasets will be cleaned up. If neither is specified the endpoint will do nothing.

Inherits: object

Model

ParameterTypeDescription
allboolean
targetsarray

Unique items: Yes

targets[] Install Cleanup Targetobject

Inherits: lib.InstallCleanupTarget

targets[].datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

targets[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

Type InstallCleanupTarget (object)

Install Cleanup Target

Inherits: object

Model

ParameterTypeDescription
datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

Type DatasetListShareUser (object)

DatasetListShareUser

Inherits: object

Model

ParameterTypeDescription
userID*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

firstName*string
lastName*string
organization*string
accepted*boolean

Type DatasetListEntry (object)

Dataset List Item

Short entry with basic details about a dataset.

Inherits: object

Model

ParameterTypeDescription
datasetID* Dataset IDstring

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

owner* Owner Detailsobject

Details about the owner of a VDI dataset.

Inherits: lib.DatasetOwner

owner.userID* Owner User IDinteger

VEuPathDB user ID of the owner of the dataset.

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

owner.firstName Owner First Namestring
owner.lastName Owner Last Namestring
owner.email Owner Emailstring
owner.organization Owner Organizationstring
datasetType* Dataset Typeobject

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

datasetType.name* Type Namestring
datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

datasetType.version* Type Versionstring
visibility* Dataset Visibilitystring
Enum:
  • private
  • protected
  • public

Inherits: lib.DatasetVisibility

name* Dataset Namestring

User provided name for the dataset.

summary Dataset Summarystring

User provided summary of the dataset.

description Dataset Descriptionstring

User provided description of the dataset.

sourceUrl Source URLstring

URL of the dataset data source, if the dataset was uploaded via URL.

origin* Dataset Originstring

String representing the origin of the dataset. Examples include direct-upload, nephele, or galaxy.

projectIDs* Project IDsarray

Project IDs for projects the dataset record was submitted to.

projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status* Status Infoobject

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

status.installarray
status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].metaMessagestring
status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].dataMessagestring
shares* Shared Witharray
shares[]object

Inherits: object

shares[].userID*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

shares[].firstName*string
shares[].lastName*string
shares[].organization*string
shares[].accepted*boolean
fileCount* File Countinteger

Number of files uploaded for this dataset.

fileSizeTotal* File Size Totalinteger

Sum of the sizes of all the files uploaded for this dataset.

Format: int64

created* Creation Timestampdatetime

Timestamp of the creation of this dataset.

Type DatasetPostRequest (object)

Dataset Post Request

HTTP POST request body requesting the creation of a dataset from the components included in the request.

For a request to be considered valid, it must contain exactly 1 of the optional parameters file or url. If a request body contains both a file and a url field value, the service will return a 400 error.

Inherits: object

Model

ParameterTypeDescription
meta* Dataset Metaobject

Metadata about the dataset being submitted.

Inherits: lib.DatasetPostMeta

meta.datasetType* Dataset Typeobject

Type of the dataset that is being uploaded.

Inherits: lib.DatasetPostType

meta.datasetType.name*string
meta.datasetType.version*string
meta.name* Dataset Namestring

User provided name for the dataset.

meta.visibility Dataset Visibilitystring

Default value: "private"

Enum:
  • private
  • protected
  • public

Inherits: lib.DatasetVisibility

meta.summary Dataset Summarystring

User provided summary for the dataset.

meta.description Dataset Descriptionstring

User provided description for the dataset.

meta.origin* Dataset Originstring

String representing the origin of the dataset. Examples include direct-upload, nephele, or galaxy.

meta.projects* Project IDsarray

IDs of the projects this dataset is being submitted to.

meta.projects[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

meta.dependencies* Dataset Dependenciesarray
meta.dependencies[]object

Inherits: lib.DatasetDependency

meta.dependencies[].resourceIdentifier*string
meta.dependencies[].resourceDisplayName*string
meta.dependencies[].resourceVersion*string
file Dataset Filefile

Dataset file to upload.

This field is incompatible with the url field.

url Dataset URLstring

URL to a dataset file to upload.

This field is incompatible with the file field.

Type DatasetPostMeta (object)

DatasetPostMeta

Inherits: object

Model

ParameterTypeDescription
datasetType* Dataset Typeobject

Type of the dataset that is being uploaded.

Inherits: lib.DatasetPostType

datasetType.name*string
datasetType.version*string
name* Dataset Namestring

User provided name for the dataset.

visibility Dataset Visibilitystring

Default value: "private"

Enum:
  • private
  • protected
  • public

Inherits: lib.DatasetVisibility

summary Dataset Summarystring

User provided summary for the dataset.

description Dataset Descriptionstring

User provided description for the dataset.

origin* Dataset Originstring

String representing the origin of the dataset. Examples include direct-upload, nephele, or galaxy.

projects* Project IDsarray

IDs of the projects this dataset is being submitted to.

projects[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

dependencies* Dataset Dependenciesarray
dependencies[]object

Inherits: lib.DatasetDependency

dependencies[].resourceIdentifier*string
dependencies[].resourceDisplayName*string
dependencies[].resourceVersion*string

Type DatasetPostType (object)

DatasetPostType

Inherits: object

Model

ParameterTypeDescription
name*string
version*string

Type DatasetDependency (object)

DatasetDependency

Inherits: object

Model

ParameterTypeDescription
resourceIdentifier*string
resourceDisplayName*string
resourceVersion*string

Type DatasetPostResponse (object)

Dataset Upload Response

Response object returned on successful upload of a dataset.

Note that this response does not mean the uploaded dataset has been made available on the target site(s). The upload must first be processed and installed into the target sites before the dataset will become available for use.

Inherits: object

Model

ParameterTypeDescription
datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

Type ShareOfferEntry (object)

Share Offer

Inherits: object

Model

ParameterTypeDescription
datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

owner*object

Details about the owner of a VDI dataset.

Inherits: lib.DatasetOwner

owner.userID* Owner User IDinteger

VEuPathDB user ID of the owner of the dataset.

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

owner.firstName Owner First Namestring
owner.lastName Owner Last Namestring
owner.email Owner Emailstring
owner.organization Owner Organizationstring
shareStatus*string
Enum:
  • open
  • accepted
  • rejected

Inherits: lib.ShareOfferStatus

datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

datasetType.name* Type Namestring
datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

datasetType.version* Type Versionstring
projectIDs*array
projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

Type ShareOfferStatus (string)

Share Offer Status
Enum:
  • open
  • accepted
  • rejected

Inherits: string

Type DatasetFileListing (object)

Dataset File Listing

Inherits: object

Model

ParameterTypeDescription
uploadFiles*array
uploadFiles[] Dataset File Detailsobject

Inherits: lib.DatasetFileDetails

uploadFiles[].name* File Namestring
uploadFiles[].size* File Sizeinteger

Size of the file in bytes.

Format: int64

dataFiles*array
dataFiles[] Dataset File Detailsobject

Inherits: lib.DatasetFileDetails

dataFiles[].name* File Namestring
dataFiles[].size* File Sizeinteger

Size of the file in bytes.

Format: int64

Type DatasetFileDetails (object)

Dataset File Details

Inherits: object

Model

ParameterTypeDescription
name* File Namestring
size* File Sizeinteger

Size of the file in bytes.

Format: int64

Type DatasetDetails (object)

Dataset Details

Details about a specific singular dataset.

Inherits: object

Model

ParameterTypeDescription
datasetID* Dataset IDstring

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

owner* Owner Detailsobject

Details about the owner of a VDI dataset.

Inherits: lib.DatasetOwner

owner.userID* Owner User IDinteger

VEuPathDB user ID of the owner of the dataset.

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

owner.firstName Owner First Namestring
owner.lastName Owner Last Namestring
owner.email Owner Emailstring
owner.organization Owner Organizationstring
datasetType* Dataset Type Infoobject

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

datasetType.name* Type Namestring
datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

datasetType.version* Type Versionstring
name* Dataset Namestring
summary Dataset Summarystring
description Dataset Descriptionstring
sourceUrl Source URLstring

URL of the dataset data source, if the dataset was uploaded via URL.

origin* Dataset Originstring

String representing the origin of the dataset. Examples include direct-upload, nephele, or galaxy.

projectIDs* Project IDsarray

Project IDs for projects the user dataset record was submitted to.

projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

visibility* Dataset Visibilitystring
Enum:
  • private
  • protected
  • public

Inherits: lib.DatasetVisibility

importMessages Import Messagesarray

Log lines from the import process.

These messages will be warnings and/or validation errors.

Default value: []

importMessages[]string
status* Dataset Status Infoobject

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

status.installarray
status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].metaMessagestring
status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].dataMessagestring
shares Sharesarray

Array of share offers that have been created by the owner of this dataset to share it with other users.

shares[] Share Offerobject

Inherits: lib.ShareOffer

shares[].recipient*object

I AM A UNION!

Inherits: lib.ShareOfferRecipient

shares[].recipient.firstName First Namestring
shares[].recipient.lastName Last Namestring
shares[].recipient.organization Organizationstring
shares[].recipient.email Emailstring
shares[].status*string
Enum:
  • grant
  • revoke

Inherits: lib.ShareOfferAction

files* Filesarray

List of files uploaded to the dataset import service.

files[] File Summaryobject

Inherits: lib.FileSummary

files[].name*string
files[].size*integer

Format: int64

created* Creation Timestampdatetime

Timestamp for when this dataset was created.

Type FileSummary (object)

File Summary

Inherits: object

Model

ParameterTypeDescription
name*string
size*integer

Format: int64

Type ShareOffer (object)

Share Offer

Inherits: object

Model

ParameterTypeDescription
recipient*object

I AM A UNION!

Inherits: lib.ShareOfferRecipient

recipient.firstName First Namestring
recipient.lastName Last Namestring
recipient.organization Organizationstring
recipient.email Emailstring
status*string
Enum:
  • grant
  • revoke

Inherits: lib.ShareOfferAction

Examples

{
+  undefined/metrics

200 OK chevron_right expand_more

text/plain

text/plain

Security Schemes

Types

Type BrokenDatasetListing (object)

Broken Dataset Listing

Inherits: object

Model

ParameterTypeDescription
detailsarray
details[] Broken Dataset Detailsobject

Inherits: lib.BrokenDatasetDetails

details[].datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

details[].owner*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

details[].datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

details[].datasetType.name* Type Namestring
details[].datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

details[].datasetType.version* Type Versionstring
details[].projectIDs*array
details[].projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

details[].status*object

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

details[].status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

details[].status.installarray
details[].status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

details[].status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

details[].status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

details[].status.install[].metaMessagestring
details[].status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

details[].status.install[].dataMessagestring
idsarray
ids[] VDI IDstring

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

Type BrokenDatasetDetails (object)

Broken Dataset Details

Inherits: object

Model

ParameterTypeDescription
datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

owner*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

datasetType.name* Type Namestring
datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

datasetType.version* Type Versionstring
projectIDs*array
projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status*object

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

status.installarray
status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].metaMessagestring
status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].dataMessagestring

Type BrokenImportListing (object)

Broken Import Listing

Inherits: object

Model

ParameterTypeDescription
meta*object

Inherits: lib.BrokenImportListingMeta

meta.count*integer
meta.beforestring
meta.afterstring
meta.userinteger

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

meta.limitinteger
meta.offsetinteger
results*array
results[] Broken Import Detailsobject

Inherits: lib.BrokenImportDetails

results[].datasetId*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

results[].owner*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

results[].datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

results[].datasetType.name* Type Namestring
results[].datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

results[].datasetType.version* Type Versionstring
results[].projectIds*array
results[].projectIds[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

results[].messages*array
results[].messages[]string

Type BrokenImportListingMeta (object)

BrokenImportListingMeta

Inherits: object

Model

ParameterTypeDescription
count*integer
beforestring
afterstring
userinteger

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

limitinteger
offsetinteger

Type BrokenImportDetails (object)

Broken Import Details

Inherits: object

Model

ParameterTypeDescription
datasetId*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

owner*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

datasetType.name* Type Namestring
datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

datasetType.version* Type Versionstring
projectIds*array
projectIds[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

messages*array
messages[]string

Type InstallCleanupRequest (object)

Install Cleanup Request

Object controlling the install cleanup process and what datasets it should target.

Requesters should specify one of the fields all or targets to control what datasets will be cleaned up. If neither is specified the endpoint will do nothing.

Inherits: object

Model

ParameterTypeDescription
allboolean
targetsarray

Unique items: Yes

targets[] Install Cleanup Targetobject

Inherits: lib.InstallCleanupTarget

targets[].datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

targets[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

Type InstallCleanupTarget (object)

Install Cleanup Target

Inherits: object

Model

ParameterTypeDescription
datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

Type DatasetListShareUser (object)

DatasetListShareUser

Inherits: object

Model

ParameterTypeDescription
userID*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

firstName*string
lastName*string
organization*string
accepted*boolean

Type DatasetListEntry (object)

Dataset List Item

Short entry with basic details about a dataset.

Inherits: object

Model

ParameterTypeDescription
datasetID* Dataset IDstring

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

owner* Owner Detailsobject

Details about the owner of a VDI dataset.

Inherits: lib.DatasetOwner

owner.userID* Owner User IDinteger

VEuPathDB user ID of the owner of the dataset.

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

owner.firstName Owner First Namestring
owner.lastName Owner Last Namestring
owner.email Owner Emailstring
owner.organization Owner Organizationstring
datasetType* Dataset Typeobject

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

datasetType.name* Type Namestring
datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

datasetType.version* Type Versionstring
visibility* Dataset Visibilitystring
Enum:
  • private
  • protected
  • public

Inherits: lib.DatasetVisibility

name* Dataset Namestring

User provided name for the dataset.

summary Dataset Summarystring

User provided summary of the dataset.

description Dataset Descriptionstring

User provided description of the dataset.

sourceUrl Source URLstring

URL of the dataset data source, if the dataset was uploaded via URL.

origin* Dataset Originstring

String representing the origin of the dataset. Examples include direct-upload, nephele, or galaxy.

projectIDs* Project IDsarray

Project IDs for projects the dataset record was submitted to.

projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status* Status Infoobject

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

status.installarray
status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].metaMessagestring
status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].dataMessagestring
shares* Shared Witharray
shares[]object

Inherits: object

shares[].userID*integer

Unique user identifier

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

shares[].firstName*string
shares[].lastName*string
shares[].organization*string
shares[].accepted*boolean
fileCount* File Countinteger

Number of files uploaded for this dataset.

fileSizeTotal* File Size Totalinteger

Sum of the sizes of all the files uploaded for this dataset.

Format: int64

created* Creation Timestampdatetime

Timestamp of the creation of this dataset.

Type DatasetPostRequest (object)

Dataset Post Request

HTTP POST request body requesting the creation of a dataset from the components included in the request.

For a request to be considered valid, it must contain exactly 1 of the optional parameters file or url. If a request body contains both a file and a url field value, the service will return a 400 error.

Inherits: object

Model

ParameterTypeDescription
meta* Dataset Metaobject

Metadata about the dataset being submitted.

Inherits: lib.DatasetPostMeta

meta.datasetType* Dataset Typeobject

Type of the dataset that is being uploaded.

Inherits: lib.DatasetPostType

meta.datasetType.name*string
meta.datasetType.version*string
meta.name* Dataset Namestring

User provided name for the dataset.

meta.visibility Dataset Visibilitystring

Default value: "private"

Enum:
  • private
  • protected
  • public

Inherits: lib.DatasetVisibility

meta.summary Dataset Summarystring

User provided summary for the dataset.

meta.description Dataset Descriptionstring

User provided description for the dataset.

meta.origin* Dataset Originstring

String representing the origin of the dataset. Examples include direct-upload, nephele, or galaxy.

meta.projects* Project IDsarray

IDs of the projects this dataset is being submitted to.

meta.projects[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

meta.dependencies* Dataset Dependenciesarray
meta.dependencies[]object

Inherits: lib.DatasetDependency

meta.dependencies[].resourceIdentifier*string
meta.dependencies[].resourceDisplayName*string
meta.dependencies[].resourceVersion*string
file Dataset Filefile

Dataset file to upload.

This field is incompatible with the url field.

url Dataset URLstring

URL to a dataset file to upload.

This field is incompatible with the file field.

Type DatasetPostMeta (object)

DatasetPostMeta

Inherits: object

Model

ParameterTypeDescription
datasetType* Dataset Typeobject

Type of the dataset that is being uploaded.

Inherits: lib.DatasetPostType

datasetType.name*string
datasetType.version*string
name* Dataset Namestring

User provided name for the dataset.

visibility Dataset Visibilitystring

Default value: "private"

Enum:
  • private
  • protected
  • public

Inherits: lib.DatasetVisibility

summary Dataset Summarystring

User provided summary for the dataset.

description Dataset Descriptionstring

User provided description for the dataset.

origin* Dataset Originstring

String representing the origin of the dataset. Examples include direct-upload, nephele, or galaxy.

projects* Project IDsarray

IDs of the projects this dataset is being submitted to.

projects[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

dependencies* Dataset Dependenciesarray
dependencies[]object

Inherits: lib.DatasetDependency

dependencies[].resourceIdentifier*string
dependencies[].resourceDisplayName*string
dependencies[].resourceVersion*string

Type DatasetPostType (object)

DatasetPostType

Inherits: object

Model

ParameterTypeDescription
name*string
version*string

Type DatasetDependency (object)

DatasetDependency

Inherits: object

Model

ParameterTypeDescription
resourceIdentifier*string
resourceDisplayName*string
resourceVersion*string

Type DatasetPostResponse (object)

Dataset Upload Response

Response object returned on successful upload of a dataset.

Note that this response does not mean the uploaded dataset has been made available on the target site(s). The upload must first be processed and installed into the target sites before the dataset will become available for use.

Inherits: object

Model

ParameterTypeDescription
datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

Type ShareOfferEntry (object)

Share Offer

Inherits: object

Model

ParameterTypeDescription
datasetID*string

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

owner*object

Details about the owner of a VDI dataset.

Inherits: lib.DatasetOwner

owner.userID* Owner User IDinteger

VEuPathDB user ID of the owner of the dataset.

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

owner.firstName Owner First Namestring
owner.lastName Owner Last Namestring
owner.email Owner Emailstring
owner.organization Owner Organizationstring
shareStatus*string
Enum:
  • open
  • accepted
  • rejected

Inherits: lib.ShareOfferStatus

datasetType*object

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

datasetType.name* Type Namestring
datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

datasetType.version* Type Versionstring
projectIDs*array
projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

Type ShareOfferStatus (string)

Share Offer Status
Enum:
  • open
  • accepted
  • rejected

Inherits: string

Type DatasetFileListing (object)

Dataset File Listing

Inherits: object

Model

ParameterTypeDescription
uploadFiles*array
uploadFiles[] Dataset File Detailsobject

Inherits: lib.DatasetFileDetails

uploadFiles[].name* File Namestring
uploadFiles[].size* File Sizeinteger

Size of the file in bytes.

Format: int64

dataFiles*array
dataFiles[] Dataset File Detailsobject

Inherits: lib.DatasetFileDetails

dataFiles[].name* File Namestring
dataFiles[].size* File Sizeinteger

Size of the file in bytes.

Format: int64

Type DatasetFileDetails (object)

Dataset File Details

Inherits: object

Model

ParameterTypeDescription
name* File Namestring
size* File Sizeinteger

Size of the file in bytes.

Format: int64

Type DatasetDetails (object)

Dataset Details

Details about a specific singular dataset.

Inherits: object

Model

ParameterTypeDescription
datasetID* Dataset IDstring

Unique VDI Dataset identifier string.

Pattern: ^[a-zA-Z0-9_-]{14}$

Min. length: 14

Max. length: 14

Inherits: lib.VDI-ID

owner* Owner Detailsobject

Details about the owner of a VDI dataset.

Inherits: lib.DatasetOwner

owner.userID* Owner User IDinteger

VEuPathDB user ID of the owner of the dataset.

Min. value: 1

Max. value: 9223372036854776000

Format: int64

Inherits: lib.User-ID

owner.firstName Owner First Namestring
owner.lastName Owner Last Namestring
owner.email Owner Emailstring
owner.organization Owner Organizationstring
datasetType* Dataset Type Infoobject

Information about a specific dataset type.

Inherits: lib.DatasetTypeInfo

datasetType.name* Type Namestring
datasetType.displayName Type Display Namestring

Display name for the type. This field is ignored in requests and will always be present in responses.

datasetType.version* Type Versionstring
name* Dataset Namestring
summary Dataset Summarystring
description Dataset Descriptionstring
sourceUrl Source URLstring

URL of the dataset data source, if the dataset was uploaded via URL.

origin* Dataset Originstring

String representing the origin of the dataset. Examples include direct-upload, nephele, or galaxy.

projectIDs* Project IDsarray

Project IDs for projects the user dataset record was submitted to.

projectIDs[] Project IDstring

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

visibility* Dataset Visibilitystring
Enum:
  • private
  • protected
  • public

Inherits: lib.DatasetVisibility

importMessages Import Messagesarray

Log lines from the import process.

These messages will be warnings and/or validation errors.

Default value: []

importMessages[]string
status* Dataset Status Infoobject

Information about the import and install status of a dataset.

Inherits: lib.DatasetStatusInfo

status.import*string

Import status of the dataset.

ValueDescription
queuedThe dataset has not yet been processed and is waiting in the queue.
in-progressThe dataset is currently being import processed.
completeThe dataset has been processed and imported for installation.
invalidThe dataset failed import validation.
failedThe dataset import failed due to an internal server error.
Enum:
  • queued
  • in-progress
  • complete
  • invalid
  • failed

Inherits: lib.DatasetImportStatus

status.installarray
status.install[] Dataset Install Status Entryobject

Entry in a list of install statuses for a dataset.

Inherits: lib.DatasetInstallStatusEntry

status.install[].projectID*string

Name or ID of a target VEuPathDB project.

Valid project IDs are:

  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.ProjectID

status.install[].metaStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].metaMessagestring
status.install[].dataStatusstring
Enum:
  • running
  • complete
  • failed-validation
  • failed-installation
  • ready-for-reinstall
  • missing-dependency

Inherits: lib.DatasetInstallStatus

status.install[].dataMessagestring
shares Sharesarray

Array of share offers that have been created by the owner of this dataset to share it with other users.

shares[] Share Offerobject

Inherits: lib.ShareOffer

shares[].recipient*object

I AM A UNION!

Inherits: lib.ShareOfferRecipient

shares[].recipient.firstName First Namestring
shares[].recipient.lastName Last Namestring
shares[].recipient.organization Organizationstring
shares[].recipient.email Emailstring
shares[].status*string
Enum:
  • grant
  • revoke

Inherits: lib.ShareOfferAction

files* Filesarray

List of files uploaded to the dataset import service.

files[] File Summaryobject

Inherits: lib.FileSummary

files[].name*string
files[].size*integer

Format: int64

created* Creation Timestampdatetime

Timestamp for when this dataset was created.

Type FileSummary (object)

File Summary

Inherits: object

Model

ParameterTypeDescription
name*string
size*integer

Format: int64

Type ShareOffer (object)

Share Offer

Inherits: object

Model

ParameterTypeDescription
recipient*object

I AM A UNION!

Inherits: lib.ShareOfferRecipient

recipient.firstName First Namestring
recipient.lastName Last Namestring
recipient.organization Organizationstring
recipient.email Emailstring
status*string
Enum:
  • grant
  • revoke

Inherits: lib.ShareOfferAction

Examples

{
   "recipient": {
     "firstName": "Joe",
     "lastName": "User",